10.3. PCI Support Library

Table of Contents
pci_find_slot --  locate PCI device from a given PCI slot
pci_find_subsys --  begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id
pci_find_device --  begin or continue searching for a PCI device by vendor/device id
pci_find_class --  begin or continue searching for a PCI device by class
pci_find_capability --  query for devices' 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_save_state --  save the PCI configuration space of a device before suspending
pci_restore_state --  Restore the saved state of a PCI device
pci_enable_device_bars --  Initialize some of a device for use
pci_enable_device --  Initialize device before it's used by a driver.
pci_disable_device --  Disable PCI device after use
pci_enable_wake --  enable device to generate PME# when suspended
pci_release_region --  Release a PCI bar
pci_request_region --  Reserved PCI I/O and memory resource
pci_release_regions --  Release reserved PCI I/O and memory resources
pci_request_regions --  Reserved PCI I/O and memory resources
pci_match_device --  Tell if a PCI device structure has a matching PCI device id structure
pci_register_driver --  register a new pci driver
pci_unregister_driver --  unregister a pci driver
pci_announce_device_to_drivers --  tell the drivers a new device has appeared
pci_insert_device --  insert a hotplug device
pci_remove_device --  remove a hotplug device
pci_dev_driver --  get the pci_driver of a device
pci_set_master --  enables bus-mastering for device dev
pci_set_mwi --  enables memory-write-invalidate PCI transaction
pci_clear_mwi --  disables Memory-Write-Invalidate for device dev
pci_setup_device --  fill in class and map information of a device
pci_pool_create --  Creates a pool of pci consistent memory blocks, for dma.
pci_pool_destroy --  destroys a pool of pci memory blocks.
pci_pool_alloc --  get a block of consistent memory
pci_pool_free --  put block back into pci pool