PCI Support Library

pci_bus_max_busnr — returns maximum PCI bus number of given bus' children
pci_find_capability — query for devices' capabilities
pci_bus_find_capability — query for devices' capabilities
pci_find_ext_capability — Find an extended capability
pci_find_next_ht_capability — query a device's Hypertransport capabilities
pci_find_ht_capability — query a device's Hypertransport capabilities
pci_find_parent_resource — return resource region of parent bus of given region
__pci_complete_power_transition — Complete power transition of a PCI device
pci_set_power_state — Set the power state of a PCI device
pci_choose_state — Choose the power state of a PCI device
pci_save_state — save the PCI configuration space of a device before suspending
pci_restore_state — Restore the saved state of a PCI device
pci_store_saved_state — Allocate and return an opaque struct containing the device saved state.
pci_load_saved_state — Reload the provided save state into struct pci_dev.
pci_load_and_free_saved_state — Reload the save state pointed to by state, and free the memory allocated for it.
pci_reenable_device — Resume abandoned device
pci_enable_device_io — Initialize a device for use with IO space
pci_enable_device_mem — Initialize a device for use with Memory space
pci_enable_device — Initialize device before it's used by a driver.
pcim_enable_device — Managed pci_enable_device
pcim_pin_device — Pin managed PCI device
pci_disable_device — Disable PCI device after use
pci_set_pcie_reset_state — set reset state for device dev
pci_pme_capable — check the capability of PCI device to generate PME#
pci_pme_active — enable or disable PCI device's PME# function
__pci_enable_wake — enable PCI device as wakeup event source
pci_wake_from_d3 — enable/disable device to wake up from D3_hot or D3_cold
pci_target_state — find an appropriate low power state for a given PCI dev
pci_prepare_to_sleep — prepare PCI device for system-wide transition into a sleep state
pci_back_from_sleep — turn PCI device on during system-wide transition into working state
pci_dev_run_wake — Check if device can generate run-time wake-up events.
pci_enable_ido — enable ID-based ordering on a device
pci_disable_ido — disable ID-based ordering on a device
pci_enable_obff — enable optimized buffer flush/fill
pci_disable_obff — disable optimized buffer flush/fill
pci_ltr_supported — check whether a device supports LTR
pci_enable_ltr — enable latency tolerance reporting
pci_disable_ltr — disable latency tolerance reporting
pci_set_ltr — set LTR latency values
pci_release_region — Release a PCI bar
pci_request_region — Reserve PCI I/O and memory resource
pci_request_region_exclusive — Reserved PCI I/O and memory resource
pci_release_selected_regions — Release selected PCI I/O and memory resources
pci_request_selected_regions — Reserve selected PCI I/O and memory resources
pci_release_regions — Release reserved PCI I/O and memory resources
pci_request_regions — Reserved PCI I/O and memory resources
pci_request_regions_exclusive — Reserved PCI I/O and memory resources
pci_set_master — enables bus-mastering for device dev
pci_clear_master — disables bus-mastering for device dev
pci_set_cacheline_size — ensure the CACHE_LINE_SIZE register is programmed
pci_set_mwi — enables memory-write-invalidate PCI transaction
pci_try_set_mwi — enables memory-write-invalidate PCI transaction
pci_clear_mwi — disables Memory-Write-Invalidate for device dev
pci_intx — enables/disables PCI INTx for device dev
pci_msi_off — disables any msi or msix capabilities
__pci_reset_function — reset a PCI device function
pci_reset_function — quiesce and reset a PCI device function
pcix_get_max_mmrbc — get PCI-X maximum designed memory read byte count
pcix_get_mmrbc — get PCI-X maximum memory read byte count
pcix_set_mmrbc — set PCI-X maximum memory read byte count
pcie_get_readrq — get PCI Express read request size
pcie_set_readrq — set PCI Express maximum memory read request
pci_select_bars — Make BAR mask from the type of resource
pci_add_dynid — add a new PCI device ID to this driver and re-probe devices
pci_match_id — See if a pci device matches a given pci_id table
__pci_register_driver — register a new pci driver
pci_unregister_driver — unregister a pci driver
pci_dev_driver — get the pci_driver of a device
pci_dev_get — increments the reference count of the pci device structure
pci_dev_put — release a use of the pci device structure
pci_remove_bus_device — remove a PCI device and any children
pci_remove_behind_bridge — remove all devices behind a PCI bridge
pci_stop_bus_device — stop a PCI device and any children
pci_find_bus — locate PCI bus from a given domain and bus number
pci_find_next_bus — begin or continue searching for a PCI bus
pci_get_slot — locate PCI device for a given PCI slot
pci_get_domain_bus_and_slot — locate PCI device for a given PCI domain (segment), bus, and slot
pci_get_subsys — begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id
pci_get_device — begin or continue searching for a PCI device by vendor/device id
pci_get_class — begin or continue searching for a PCI device by class
pci_dev_present — Returns 1 if device matching the device list is present, 0 if not.
pci_enable_msi_block — configure device's MSI capability structure
pci_enable_msix — configure device's MSI-X capability structure
pci_msi_enabled — is MSI enabled?
pci_bus_alloc_resource — allocate a resource from a parent bus
pci_bus_add_device — add a single device
pci_bus_add_devices — insert newly discovered PCI devices
pci_bus_set_ops — Set raw operations of pci bus
pci_read_vpd — Read one entry from Vital Product Data
pci_write_vpd — Write entry to Vital Product Data
pci_vpd_truncate — Set available Vital Product Data size
pci_block_user_cfg_access — Block userspace PCI config reads/writes
pci_unblock_user_cfg_access — Unblock userspace PCI config reads/writes
pci_lost_interrupt — reports a lost PCI interrupt
__ht_create_irq — create an irq and attach it to a device.
ht_create_irq — create an irq and attach it to a device.
ht_destroy_irq — destroy an irq created with ht_create_irq
pci_scan_slot — scan a PCI slot on a bus for devices.
pci_rescan_bus — scan a PCI bus for devices.
pci_create_slot — create or increment refcount for physical PCI slot
pci_renumber_slot — update struct pci_slot -> number
pci_destroy_slot — decrement refcount for physical PCI slot
pci_hp_create_module_link — create symbolic link to the hotplug driver module.
pci_hp_remove_module_link — remove symbolic link to the hotplug driver module.
pci_enable_rom — enable ROM decoding for a PCI device
pci_disable_rom — disable ROM decoding for a PCI device
pci_map_rom — map a PCI ROM to kernel space
pci_unmap_rom — unmap the ROM from kernel space
pci_enable_sriov — enable the SR-IOV capability
pci_disable_sriov — disable the SR-IOV capability
pci_sriov_migration — notify SR-IOV core of Virtual Function Migration
pci_num_vf — return number of VFs associated with a PF device_release_driver
pci_read_legacy_io — read byte(s) from legacy I/O port space
pci_write_legacy_io — write byte(s) to legacy I/O port space
pci_mmap_legacy_mem — map legacy PCI memory into user memory space
pci_mmap_legacy_io — map legacy PCI IO into user memory space
pci_adjust_legacy_attr — adjustment of legacy file attributes
pci_create_legacy_files — create legacy I/O port and memory files
pci_mmap_resource — map a PCI resource into user memory space
pci_remove_resource_files — cleanup resource files
pci_create_resource_files — create resource files in sysfs for dev
pci_write_rom — used to enable access to the PCI ROM display
pci_read_rom — read a PCI ROM
pci_remove_sysfs_dev_files — cleanup PCI specific sysfs files