Lines Matching refs:raw_descr
634 uchar_t raw_descr[ROOT_HUB_DESCRIPTOR_LENGTH];
644 bzero(&raw_descr, ROOT_HUB_DESCRIPTOR_LENGTH);
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;
656 bcopy(raw_descr, req->ctrl_data->b_wptr, req->ctrl_wLength);