Lines Matching refs:descriptor
815 if (!realworld || udev->descriptor.bNumConfigurations != 1) { in ch9_postconfig()
835 dev->buf, sizeof(udev->descriptor)); in ch9_postconfig()
836 if (retval != sizeof(udev->descriptor)) { in ch9_postconfig()
845 if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0210) { in ch9_postconfig()
926 for (i = 0; i < udev->descriptor.bNumConfigurations; i++) { in ch9_postconfig()
942 if (le16_to_cpu(udev->descriptor.bcdUSB) == 0x0200) { in ch9_postconfig()
1281 len = 1024 - udev->descriptor.bMaxPacketSize0; in test_ctrl_queue()
1287 len = udev->descriptor.bMaxPacketSize0; in test_ctrl_queue()
1306 if (le16_to_cpu(udev->descriptor.bcdUSB) < 0x0201) in test_ctrl_queue()
2552 if (!vendor || le16_to_cpu(udev->descriptor.idVendor) != (u16)vendor) in usbtest_probe()
2554 if (product && le16_to_cpu(udev->descriptor.idProduct) != (u16)product) in usbtest_probe()
2558 le16_to_cpu(udev->descriptor.idVendor), in usbtest_probe()
2559 le16_to_cpu(udev->descriptor.idProduct)); in usbtest_probe()