Lines Matching refs:wrapped_bus
262 static int pci_visit_bus (struct pci_visit * fn, struct pci_bus_wrapped *wrapped_bus, struct pci_de… in pci_visit_bus() argument
269 dbg("scanning bus %02x\n", wrapped_bus->bus->number); in pci_visit_bus()
272 result = fn->pre_visit_pci_bus(wrapped_bus, wrapped_parent); in pci_visit_bus()
277 ln = wrapped_bus->bus->devices.next; in pci_visit_bus()
278 while (ln != &wrapped_bus->bus->devices) { in pci_visit_bus()
285 result = pci_visit_dev(fn, &wrapped_dev, wrapped_bus); in pci_visit_bus()
291 result = fn->post_visit_pci_bus(wrapped_bus, wrapped_parent); in pci_visit_bus()
300 struct pci_bus_wrapped wrapped_bus; in pci_visit_bridge() local
303 memset(&wrapped_bus, 0, sizeof(struct pci_bus_wrapped)); in pci_visit_bridge()
304 wrapped_bus.bus = bus; in pci_visit_bridge()
315 result = pci_visit_bus(fn, &wrapped_bus, wrapped_dev); in pci_visit_bridge()