Lines Matching defs:hub
91 /* get the root hub status */
116 /* TODO: Handle the hub interrupts */
117 // assert(!"NYI: Root hub interrupt handling");
123 * of the root hub and updates the enabled_intrs field
145 * \brief this function emulates the USB root hub device by software
167 * execute the request for the USB root hub
261 /* hub class specific request */
271 // get the standard hub descriptor to fill in data
274 struct usb_hub_descriptor *hub = &(hc->root_hub_desc
276 hub->bNbrPorts = hc->root_hub_num_ports;
278 hub->wHubCharacteristics.power_mode =
280 hub->bPwrOn2PwrGood = ohci_rh_descra_potpgt_extract(cda);
287 hub->bDeviceRemovable[i / 8] |= (1 << (i % 8));
291 hub->bDescLength = 8 + ((hc->root_hub_num_ports + 7 / 8));
292 length = hub->bDescLength;
346 * Root hub has just one interface and no alternative one
404 * we can set the address of the root hub if it is
433 * We do not allow to change the USB root hub descriptor
436 * but is is an error for hub class requests
449 * Setting a feature on the root hub is an error,
458 /* handling of hub cpass specific port request */