Lines Matching defs:desc
3457 struct libusb_device_descriptor desc,
3511 struct libusb_device_descriptor desc,
3517 if (desc.bcdUSB != 0x110)
3520 printf (" this is not a GL646 (bcdUSB = 0x%x)\n", desc.bcdUSB);
3523 if (desc.bDeviceSubClass != 0x00)
3527 desc.bDeviceSubClass);
3530 if (desc.bDeviceProtocol != 0)
3534 desc.bDeviceProtocol);
3639 struct libusb_device_descriptor desc,
3649 if (desc.bDeviceClass != LIBUSB_CLASS_VENDOR_SPEC)
3653 desc.bDeviceClass);
3656 if (desc.bcdUSB != 0x110)
3659 printf (" this is not a GT-6801 (bcdUSB = 0x%x)\n", desc.bcdUSB);
3662 if (desc.bDeviceSubClass != 0xff)
3666 desc.bDeviceSubClass);
3669 if (desc.bDeviceProtocol != 0xff)
3673 desc.bDeviceProtocol);
3742 struct libusb_device_descriptor desc,
3752 if ((desc.bDeviceClass != LIBUSB_CLASS_PER_INTERFACE)
3758 desc.bDeviceClass,
3762 if (desc.bcdUSB != 0x110)
3765 printf (" this is not a GT-6816 (bcdUSB = 0x%x)\n", desc.bcdUSB);
3768 if (desc.bDeviceSubClass != 0x00)
3772 desc.bDeviceSubClass);
3775 if (desc.bDeviceProtocol != 0x00)
3779 desc.bDeviceProtocol);
3893 struct libusb_device_descriptor desc,
3903 if ((desc.bDeviceClass == LIBUSB_CLASS_PER_INTERFACE)
3906 return check_gl646 (handle, desc, config0);
3912 desc.bDeviceClass,
3916 /* Check device desc */
3917 if ((desc.bDeviceClass != LIBUSB_CLASS_VENDOR_SPEC)
3924 desc.bDeviceClass,
3929 if (desc.bDeviceSubClass != 0xff)
3933 desc.bDeviceSubClass);
3936 if (desc.bDeviceProtocol != 0xff)
3940 desc.bDeviceProtocol);
4043 if (desc.bcdDevice == 0x702)
4045 if (desc.bcdDevice == 0x701)
4047 if (desc.bcdDevice >= 0x700)
4049 if (desc.bcdDevice >= 0x605)
4051 if (desc.bcdDevice >= 0x603)
4053 if (desc.bcdDevice >= 0x600)
4055 if (desc.bcdDevice >= 0x500)
4057 if (desc.bcdDevice >= 0x300)
4059 if (desc.bcdDevice > 0x101)
4129 struct libusb_device_descriptor desc,
4139 if (((desc.bDeviceClass != LIBUSB_CLASS_VENDOR_SPEC)
4140 && (desc.bDeviceClass != 0))
4147 desc.bDeviceClass,
4151 if ((desc.bcdUSB != 0x110)
4152 && (desc.bcdUSB != 0x101)
4153 && (desc.bcdUSB != 0x100))
4156 printf (" this is not a LM983x (bcdUSB = 0x%x)\n", desc.bcdUSB);
4159 if (desc.bDeviceSubClass != 0x00)
4163 desc.bDeviceSubClass);
4166 if ((desc.bDeviceProtocol != 0) &&
4167 (desc.bDeviceProtocol != 0xff))
4171 desc.bDeviceProtocol);
4273 struct libusb_device_descriptor desc,
4286 if (desc.bNumConfigurations > 1)
4310 chip_name = check_merlin (hdl, desc, config0);
4313 chip_name = check_gt6801 (hdl, desc, config0);
4316 chip_name = check_gt6816 (hdl, desc, config0);
4319 chip_name = check_genesys (hdl, desc, config0);