Searched refs:ep_comp (Results 1 – 4 of 4) sorted by relevance
/third_party/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 | 888 struct libusb_ss_endpoint_companion_descriptor *ep_comp = NULL; in test_device() local 903 libusb_get_ss_endpoint_companion_descriptor(NULL, endpoint, &ep_comp); in test_device() 904 if (ep_comp) { in test_device() 905 printf(" max burst: %02X (USB 3.0)\n", ep_comp->bMaxBurst); in test_device() 906 printf(" bytes per interval: %04X (USB 3.0)\n", ep_comp->wBytesPerInterval); in test_device() 907 libusb_free_ss_endpoint_companion_descriptor(ep_comp); in test_device()
|
/third_party/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 | 1382 struct libusb_ss_endpoint_companion_descriptor **ep_comp); 1384 struct libusb_ss_endpoint_companion_descriptor *ep_comp);
|