Lines Matching refs:descriptor
64 return hdev->descriptor.bDeviceProtocol == 3;
623 struct usb_hub_descriptor *descriptor;
633 /* Get the the hub descriptor */
637 "descriptor, giving up %lX\n", dev->status);
640 descriptor = (struct usb_hub_descriptor *)buffer;
642 length = min_t(int, descriptor->bLength,
648 "descriptor 2nd giving up %lX\n", dev->status);
654 &descriptor->wHubCharacteristics)),
665 descriptor->u.hs.DeviceRemovable[i];
669 descriptor->u.hs.PortPowerCtrlMask[i];
671 dev->maxchild = descriptor->bNbrPorts;
706 switch (dev->descriptor.bDeviceProtocol) {
726 dev->descriptor.bDeviceProtocol);
733 if (dev->descriptor.bDeviceProtocol != 0) {
757 descriptor->bPwrOn2PwrGood * 2);
759 descriptor->bHubContrCurrent);
768 "too long: %d\n", descriptor->bLength);
794 * after the hub descriptor is fetched.