Lines Matching refs:descriptor
828 if (!realworld || udev->descriptor.bNumConfigurations != 1) { in ch9_postconfig()
848 dev->buf, sizeof(udev->descriptor)); in ch9_postconfig()
849 if (retval != sizeof(udev->descriptor)) { in ch9_postconfig()
858 if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0210) { in ch9_postconfig()
939 for (i = 0; i < udev->descriptor.bNumConfigurations; i++) { in ch9_postconfig()
955 if (le16_to_cpu(udev->descriptor.bcdUSB) == 0x0200) { in ch9_postconfig()
1294 len = 1024 - udev->descriptor.bMaxPacketSize0; in test_ctrl_queue()
1300 len = udev->descriptor.bMaxPacketSize0; in test_ctrl_queue()
1319 if (le16_to_cpu(udev->descriptor.bcdUSB) < 0x0201) in test_ctrl_queue()
2596 if (!vendor || le16_to_cpu(udev->descriptor.idVendor) != (u16)vendor) in usbtest_probe()
2598 if (product && le16_to_cpu(udev->descriptor.idProduct) != (u16)product) in usbtest_probe()
2602 le16_to_cpu(udev->descriptor.idVendor), in usbtest_probe()
2603 le16_to_cpu(udev->descriptor.idProduct)); in usbtest_probe()