Lines Matching defs:bus
17 #include <bus/PCI.h>
61 xhci_pci_sim_info* bus;
63 gDeviceManager->get_driver(parent, &driver, (void**)&bus);
70 XHCI *xhci = new(std::nothrow) XHCI(&bus->pciinfo, bus->pci, bus->device, stack, node);
76 TRACE_MODULE_ERROR("bus failed init check\n");
105 xhci_pci_sim_info* bus = (xhci_pci_sim_info*)cookie;
106 device_node* node = bus->driver_node;
112 // properties of this controller for the usb bus manager
131 xhci_pci_sim_info* bus = (xhci_pci_sim_info*)calloc(1,
133 if (bus == NULL)
145 bus->pci = pci;
146 bus->device = device;
147 bus->driver_node = node;
149 pci_info *pciInfo = &bus->pciinfo;
152 *device_cookie = bus;
161 xhci_pci_sim_info* bus = (xhci_pci_sim_info*)device_cookie;
162 free(bus);
184 const char* bus;
188 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
193 if (strcmp(bus, "pci") != 0)
316 // Root device that binds to the PCI bus. It will register an usb_bus_interface
375 TRACE_ERROR("bus manager failed to init\n");
557 fPCIInfo->bus, fPCIInfo->device, fPCIInfo->function);