Lines Matching refs:altsetting
868 first_iface = conf_desc->usb_interface[0].altsetting[0].bInterfaceNumber; in test_device()
871 conf_desc->usb_interface[i].altsetting[0].bInterfaceNumber); in test_device()
874 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device()
876 conf_desc->usb_interface[i].altsetting[j].bInterfaceClass, in test_device()
877 conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass, in test_device()
878 conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol); in test_device()
879 if ( (conf_desc->usb_interface[i].altsetting[j].bInterfaceClass == LIBUSB_CLASS_MASS_STORAGE) in test_device()
880 && ( (conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass == 0x01) in test_device()
881 || (conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass == 0x06) ) in test_device()
882 && (conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol == 0x50) ) { in test_device()
886 for (k=0; k<conf_desc->usb_interface[i].altsetting[j].bNumEndpoints; k++) { in test_device()
888 endpoint = &conf_desc->usb_interface[i].altsetting[j].endpoint[k]; in test_device()