Searched refs:ep_comp (Results 1 – 6 of 6) sorted by relevance
/external/libusb/android/examples/ |
D | unrooted_android.c | 62 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/ |
D | testlibusb.c | 26 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()
|
D | xusb.c | 890 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/ |
D | descriptor.c | 708 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()
|
D | libusb.h | 1395 struct libusb_ss_endpoint_companion_descriptor **ep_comp); 1397 struct libusb_ss_endpoint_companion_descriptor *ep_comp);
|
/external/libusb/include/libusb/ |
D | libusb.h | 1395 struct libusb_ss_endpoint_companion_descriptor **ep_comp); 1397 struct libusb_ss_endpoint_companion_descriptor *ep_comp);
|