Lines Matching refs:bus
14 #include <bus/PCI.h>
55 ehci_pci_sim_info* bus;
57 gDeviceManager->get_driver(parent, &driver, (void**)&bus);
64 EHCI *ehci = new(std::nothrow) EHCI(&bus->pciinfo, bus->pci, bus->device, stack, node);
70 TRACE_MODULE_ERROR("bus failed init check\n");
99 ehci_pci_sim_info* bus = (ehci_pci_sim_info*)cookie;
100 device_node* node = bus->driver_node;
106 // properties of this controller for the usb bus manager
125 ehci_pci_sim_info* bus = (ehci_pci_sim_info*)calloc(1,
127 if (bus == NULL)
139 bus->pci = pci;
140 bus->device = device;
141 bus->driver_node = node;
143 pci_info *pciInfo = &bus->pciinfo;
146 *device_cookie = bus;
155 ehci_pci_sim_info* bus = (ehci_pci_sim_info*)device_cookie;
156 free(bus);
179 const char* bus;
183 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
188 if (strcmp(bus, "pci") != 0)
239 // Root device that binds to the PCI bus. It will register an usb_bus_interface
364 TRACE_ERROR("bus manager failed to init\n");
590 fPCIInfo->bus, fPCIInfo->device, fPCIInfo->function);