Lines Matching refs:root_hub_descr
153 usb_hub_descr_t *root_hub_descr = &uhcip->uhci_root_hub.rh_descr;
163 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE;
164 root_hub_descr->bNbrPorts = MAX_RH_PORTS;
166 length = root_hub_descr->bNbrPorts / 8;
168 root_hub_descr->bDescLength = 7 + (2 * (length + 1));
170 root_hub_descr->bDescLength = ROOT_HUB_DESCRIPTOR_LENGTH;
174 root_hub_descr->bPwrOn2PwrGood = 10; /* arbitrary number */
175 root_hub_descr->wHubCharacteristics =
179 root_hub_descr->DeviceRemovable = 0x0;
182 root_hub_descr->PortPwrCtrlMask = 0xff;
635 usb_hub_descr_t *root_hub_descr = &uhcip->uhci_root_hub.rh_descr;
646 raw_descr[0] = root_hub_descr->bDescLength;
647 raw_descr[1] = root_hub_descr->bDescriptorType;
648 raw_descr[2] = root_hub_descr->bNbrPorts;
649 raw_descr[3] = root_hub_descr->wHubCharacteristics & 0x00ff;
650 raw_descr[4] = (root_hub_descr->wHubCharacteristics & 0xff00) >> 8;
651 raw_descr[5] = root_hub_descr->bPwrOn2PwrGood;
652 raw_descr[6] = root_hub_descr->bHubContrCurrent;
653 raw_descr[7] = root_hub_descr->DeviceRemovable;
654 raw_descr[8] = root_hub_descr->PortPwrCtrlMask;