Lines Matching defs:bus
47 void pci_remove_bus(struct pci_bus *bus)
49 pci_proc_detach_bus(bus);
52 list_del(&bus->node);
53 pci_bus_release_busn_res(bus);
55 pci_remove_legacy_files(bus);
57 if (bus->ops->remove_bus)
58 bus->ops->remove_bus(bus);
60 pcibios_remove_bus(bus);
61 device_unregister(&bus->dev);
67 struct pci_bus *bus = dev->subordinate;
72 * which will update the bus->devices list and confuse the
76 if (bus) {
78 &bus->devices, bus_list)
87 struct pci_bus *bus = dev->subordinate;
90 if (bus) {
92 &bus->devices, bus_list)
95 pci_remove_bus(bus);
129 void pci_stop_root_bus(struct pci_bus *bus)
134 if (!pci_is_root_bus(bus))
137 host_bridge = to_pci_host_bridge(bus->bridge);
139 &bus->devices, bus_list)
147 void pci_remove_root_bus(struct pci_bus *bus)
152 if (!pci_is_root_bus(bus))
155 host_bridge = to_pci_host_bridge(bus->bridge);
157 &bus->devices, bus_list)
159 pci_remove_bus(bus);
160 host_bridge->bus = NULL;