Searched refs:ep_no (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.1-release/sys/dev/usb/controller/
H A Davr32dci.c285 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no));
287 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp);
330 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP);
336 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP);
341 AVR32_WRITE_4(sc, AVR32_EPTSETSTA(td->ep_no),
367 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no));
369 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp);
422 (td->ep_no << 16) + (td->offset % td->max_packet_size), buf_res.length);
430 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_BK_RDY);
464 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no));
755 uint8_t ep_no; local
918 uint8_t ep_no = xfer->endpointno & UE_ADDR; local
1065 uint8_t ep_no; local
1095 uint8_t ep_no; local
1109 avr32dci_clear_stall_sub(struct avr32dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
1372 uint8_t ep_no; local
1954 uint8_t ep_no; local
[all...]
H A Datmegadci.c256 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no);
346 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no);
458 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no);
539 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no);
788 uint8_t ep_no; local
811 ep_no = (xfer->endpointno & UE_ADDR);
1096 uint8_t ep_no; local
1104 ep_no = (xfer->endpointno & UE_ADDR);
1107 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, ep_no);
1129 uint8_t ep_no; local
1147 atmegadci_clear_stall_sub(struct atmegadci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
2015 uint8_t ep_no; local
[all...]
H A Dat91dci.c907 uint8_t ep_no; local
930 ep_no = (xfer->endpointno & UE_ADDR);
1054 if (sc->sc_ep_flags[ep_no].fifo_bank) {
1087 uint8_t ep_no = xfer->endpointno & UE_ADDR; local
1094 AT91_UDP_WRITE_4(sc, AT91_UDP_IER, AT91_UDP_INT_EP(ep_no));
1096 DPRINTFN(15, "enable interrupts on endpoint %d\n", ep_no);
1241 uint8_t ep_no; local
1251 ep_no = (xfer->endpointno & UE_ADDR);
1254 AT91_UDP_WRITE_4(sc, AT91_UDP_IDR, AT91_UDP_INT_EP(ep_no));
1256 DPRINTFN(15, "disable interrupts on endpoint %d\n", ep_no);
1296 at91dci_clear_stall_sub(struct at91dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
2205 uint8_t ep_no; local
[all...]
H A Ddwc_otg.c1494 if (GRXSTSRD_CHNUM_GET(sc->sc_last_rx_status) != td->ep_no)
1568 temp = sc->sc_out_ctl[td->ep_no];
1572 DWC_OTG_WRITE_4(sc, DOTG_DOEPCTL(td->ep_no), temp);
1575 if (td->ep_no == 0) {
1581 DWC_OTG_WRITE_4(sc, DOTG_DOEPTSIZ(td->ep_no),
1977 max_buffer = sc->sc_hw_ep_profile[td->ep_no].max_buffer;
1984 if ((td->ep_no == 0) && (temp != 0) &&
2008 temp = DWC_OTG_READ_4(sc, DOTG_DIEPTSIZ(td->ep_no));
2042 DOTG_DFIFO(td->ep_no),
2066 temp = DWC_OTG_READ_4(sc, DOTG_DIEPTSIZ(td->ep_no));
2598 uint8_t ep_no; local
2640 uint8_t ep_no; local
3536 uint8_t ep_no; local
3586 dwc_otg_clear_stall_sub_locked(struct dwc_otg_softc *sc, uint32_t mps, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
4643 uint8_t ep_no; local
[all...]
H A Duss820dci.c860 uint8_t ep_no; local
882 ep_no = (xfer->endpointno & UE_ADDR);
1014 uint8_t ep_no = (xfer->endpointno & UE_ADDR); local
1020 if (ep_no > 3) {
1026 ep_no &= 3;
1027 ep_no = 1 << (2 * ep_no);
1031 ep_no <<= 1; /* RX interrupt only */
1033 ep_no |= (ep_no <<
1228 uint8_t ep_no; local
1258 uss820dci_clear_stall_sub(struct uss820dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
2224 uint8_t ep_no; local
[all...]
H A Ddwc_otg.h69 uint8_t ep_no; member in struct:dwc_otg_td
H A Dmusb_otg.c157 ep = td->ep_no;
193 DPRINTFN(1, "ep_no=%d\n", td->channel);
386 DPRINTFN(1, "ep_no=%d\n", td->channel);
507 DPRINTFN(1, "ep_no=%d\n", td->channel);
879 DPRINTFN(1, "ep_no=%d\n", td->channel);
1058 DPRINTFN(1, "ep_no=%d\n", td->channel);
1268 DPRINTFN(1, "ep_no=%d\n", td->channel);
1355 DPRINTFN(1, "ep_no=%d/%d [%d@%d.%d/%02x]\n", td->channel, td->transaction_started,
1704 DPRINTFN(1, "ep_no=%d\n", td->channel);
1926 DPRINTFN(1, "ep_no
2378 uint8_t ep_no; local
2830 uint8_t ep_no; local
2854 musbotg_clear_stall_sub(struct musbotg_softc *sc, uint16_t wMaxPacket, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument
4060 uint8_t ep_no; local
[all...]
H A Datmegadci.h208 uint8_t ep_no:3; member in struct:atmegadci_td
H A Davr32dci.h175 uint8_t ep_no:3; member in struct:avr32dci_td
H A Dmusb_otg.h320 uint8_t ep_no; member in struct:musbotg_td
/freebsd-10.1-release/sys/dev/usb/template/
H A Dusb_template.c687 uint8_t ep_no; local
749 ep_no = (ed->bEndpointAddress & UE_ADDR);
750 if (ep_no != 0) {
754 (ues->udev, &pf, ep_no);
758 "does not exist\n", ep_no);
763 ues->bmInAlloc[ep_no / 8] |=
764 (1 << (ep_no % 8));
765 ues->bmOutAlloc[ep_no / 8] |=
766 (1 << (ep_no % 8));
770 "has too small buffer\n", ep_no);
[all...]
/freebsd-10.1-release/lib/libusb/
H A Dlibusb20.h200 int libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no);
201 int libusb20_tr_open_stream(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no, uint16_t stream_id);
H A Dlibusb01.c108 usb_get_transfer_by_ep_no(usb_dev_handle * dev, uint8_t ep_no) argument
117 x = (ep_no & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 2;
119 if (ep_no & LIBUSB20_ENDPOINT_DIR_MASK) {
141 err = libusb20_tr_open(xfer, bufsize, 1, ep_no);
H A Dlibusb20.c162 uint32_t MaxFrameCount, uint8_t ep_no)
164 return (libusb20_tr_open_stream(xfer, MaxBufSize, MaxFrameCount, ep_no, 0));
169 uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id)
204 MaxFrameCount, ep_no, stream_id, pre_scale);
161 libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no) argument
168 libusb20_tr_open_stream(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id) argument
H A Dlibusb20_int.h115 typedef int (libusb20_tr_open_t)(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id, uint8_t pre_scale);
H A Dlibusb20_ugen20.c782 uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id,
802 temp.fs_open.ep_no = ep_no;
781 ugen20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no, uint16_t stream_id, uint8_t pre_scale) argument
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_ioctl.h229 uint8_t ep_no; /* bEndpointNumber */ member in struct:usb_fs_open
H A Dusb_generic.c1488 ep = usbd_get_ep_by_addr(f->udev, u.popen->ep_no);

Completed in 201 milliseconds