Lines Matching refs:root_hub_descr
116 usb_hub_descr_t *root_hub_descr =
131 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE;
143 root_hub_descr->bNbrPorts = capability & EHCI_HCS_NUM_PORTS;
145 length = root_hub_descr->bNbrPorts / 8;
148 root_hub_descr->bDescLength = 7 + (2 * (length + 1));
150 root_hub_descr->bDescLength = ROOT_HUB_DESCRIPTOR_LENGTH;
169 root_hub_descr-> wHubCharacteristics =
173 root_hub_descr->wHubCharacteristics |=
180 root_hub_descr->
184 root_hub_descr->wHubCharacteristics |=
192 root_hub_descr->wHubCharacteristics |= HUB_CHARS_PORT_INDICATOR;
200 root_hub_descr->bPwrOn2PwrGood = 2;
203 "Power on to power good %d", root_hub_descr->bPwrOn2PwrGood);
206 root_hub_descr->DeviceRemovable = 0;
209 root_hub_descr->PortPwrCtrlMask = 0;
212 for (i = 0; i < root_hub_descr->bNbrPorts; i++) {
1308 usb_hub_descr_t *root_hub_descr;
1315 root_hub_descr = &ehcip->ehci_root_hub.rh_descr;
1328 raw_descr[0] = root_hub_descr->bDescLength;
1329 raw_descr[1] = root_hub_descr->bDescriptorType;
1330 raw_descr[2] = root_hub_descr->bNbrPorts;
1331 raw_descr[3] = root_hub_descr->wHubCharacteristics & 0x00FF;
1332 raw_descr[4] = (root_hub_descr->wHubCharacteristics & 0xFF00) >> 8;
1333 raw_descr[5] = root_hub_descr->bPwrOn2PwrGood;
1334 raw_descr[6] = root_hub_descr->bHubContrCurrent;
1335 raw_descr[7] = root_hub_descr->DeviceRemovable;
1336 raw_descr[8] = root_hub_descr->PortPwrCtrlMask;
1844 usb_hub_descr_t *root_hub_descr =
1922 for (i = 0; i < root_hub_descr->bNbrPorts; i++) {