Lines Matching refs:interface
64 static void print_altsetting(const struct libusb_interface_descriptor *interface)
68 printf(" Interface:\n");
69 printf(" bInterfaceNumber: %d\n", interface->bInterfaceNumber);
70 printf(" bAlternateSetting: %d\n", interface->bAlternateSetting);
71 printf(" bNumEndpoints: %d\n", interface->bNumEndpoints);
72 printf(" bInterfaceClass: %d\n", interface->bInterfaceClass);
73 printf(" bInterfaceSubClass: %d\n", interface->bInterfaceSubClass);
74 printf(" bInterfaceProtocol: %d\n", interface->bInterfaceProtocol);
75 printf(" iInterface: %d\n", interface->iInterface);
77 for (i = 0; i < interface->bNumEndpoints; i++)
78 print_endpoint(&interface->endpoint[i]);
140 static void print_interface(const struct libusb_interface *interface)
144 for (i = 0; i < interface->num_altsetting; i++)
145 print_altsetting(&interface->altsetting[i]);
161 print_interface(&config->interface[i]);