Home
last modified time | relevance | path

Searched refs:out_ep (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/share/examples/libusb20/
H A Dbulk.c62 int in_ep, out_ep; /* endpoints */ variable
111 if ((rv = libusb20_tr_open(xfr_out, 0, 1, out_ep)) != 0) in doit()
172 out_ep = strtol(optarg, NULL, 0); in main()
192 if (in_ep == 0 || out_ep == 0) in main()
/freebsd-13.1/tools/tools/usbtest/
H A Dusb_modem_test.c438 uint8_t out_ep; in exec_host_modem_test() local
450 find_usb_endpoints(pdev, 255, 255, 255, 0, &iface, &in_ep, &out_ep, 0); in exec_host_modem_test()
452 find_usb_endpoints(pdev, 2, 2, 1, 0, &iface, &in_ep, &out_ep, 1); in exec_host_modem_test()
454 if ((in_ep == 0) || (out_ep == 0)) { in exec_host_modem_test()
478 error = libusb20_tr_open(p->xfer_out, 65536 / 4, 1, out_ep); in exec_host_modem_test()
480 printf("Could not open USB endpoint %d\n", out_ep); in exec_host_modem_test()
H A Dusb_msc_test.c950 uint8_t *pif, uint8_t *in_ep, uint8_t *out_ep, uint8_t next_if) in find_usb_endpoints() argument
960 *out_ep = 0; in find_usb_endpoints()
999 *out_ep = ep->desc.bEndpointAddress; in find_usb_endpoints()
1014 uint8_t out_ep; in exec_host_msc_test() local
1029 find_usb_endpoints(pdev, 8, 6, 0x50, 0, &iface, &in_ep, &out_ep, 0); in exec_host_msc_test()
1031 if ((in_ep == 0) || (out_ep == 0)) { in exec_host_msc_test()
1055 error = libusb20_tr_open(xfer_out, 65536, 1, out_ep); in exec_host_msc_test()
1057 printf("Could not open USB endpoint %d\n", out_ep); in exec_host_msc_test()