Lines Matching defs:bus
49 void pci_remove_bus(struct pci_bus *bus)
51 pci_proc_detach_bus(bus);
54 list_del(&bus->node);
55 pci_bus_release_busn_res(bus);
57 pci_remove_legacy_files(bus);
59 if (bus->ops->remove_bus)
60 bus->ops->remove_bus(bus);
62 pcibios_remove_bus(bus);
63 device_unregister(&bus->dev);
69 struct pci_bus *bus = dev->subordinate;
74 * which will update the bus->devices list and confuse the
78 if (bus) {
80 &bus->devices, bus_list)
89 struct pci_bus *bus = dev->subordinate;
92 if (bus) {
94 &bus->devices, bus_list)
97 pci_remove_bus(bus);
131 void pci_stop_root_bus(struct pci_bus *bus)
136 if (!pci_is_root_bus(bus))
139 host_bridge = to_pci_host_bridge(bus->bridge);
141 &bus->devices, bus_list)
149 void pci_remove_root_bus(struct pci_bus *bus)
154 if (!pci_is_root_bus(bus))
157 host_bridge = to_pci_host_bridge(bus->bridge);
159 &bus->devices, bus_list)
165 pci_bus_release_domain_nr(bus, host_bridge->dev.parent);
168 pci_remove_bus(bus);
169 host_bridge->bus = NULL;