Searched refs:in_ep (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/share/examples/libusb20/ |
H A D | bulk.c | 59 int in_ep, out_ep; /* endpoints */ variable 113 if ((rv = libusb20_tr_open(xfr_in, 0, 1, in_ep)) != 0) 165 in_ep = strtol(optarg, NULL, 0); 189 if (in_ep == 0 || out_ep == 0) 193 if ((in_ep & 0x80) == 0)
|
/freebsd-11.0-release/tools/tools/usbtest/ |
H A D | usb_modem_test.c | 437 uint8_t in_ep; local 450 find_usb_endpoints(pdev, 255, 255, 255, 0, &iface, &in_ep, &out_ep, 0); 452 find_usb_endpoints(pdev, 2, 2, 1, 0, &iface, &in_ep, &out_ep, 1); 454 if ((in_ep == 0) || (out_ep == 0)) { 471 error = libusb20_tr_open(p->xfer_in, 65536 / 4, 1, in_ep); 473 printf("Could not open USB endpoint %d\n", in_ep);
|
H A D | usb_msc_test.c | 948 uint8_t *pif, uint8_t *in_ep, uint8_t *out_ep, uint8_t next_if) 957 *in_ep = 0; 995 *in_ep = ep->desc.bEndpointAddress; 1011 uint8_t in_ep; local 1027 find_usb_endpoints(pdev, 8, 6, 0x50, 0, &iface, &in_ep, &out_ep, 0); 1029 if ((in_ep == 0) || (out_ep == 0)) { 1046 error = libusb20_tr_open(xfer_in, 65536, 1, in_ep); 1048 printf("Could not open USB endpoint %d\n", in_ep); 946 find_usb_endpoints(struct libusb20_device *pdev, uint8_t class, uint8_t subclass, uint8_t protocol, uint8_t alt_setting, uint8_t *pif, uint8_t *in_ep, uint8_t *out_ep, uint8_t next_if) argument
|
Completed in 49 milliseconds