PCI Support Library
Prev
Chapter 10. Hardware Interfaces
Next
PCI Support Library
Table of Contents
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_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_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_enable_wake
- enable PCI device as wakeup event source
pci_release_region
- Release a PCI bar
pci_request_region
- 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_set_master
- enables bus-mastering for device dev
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
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_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_osc_control_set
- commit requested control to Firmware
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_find_slot
- locate PCI device from a given PCI slot
pci_find_device
- begin or continue searching for a PCI device by vendor/device id
pci_get_slot
- locate PCI device for a given PCI slot
pci_get_bus_and_slot
- locate PCI device from a given PCI bus & 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
- configure device's MSI capability structure
pci_enable_msix
- configure device's MSI-X capability structure
pci_bus_alloc_resource
- allocate a resource from a parent bus
pci_bus_add_device
-
pci_bus_add_devices
- insert newly discovered PCI devices
pci_scan_slot
- scan a PCI slot on a bus for devices.
pci_map_rom
- map a PCI ROM to kernel space
pci_unmap_rom
- unmap the ROM from kernel space