/freebsd-10.0-release/sys/dev/usb/controller/ |
H A D | avr32dci.c | 285 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 D | atmegadci.c | 256 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 D | at91dci.c | 882 uint8_t ep_no; local 905 ep_no = (xfer->endpointno & UE_ADDR); 1029 if (sc->sc_ep_flags[ep_no].fifo_bank) { 1057 uint8_t ep_no = xfer->endpointno & UE_ADDR; local 1064 AT91_UDP_WRITE_4(sc, AT91_UDP_IER, AT91_UDP_INT_EP(ep_no)); 1066 DPRINTFN(15, "enable interrupts on endpoint %d\n", ep_no); 1210 uint8_t ep_no; local 1218 ep_no = (xfer->endpointno & UE_ADDR); 1221 AT91_UDP_WRITE_4(sc, AT91_UDP_IDR, AT91_UDP_INT_EP(ep_no)); 1223 DPRINTFN(15, "disable interrupts on endpoint %d\n", ep_no); 1257 at91dci_clear_stall_sub(struct at91dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 2158 uint8_t ep_no; local [all...] |
H A D | dwc_otg.c | 1349 if (GRXSTSRD_CHNUM_GET(sc->sc_last_rx_status) != td->ep_no) 1423 temp = sc->sc_out_ctl[td->ep_no]; 1427 DWC_OTG_WRITE_4(sc, DOTG_DOEPCTL(td->ep_no), temp); 1430 if (td->ep_no == 0) { 1436 DWC_OTG_WRITE_4(sc, DOTG_DOEPTSIZ(td->ep_no), 1700 max_buffer = sc->sc_hw_ep_profile[td->ep_no].max_buffer; 1707 if ((td->ep_no == 0) && (temp != 0) && 1731 temp = DWC_OTG_READ_4(sc, DOTG_DIEPTSIZ(td->ep_no)); 1765 DOTG_DFIFO(td->ep_no), 1789 temp = DWC_OTG_READ_4(sc, DOTG_DIEPTSIZ(td->ep_no)); 2073 uint8_t ep_no; local 2115 uint8_t ep_no; local 2896 uint8_t ep_no; local 2942 dwc_otg_clear_stall_sub(struct dwc_otg_softc *sc, uint32_t mps, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 3975 uint8_t ep_no; local [all...] |
H A D | uss820dci.c | 860 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 2217 uint8_t ep_no; local [all...] |
H A D | dwc_otg.h | 64 uint8_t ep_no; member in struct:dwc_otg_td
|
H A D | musb_otg.c | 157 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 4053 uint8_t ep_no; local [all...] |
H A D | atmegadci.h | 208 uint8_t ep_no:3; member in struct:atmegadci_td
|
H A D | avr32dci.h | 175 uint8_t ep_no:3; member in struct:avr32dci_td
|
H A D | musb_otg.h | 320 uint8_t ep_no; member in struct:musbotg_td
|
/freebsd-10.0-release/sys/dev/usb/template/ |
H A D | usb_template.c | 687 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.0-release/lib/libusb/ |
H A D | libusb20.h | 200 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 D | libusb01.c | 108 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) { 139 err = libusb20_tr_open(xfer, bufsize, 1, ep_no);
|
H A D | libusb20.c | 162 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 D | libusb20_int.h | 115 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 D | libusb20_ugen20.c | 782 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.0-release/sys/dev/usb/ |
H A D | usb_ioctl.h | 228 uint8_t ep_no; /* bEndpointNumber */ member in struct:usb_fs_open
|
H A D | usb_generic.c | 1500 ep = usbd_get_ep_by_addr(f->udev, u.popen->ep_no);
|