Lines Matching refs:bus
15 #include <bus/PCI.h>
55 uhci_pci_sim_info* bus;
57 gDeviceManager->get_driver(parent, &driver, (void**)&bus);
64 UHCI *uhci = new(std::nothrow) UHCI(&bus->pciinfo, bus->pci, bus->device, stack, node);
70 TRACE_MODULE_ERROR("bus failed init check\n");
99 uhci_pci_sim_info* bus = (uhci_pci_sim_info*)cookie;
100 device_node* node = bus->driver_node;
106 // properties of this controller for the usb bus manager
125 uhci_pci_sim_info* bus = (uhci_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 uhci_pci_sim_info* bus = (uhci_pci_sim_info*)device_cookie;
156 free(bus);
178 const char* bus;
182 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
187 if (strcmp(bus, "pci") != 0)
238 // Root device that binds to the PCI bus. It will register an usb_bus_interface
542 TRACE_ERROR("bus manager failed to init\n");
702 fPCIInfo->bus, fPCIInfo->device, fPCIInfo->function);
1645 // of the buffers are transmitted over the bus