| /freebsd-12-stable/sys/dev/usb/controller/ |
| D | avr32dci.c | 287 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); in avr32dci_setup_rx() 289 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); in avr32dci_setup_rx() 332 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP); in avr32dci_setup_rx() 338 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP); in avr32dci_setup_rx() 343 AVR32_WRITE_4(sc, AVR32_EPTSETSTA(td->ep_no), in avr32dci_setup_rx() 369 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); in avr32dci_data_rx() 371 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); in avr32dci_data_rx() 424 (td->ep_no << 16) + (td->offset % td->max_packet_size), buf_res.length); in avr32dci_data_rx() 432 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_BK_RDY); in avr32dci_data_rx() 466 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); in avr32dci_data_tx() [all …]
|
| D | dwc_otg.c | 1679 if (GRXSTSRD_CHNUM_GET(sc->sc_last_rx_status) != td->ep_no) in dwc_otg_data_rx() 1746 temp = sc->sc_out_ctl[td->ep_no]; in dwc_otg_data_rx() 1759 sc->sc_out_ctl[td->ep_no] = temp; in dwc_otg_data_rx() 1774 if (td->ep_no == 0) { in dwc_otg_data_rx() 1781 DWC_OTG_WRITE_4(sc, DOTG_DOEPTSIZ(td->ep_no), in dwc_otg_data_rx() 1787 temp = sc->sc_out_ctl[td->ep_no]; in dwc_otg_data_rx() 1788 DWC_OTG_WRITE_4(sc, DOTG_DOEPCTL(td->ep_no), temp | in dwc_otg_data_rx() 2145 max_buffer = sc->sc_hw_ep_profile[td->ep_no].max_buffer; in dwc_otg_data_tx() 2152 if ((td->ep_no == 0) && (temp != 0) && in dwc_otg_data_tx() 2178 temp = DWC_OTG_READ_4(sc, DOTG_DIEPTSIZ(td->ep_no)); in dwc_otg_data_tx() [all …]
|
| D | atmegadci.c | 258 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); in atmegadci_setup_rx() 348 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); in atmegadci_data_rx() 460 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); in atmegadci_data_tx() 541 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); in atmegadci_data_tx_sync() 790 uint8_t ep_no; in atmegadci_setup_standard_chain() local 814 ep_no = (xfer->endpointno & UE_ADDR); in atmegadci_setup_standard_chain() 1100 uint8_t ep_no; in atmegadci_device_done() local 1108 ep_no = (xfer->endpointno & UE_ADDR); in atmegadci_device_done() 1111 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, ep_no); in atmegadci_device_done() 1133 uint8_t ep_no; in atmegadci_set_stall() local [all …]
|
| D | uss820dci.c | 890 uint8_t ep_no; in uss820dci_setup_standard_chain() local 913 ep_no = (xfer->endpointno & UE_ADDR); in uss820dci_setup_standard_chain() 1045 uint8_t ep_no = (xfer->endpointno & UE_ADDR); in uss820dci_intr_set() local 1051 if (ep_no > 3) { in uss820dci_intr_set() 1057 ep_no &= 3; in uss820dci_intr_set() 1058 ep_no = 1 << (2 * ep_no); in uss820dci_intr_set() 1062 ep_no <<= 1; /* RX interrupt only */ in uss820dci_intr_set() 1064 ep_no |= (ep_no << 1); /* RX and TX interrupt */ in uss820dci_intr_set() 1068 ep_no <<= 1; in uss820dci_intr_set() 1073 temp |= ep_no; in uss820dci_intr_set() [all …]
|
| D | musb_otg.c | 179 ep = td->ep_no; in musbotg_channel_alloc() 2423 uint8_t ep_no; in musbotg_setup_standard_chain() local 2434 ep_no = (xfer->endpointno & UE_ADDR); in musbotg_setup_standard_chain() 2497 temp.transfer_type |= ep_no; in musbotg_setup_standard_chain() 2877 uint8_t ep_no; in musbotg_set_stall() local 2886 ep_no = (ep->edesc->bEndpointAddress & UE_ADDR); in musbotg_set_stall() 2889 MUSB2_WRITE_1(sc, MUSB2_REG_EPINDEX, ep_no); in musbotg_set_stall() 2902 uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) in musbotg_clear_stall_sub() argument 2913 MUSB2_WRITE_1(sc, MUSB2_REG_EPINDEX, ep_no); in musbotg_clear_stall_sub() 2974 if (mps <= (sc->sc_hw_ep_profile[ep_no]. in musbotg_clear_stall_sub() [all …]
|
| D | saf1761_otg.c | 1763 uint8_t ep_no; in saf1761_otg_setup_standard_chain() local 1793 ep_no = (xfer->endpointno & UE_ADDR); in saf1761_otg_setup_standard_chain() 2008 uint8_t ep_no = (xfer->endpointno & UE_ADDR); in saf1761_otg_intr_set() local 2013 if (ep_no == 0) { in saf1761_otg_intr_set() 2018 mask = SOTG_DCINTERRUPT_IEPTX(ep_no); in saf1761_otg_intr_set() 2020 mask = SOTG_DCINTERRUPT_IEPRX(ep_no); in saf1761_otg_intr_set() 2234 uint8_t ep_no; in saf1761_otg_set_stall() local 2251 ep_no = (ep->edesc->bEndpointAddress & UE_ADDR); in saf1761_otg_set_stall() 2263 (ep_no << SOTG_EP_INDEX_ENDP_INDEX_SHIFT) | in saf1761_otg_set_stall() 2275 uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) in saf1761_otg_clear_stall_sub_locked() argument [all …]
|
| D | atmegadci.h | 210 uint8_t ep_no:3; member
|
| D | dwc_otg.h | 72 uint8_t ep_no; member
|
| D | avr32dci.h | 177 uint8_t ep_no:3; member
|
| D | musb_otg.h | 322 uint8_t ep_no; member
|
| /freebsd-12-stable/sys/dev/usb/template/ |
| D | usb_template.c | 771 uint8_t ep_no; in usb_hw_ep_get_needs() local 833 ep_no = (ed->bEndpointAddress & UE_ADDR); in usb_hw_ep_get_needs() 834 if (ep_no != 0) { in usb_hw_ep_get_needs() 838 (ues->udev, &pf, ep_no); in usb_hw_ep_get_needs() 842 "does not exist\n", ep_no); in usb_hw_ep_get_needs() 847 ues->bmInAlloc[ep_no / 8] |= in usb_hw_ep_get_needs() 848 (1 << (ep_no % 8)); in usb_hw_ep_get_needs() 849 ues->bmOutAlloc[ep_no / 8] |= in usb_hw_ep_get_needs() 850 (1 << (ep_no % 8)); in usb_hw_ep_get_needs() 854 "has too small buffer\n", ep_no); in usb_hw_ep_get_needs() [all …]
|
| /freebsd-12-stable/lib/libusb/ |
| D | libusb20.c | 164 uint32_t MaxFrameCount, uint8_t ep_no) in libusb20_tr_open() argument 166 return (libusb20_tr_open_stream(xfer, MaxBufSize, MaxFrameCount, ep_no, 0)); in libusb20_tr_open() 171 uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id) in libusb20_tr_open_stream() argument 213 MaxFrameCount / 8, ep_no, stream_id, 1); in libusb20_tr_open_stream() 216 MaxFrameCount, ep_no, stream_id, 0); in libusb20_tr_open_stream()
|
| D | libusb20.h | 208 …en(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no); 209 …_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no, uint16_t stream_i…
|
| D | libusb01.c | 110 usb_get_transfer_by_ep_no(usb_dev_handle * dev, uint8_t ep_no) in usb_get_transfer_by_ep_no() argument 119 x = (ep_no & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 2; in usb_get_transfer_by_ep_no() 121 if (ep_no & LIBUSB20_ENDPOINT_DIR_MASK) { in usb_get_transfer_by_ep_no() 143 err = libusb20_tr_open(xfer, bufsize, 1, ep_no); in usb_get_transfer_by_ep_no()
|
| D | libusb20_ugen20.c | 799 uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id, in ugen20_tr_open() argument 819 temp.fs_open.ep_no = ep_no; in ugen20_tr_open()
|
| D | libusb20_int.h | 118 …sb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_i…
|
| /freebsd-12-stable/sys/dev/usb/ |
| D | usb_ioctl.h | 235 uint8_t ep_no; /* bEndpointNumber */ member
|
| D | usb_generic.c | 1536 ep = usbd_get_ep_by_addr(f->udev, u.popen->ep_no); in ugen_ioctl()
|