Lines Matching refs:endpoint
34 static void print_endpoint(const struct libusb_endpoint_descriptor *endpoint) in print_endpoint() argument
39 printf(" bEndpointAddress: %02xh\n", endpoint->bEndpointAddress); in print_endpoint()
40 printf(" bmAttributes: %02xh\n", endpoint->bmAttributes); in print_endpoint()
41 printf(" wMaxPacketSize: %d\n", endpoint->wMaxPacketSize); in print_endpoint()
42 printf(" bInterval: %d\n", endpoint->bInterval); in print_endpoint()
43 printf(" bRefresh: %d\n", endpoint->bRefresh); in print_endpoint()
44 printf(" bSynchAddress: %d\n", endpoint->bSynchAddress); in print_endpoint()
46 for (i = 0; i < endpoint->extra_length;) { in print_endpoint()
47 if (LIBUSB_DT_SS_ENDPOINT_COMPANION == endpoint->extra[i + 1]) { in print_endpoint()
50 ret = libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in print_endpoint()
60 i += endpoint->extra[i]; in print_endpoint()
78 print_endpoint(&interface->endpoint[i]); in print_altsetting()