Searched refs:in_ep (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/share/examples/libusb20/
H A Dbulk.c59 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-10.0-release/tools/tools/usbtest/
H A Dusb_modem_test.c437 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 Dusb_msc_test.c914 uint8_t *pif, uint8_t *in_ep, uint8_t *out_ep, uint8_t next_if)
923 *in_ep = 0;
961 *in_ep = ep->desc.bEndpointAddress;
977 uint8_t in_ep; local
993 find_usb_endpoints(pdev, 8, 6, 0x50, 0, &iface, &in_ep, &out_ep, 0);
995 if ((in_ep == 0) || (out_ep == 0)) {
1012 error = libusb20_tr_open(xfer_in, 65536, 1, in_ep);
1014 printf("Could not open USB endpoint %d\n", in_ep);
912 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 125 milliseconds