Lines Matching refs:root_hub_descr
107 usb_hub_descr_t *root_hub_descr =
132 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE;
143 root_hub_descr->bNbrPorts = des_A & HCR_RHA_NDP;
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;
161 root_hub_descr->wHubCharacteristics =
165 root_hub_descr->
173 root_hub_descr->
185 root_hub_descr->
195 root_hub_descr->
201 root_hub_descr->bPwrOn2PwrGood = (uint32_t)
205 "Power on to power good %d", root_hub_descr->bPwrOn2PwrGood);
208 root_hub_descr->DeviceRemovable = (uchar_t)des_B & HCR_RHB_DR;
215 root_hub_descr->PortPwrCtrlMask = (uchar_t)(des_B >> 16);
218 for (i = 0; i < root_hub_descr->bNbrPorts; i++) {
1163 usb_hub_descr_t *root_hub_descr;
1170 root_hub_descr = &ohcip->ohci_root_hub.rh_descr;
1183 raw_descr[0] = root_hub_descr->bDescLength;
1184 raw_descr[1] = root_hub_descr->bDescriptorType;
1185 raw_descr[2] = root_hub_descr->bNbrPorts;
1186 raw_descr[3] = root_hub_descr->wHubCharacteristics & 0x00FF;
1187 raw_descr[4] = (root_hub_descr->wHubCharacteristics & 0xFF00) >> 8;
1188 raw_descr[5] = root_hub_descr->bPwrOn2PwrGood;
1189 raw_descr[6] = root_hub_descr->bHubContrCurrent;
1190 raw_descr[7] = root_hub_descr->DeviceRemovable;
1191 raw_descr[8] = root_hub_descr->PortPwrCtrlMask;