Searched refs:hub (Results 1 - 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/busses/usb/
H A Dehci_rh.cpp36 usb_hub_descriptor hub; member in struct:ehci_root_hub_configuration_s
46 // interface, endpoint and hub descriptors)
75 { // hub descriptor
147 // get hub status
150 // the hub reports whether the local power failed (bit 0)
194 sEHCIRootHubConfig.hub.num_ports = ehci->PortCount();
217 sEHCIRootHubConfig.hub.num_ports = ehci->PortCount();
218 memcpy(transfer->Data(), (void *)&sEHCIRootHubConfig.hub,
232 // we don't support any hub changes
233 TRACE_MODULE_ERROR("clear feature: no hub change
[all...]
H A Dohci_rh.cpp38 usb_hub_descriptor hub; member in struct:ohci_root_hub_configuration_s
48 // interface, endpoint and hub descriptors)
77 { // hub descriptor
149 // get hub status
152 // the hub reports whether the local power failed (bit 0)
196 sOHCIRootHubConfig.hub.num_ports = ohci->PortCount();
219 sOHCIRootHubConfig.hub.num_ports = ohci->PortCount();
220 memcpy(transfer->Data(), (void *)&sOHCIRootHubConfig.hub,
234 // we don't support any hub changes
235 TRACE_MODULE_ERROR("clear feature: no hub change
[all...]
H A Dxhci_rh.cpp39 usb_hub_descriptor hub; member in struct:xhci_root_hub_configuration_s
49 // interface, endpoint and hub descriptors)
86 { // hub descriptor
158 // get hub status
161 // the hub reports whether the local power failed (bit 0)
205 sXHCIRootHubConfig.hub.num_ports = xhci->PortCount();
228 sXHCIRootHubConfig.hub.num_ports = xhci->PortCount();
229 memcpy(transfer->Data(), (void *)&sXHCIRootHubConfig.hub,
243 // we don't support any hub changes
244 TRACE_MODULE_ERROR("clear feature: no hub change
[all...]
H A Duhci_rh.cpp37 usb_hub_descriptor hub; member in struct:uhci_root_hub_configuration_s
47 // interface, endpoint and hub descriptors)
76 { // hub descriptor
148 // get hub status
151 // the hub reports whether the local power failed (bit 0)
217 memcpy(transfer->Data(), (void *)&sUHCIRootHubConfig.hub,
231 // we don't support any hub changes
232 TRACE_MODULE_ERROR("clear feature: no hub changes\n");
244 // we don't support any hub changes
245 TRACE_MODULE_ERROR("set feature: no hub change
[all...]
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DBusManager.cpp207 TRACE("creating new hub\n");
208 Hub *hub = new(std::nothrow) Hub(parent, hubAddress, hubPort, local
210 if (!hub) {
211 TRACE_ERROR("no memory to allocate hub\n");
216 if (hub->InitCheck() < B_OK) {
217 TRACE_ERROR("hub failed init check\n");
219 delete hub;
223 hub->RegisterNode();
225 return (Device *)hub;
H A Dusb.cpp577 Hub *hub = busManager->GetRootHub();
578 if (!hub)
581 *rootHub = hub->USBID();
596 Hub *hub = (Hub *)object.Get();
598 if (hub->ChildAt(i) == NULL)
604 *childDevice = hub->ChildAt(i)->USBID();
626 Hub *hub = (Hub *)parent;
628 if (hub->ChildAt(i) == object.Get()) {
630 *parentHub = hub->USBID();
646 Hub *hub
[all...]
H A Dusb_private.h241 void SetRootHub(Hub *hub) { fRootHub = hub; } argument
349 // Hub port being the one-based logical port number on the hub
648 virtual const char * TypeName() const { return "hub"; }
/haiku/headers/os/drivers/
H A DUSB3.h226 * get_device_parent which provides you with the parent hub and the port
227 * index of a device. To test whether an enumerated child is a hub you
232 * the provided arguments are invalid (i.e. not a hub or invalid pointers)
240 status_t (*get_nth_child)(usb_device hub,
247 * Hub interaction - These commands are only valid when used with a hub
254 status_t (*reset_port)(usb_device hub,
256 status_t (*disable_port)(usb_device hub,

Completed in 72 milliseconds