Searched refs:pbus (Results 1 – 3 of 3) sorted by relevance
/include/linux/ |
D | pci-acpi.h | 34 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle() local 37 while (!pci_is_root_bus(pbus)) in acpi_find_root_bridge_handle() 38 pbus = pbus->parent; in acpi_find_root_bridge_handle() 40 return ACPI_HANDLE(pbus->bridge); in acpi_find_root_bridge_handle() 43 static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) in acpi_pci_get_bridge_handle() argument 47 if (pci_is_root_bus(pbus)) in acpi_pci_get_bridge_handle() 48 dev = pbus->bridge; in acpi_pci_get_bridge_handle() 51 if (!pbus->self) in acpi_pci_get_bridge_handle() 54 dev = &pbus->self->dev; in acpi_pci_get_bridge_handle()
|
D | pci_hotplug.h | 73 int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr, 86 #define pci_hp_register(slot, pbus, devnr, name) \ argument 87 __pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME) 96 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
|
D | pci.h | 713 static inline bool pci_is_root_bus(struct pci_bus *pbus) in pci_is_root_bus() argument 715 return !(pbus->parent); in pci_is_root_bus()
|