Home
last modified time | relevance | path

Searched refs:epno (Results 1 – 2 of 2) sorted by relevance

/freebsd/tools/tools/usbtest/
H A Dusb_control_ep_test.c502 uint8_t epno = ((ep / 2) | ((ep & 1) << 7)); in usb_set_and_clear_stall_test() local
509 setup_set_stall.wIndex = epno; in usb_set_and_clear_stall_test()
516 setup_get_status.wIndex = epno; in usb_set_and_clear_stall_test()
525 error = libusb20_tr_open(pxfer, 1, 1, epno); in usb_set_and_clear_stall_test()
530 epno, libusb20_strerror(error)); in usb_set_and_clear_stall_test()
533 printf("Stalling endpoint 0x%02x\n", epno); in usb_set_and_clear_stall_test()
542 epno, libusb20_strerror(error)); in usb_set_and_clear_stall_test()
553 epno, libusb20_strerror(error)); in usb_set_and_clear_stall_test()
558 "not set to stalled\n", epno); in usb_set_and_clear_stall_test()
567 "have stalled. Missing stall PID!\n", epno); in usb_set_and_clear_stall_test()
[all …]
/freebsd/sys/dev/usb/controller/
H A Dxhci.c926 uint8_t epno; in xhci_check_transfer() local
937 epno = XHCI_TRB_3_EP_GET(temp); in xhci_check_transfer()
945 index, epno, remainder, status); in xhci_check_transfer()
952 if ((epno == 0) || (epno >= XHCI_MAX_ENDPOINTS)) { in xhci_check_transfer()
957 pepext = &sc->sc_hw.devs[index].endp[epno]; in xhci_check_transfer()
2463 uint8_t epno; in xhci_configure_endpoint() local
2470 epno = edesc->bEndpointAddress; in xhci_configure_endpoint()
2474 epno |= UE_DIR_IN; in xhci_configure_endpoint()
2476 epno = XHCI_EPNO2EPID(epno); in xhci_configure_endpoint()
2478 if (epno == 0) in xhci_configure_endpoint()
[all …]