pci_find_bus (9) - Linux Manuals
pci_find_bus: locate PCI bus from a given domain and bus number
pci_find_bus - locate PCI bus from a given domain and bus number
struct pci_bus * pci_find_bus(int
domain, int busnr);
- number of PCI domain to search
- number of desired PCI bus
Given a PCI bus number and domain number, the desired PCI bus is located in the global list of PCI buses. If the bus is found, a pointer to its data structure is returned. If no bus is found, NULL is returned.