Lines Matching refs:descriptor
70 return hdev->descriptor.bDeviceProtocol == 3; in usb_hub_is_superspeed()
618 struct usb_hub_descriptor *descriptor; in usb_hub_configure() local
635 descriptor = (struct usb_hub_descriptor *)buffer; in usb_hub_configure()
637 length = min_t(int, descriptor->bLength, in usb_hub_configure()
649 &descriptor->wHubCharacteristics)), in usb_hub_configure()
660 descriptor->u.hs.DeviceRemovable[i]; in usb_hub_configure()
664 descriptor->u.hs.PortPowerCtrlMask[i]; in usb_hub_configure()
666 dev->maxchild = descriptor->bNbrPorts; in usb_hub_configure()
701 switch (dev->descriptor.bDeviceProtocol) { in usb_hub_configure()
721 dev->descriptor.bDeviceProtocol); in usb_hub_configure()
728 if (dev->descriptor.bDeviceProtocol != 0) { in usb_hub_configure()
752 descriptor->bPwrOn2PwrGood * 2); in usb_hub_configure()
754 descriptor->bHubContrCurrent); in usb_hub_configure()
763 "too long: %d\n", descriptor->bLength); in usb_hub_configure()