Home
last modified time | relevance | path

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

/external/libusb/android/examples/
Dunrooted_android.c62 static void print_endpoint_comp(const struct libusb_ss_endpoint_companion_descriptor *ep_comp) in print_endpoint_comp() argument
65 LOGD(" bMaxBurst: %u\n", ep_comp->bMaxBurst); in print_endpoint_comp()
66 LOGD(" bmAttributes: %02xh\n", ep_comp->bmAttributes); in print_endpoint_comp()
67 LOGD(" wBytesPerInterval: %u\n", ep_comp->wBytesPerInterval); in print_endpoint_comp()
84 struct libusb_ss_endpoint_companion_descriptor *ep_comp; in print_endpoint() local
86 ret = libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in print_endpoint()
90 print_endpoint_comp(ep_comp); in print_endpoint()
92 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in print_endpoint()
/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: %u\n", ep_comp->bMaxBurst); in print_endpoint_comp()
30 printf(" bmAttributes: %02xh\n", ep_comp->bmAttributes); in print_endpoint_comp()
31 printf(" wBytesPerInterval: %u\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()
54 print_endpoint_comp(ep_comp); in print_endpoint()
56 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in print_endpoint()
Dxusb.c890 struct libusb_ss_endpoint_companion_descriptor *ep_comp = NULL; in test_device() local
905 libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in test_device()
906 if (ep_comp) { in test_device()
907 printf(" max burst: %02X (USB 3.0)\n", ep_comp->bMaxBurst); in test_device()
908 printf(" bytes per interval: %04X (USB 3.0)\n", ep_comp->wBytesPerInterval); in test_device()
909 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in test_device()
/external/libusb/libusb/
Ddescriptor.c708 struct libusb_ss_endpoint_companion_descriptor **ep_comp) in libusb_get_ss_endpoint_companion_descriptor() argument
714 *ep_comp = NULL; in libusb_get_ss_endpoint_companion_descriptor()
737 *ep_comp = malloc(sizeof(**ep_comp)); in libusb_get_ss_endpoint_companion_descriptor()
738 if (!*ep_comp) in libusb_get_ss_endpoint_companion_descriptor()
740 parse_descriptor(buffer, "bbbbw", *ep_comp); in libusb_get_ss_endpoint_companion_descriptor()
755 struct libusb_ss_endpoint_companion_descriptor *ep_comp) in libusb_free_ss_endpoint_companion_descriptor() argument
757 free(ep_comp); in libusb_free_ss_endpoint_companion_descriptor()
Dlibusb.h1395 struct libusb_ss_endpoint_companion_descriptor **ep_comp);
1397 struct libusb_ss_endpoint_companion_descriptor *ep_comp);
/external/libusb/include/libusb/
Dlibusb.h1395 struct libusb_ss_endpoint_companion_descriptor **ep_comp);
1397 struct libusb_ss_endpoint_companion_descriptor *ep_comp);