Lines Matching defs:interface
40 void print_altsetting(struct usb_interface_descriptor *interface)
45 printf(" bInterfaceNumber: %d\n", interface->bInterfaceNumber);
46 printf(" bAlternateSetting: %d\n", interface->bAlternateSetting);
47 printf(" bNumEndpoints: %d\n", interface->bNumEndpoints);
48 printf(" bInterfaceClass: %d\n", interface->bInterfaceClass);
49 printf(" bInterfaceSubClass: %d\n", interface->bInterfaceSubClass);
50 printf(" bInterfaceProtocol: %d\n", interface->bInterfaceProtocol);
51 printf(" iInterface: %d\n", interface->iInterface);
52 printf(" extralen: %d\n", interface->extralen);
53 dump_data(interface->extra, interface->extralen);
55 for (i = 0; i < interface->bNumEndpoints; i++)
56 print_endpoint(&interface->endpoint[i]);
59 void print_interface(struct usb_interface *interface)
62 printf("num_altsetting: %d\n", interface->num_altsetting);
64 for (i = 0; i < interface->num_altsetting; i++)
65 print_altsetting(&interface->altsetting[i]);
86 print_interface(&config->interface[i]);