Home
last modified time | relevance | path

Searched refs:ep_comp (Results 1 – 5 of 5) sorted by relevance

/external/libusb/examples/
Dtestlibusb.c26 static void print_endpoint_comp(const struct libusb_ss_endpoint_companion_descriptor *ep_comp) in print_endpoint_comp() argument
29 printf(" bMaxBurst: %d\n", ep_comp->bMaxBurst); in print_endpoint_comp()
30 printf(" bmAttributes: 0x%02x\n", ep_comp->bmAttributes); in print_endpoint_comp()
31 printf(" wBytesPerInterval: %d\n", ep_comp->wBytesPerInterval); in print_endpoint_comp()
48 struct libusb_ss_endpoint_companion_descriptor *ep_comp; in print_endpoint() local
50 ret = libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in print_endpoint()
55 print_endpoint_comp(ep_comp); in print_endpoint()
57 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in print_endpoint()
Dxusb.c887 struct libusb_ss_endpoint_companion_descriptor *ep_comp = NULL; in test_device() local
902 libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in test_device()
903 if (ep_comp) { in test_device()
904 printf(" max burst: %02X (USB 3.0)\n", ep_comp->bMaxBurst); in test_device()
905 printf(" bytes per interval: %04X (USB 3.0)\n", ep_comp->wBytesPerInterval); in test_device()
906 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in test_device()
/external/libusb/libusb/
Ddescriptor.c756 struct libusb_ss_endpoint_companion_descriptor **ep_comp) in libusb_get_ss_endpoint_companion_descriptor() argument
762 *ep_comp = NULL; in libusb_get_ss_endpoint_companion_descriptor()
781 *ep_comp = malloc(sizeof(**ep_comp)); in libusb_get_ss_endpoint_companion_descriptor()
782 if (*ep_comp == NULL) in libusb_get_ss_endpoint_companion_descriptor()
784 usbi_parse_descriptor(buffer, "bbbbw", *ep_comp, 0); in libusb_get_ss_endpoint_companion_descriptor()
799 struct libusb_ss_endpoint_companion_descriptor *ep_comp) in libusb_free_ss_endpoint_companion_descriptor() argument
801 free(ep_comp); in libusb_free_ss_endpoint_companion_descriptor()
Dlibusb.h1337 struct libusb_ss_endpoint_companion_descriptor **ep_comp);
1339 struct libusb_ss_endpoint_companion_descriptor *ep_comp);
/external/libusb/include/libusb/
Dlibusb.h1337 struct libusb_ss_endpoint_companion_descriptor **ep_comp);
1339 struct libusb_ss_endpoint_companion_descriptor *ep_comp);