/freebsd-9.3-release/sys/dev/usb/controller/ |
H A D | avr32dci.c | 283 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); 285 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 328 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP); 334 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_SETUP); 339 AVR32_WRITE_4(sc, AVR32_EPTSETSTA(td->ep_no), 365 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); 367 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 420 (td->ep_no << 16) + (td->offset % td->max_packet_size), buf_res.length); 428 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td->ep_no), AVR32_EPTSTA_RX_BK_RDY); 462 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); 753 uint8_t ep_no; local 916 uint8_t ep_no = xfer->endpointno & UE_ADDR; local 1063 uint8_t ep_no; local 1087 uint8_t ep_no; local 1105 avr32dci_clear_stall_sub(struct avr32dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 1368 uint8_t ep_no; local 1956 uint8_t ep_no; local [all...] |
H A D | atmegadci.c | 253 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); 343 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); 455 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); 536 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); 785 uint8_t ep_no; local 808 ep_no = (xfer->endpointno & UE_ADDR); 1093 uint8_t ep_no; local 1101 ep_no = (xfer->endpointno & UE_ADDR); 1104 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, ep_no); 1120 uint8_t ep_no; local 1142 atmegadci_clear_stall_sub(struct atmegadci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 2016 uint8_t ep_no; local [all...] |
H A D | at91dci.c | 881 uint8_t ep_no; local 904 ep_no = (xfer->endpointno & UE_ADDR); 1028 if (sc->sc_ep_flags[ep_no].fifo_bank) { 1056 uint8_t ep_no = xfer->endpointno & UE_ADDR; local 1063 AT91_UDP_WRITE_4(sc, AT91_UDP_IER, AT91_UDP_INT_EP(ep_no)); 1065 DPRINTFN(15, "enable interrupts on endpoint %d\n", ep_no); 1209 uint8_t ep_no; local 1217 ep_no = (xfer->endpointno & UE_ADDR); 1220 AT91_UDP_WRITE_4(sc, AT91_UDP_IDR, AT91_UDP_INT_EP(ep_no)); 1222 DPRINTFN(15, "disable interrupts on endpoint %d\n", ep_no); 1254 at91dci_clear_stall_sub(struct at91dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 2161 uint8_t ep_no; local [all...] |
H A D | uss820dci.c | 855 uint8_t ep_no; local 877 ep_no = (xfer->endpointno & UE_ADDR); 1009 uint8_t ep_no = (xfer->endpointno & UE_ADDR); local 1015 if (ep_no > 3) { 1021 ep_no &= 3; 1022 ep_no = 1 << (2 * ep_no); 1026 ep_no <<= 1; /* RX interrupt only */ 1028 ep_no |= (ep_no << 1217 uint8_t ep_no; local 1251 uss820dci_clear_stall_sub(struct uss820dci_softc *sc, uint8_t ep_no, uint8_t ep_type, uint8_t ep_dir) argument 2223 uint8_t ep_no; local [all...] |
H A D | musb_otg.c | 152 ep = td->ep_no; 188 DPRINTFN(1, "ep_no=%d\n", td->channel); 381 DPRINTFN(1, "ep_no=%d\n", td->channel); 502 DPRINTFN(1, "ep_no=%d\n", td->channel); 874 DPRINTFN(1, "ep_no=%d\n", td->channel); 1053 DPRINTFN(1, "ep_no=%d\n", td->channel); 1263 DPRINTFN(1, "ep_no=%d\n", td->channel); 1350 DPRINTFN(1, "ep_no=%d/%d [%d@%d.%d/%02x]\n", td->channel, td->transaction_started, 1699 DPRINTFN(1, "ep_no=%d\n", td->channel); 1921 DPRINTFN(1, "ep_no 2373 uint8_t ep_no; local 2819 uint8_t ep_no; local 2847 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 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-9.3-release/sys/dev/usb/template/ |
H A D | usb_template.c | 682 uint8_t ep_no; local 744 ep_no = (ed->bEndpointAddress & UE_ADDR); 745 if (ep_no != 0) { 749 (ues->udev, &pf, ep_no); 753 "does not exist\n", ep_no); 758 ues->bmInAlloc[ep_no / 8] |= 759 (1 << (ep_no % 8)); 760 ues->bmOutAlloc[ep_no / 8] |= 761 (1 << (ep_no % 8)); 765 "has too small buffer\n", ep_no); [all...] |
/freebsd-9.3-release/lib/libusb/ |
H A D | libusb01.c | 103 usb_get_transfer_by_ep_no(usb_dev_handle * dev, uint8_t ep_no) argument 112 x = (ep_no & LIBUSB20_ENDPOINT_ADDRESS_MASK) * 2; 114 if (ep_no & LIBUSB20_ENDPOINT_DIR_MASK) { 136 err = libusb20_tr_open(xfer, bufsize, 1, ep_no);
|
H A D | libusb20.h | 204 int libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no);
|
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, uint8_t pre_scale);
|
H A D | libusb20_ugen20.c | 774 uint32_t MaxFrameCount, uint8_t ep_no, uint8_t pre_scale) 790 temp.ep_no = ep_no; 773 ugen20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no, uint8_t pre_scale) argument
|
H A D | libusb20.c | 158 uint32_t MaxFrameCount, uint8_t ep_no) 193 MaxFrameCount, ep_no, pre_scale); 157 libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t MaxBufSize, uint32_t MaxFrameCount, uint8_t ep_no) argument
|
/freebsd-9.3-release/sys/dev/usb/ |
H A D | usb_ioctl.h | 226 uint8_t ep_no; /* bEndpointNumber */ member in struct:usb_fs_open
|
H A D | usb_generic.c | 1477 ep = usbd_get_ep_by_addr(f->udev, u.popen->ep_no);
|