Lines Matching refs:descriptor
67 return hdev->descriptor.bDeviceProtocol == 3; in usb_hub_is_superspeed()
635 struct usb_hub_descriptor *descriptor; in usb_hub_configure() local
652 descriptor = (struct usb_hub_descriptor *)buffer; in usb_hub_configure()
654 length = min_t(int, descriptor->bLength, in usb_hub_configure()
666 &descriptor->wHubCharacteristics)), in usb_hub_configure()
677 descriptor->u.hs.DeviceRemovable[i]; in usb_hub_configure()
681 descriptor->u.hs.PortPowerCtrlMask[i]; in usb_hub_configure()
683 dev->maxchild = descriptor->bNbrPorts; in usb_hub_configure()
718 switch (dev->descriptor.bDeviceProtocol) { in usb_hub_configure()
738 dev->descriptor.bDeviceProtocol); in usb_hub_configure()
745 if (dev->descriptor.bDeviceProtocol != 0) { in usb_hub_configure()
769 descriptor->bPwrOn2PwrGood * 2); in usb_hub_configure()
771 descriptor->bHubContrCurrent); in usb_hub_configure()
780 "too long: %d\n", descriptor->bLength); in usb_hub_configure()