Searched refs:USB_DIR_IN (Results 1 - 25 of 71) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Dhcd.h182 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8)
187 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
190 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
H A Dpwc-ctrl.c178 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, \
498 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
533 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
568 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
606 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
679 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
689 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
702 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
868 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
905 USB_DIR_IN | USB_TYPE_VENDO
[all...]
H A Dauermain.h99 #define AUT_RREQ (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_OTHER) /* Read Request */
H A Ddevio.c401 if (ep & ~(USB_DIR_IN|0xf))
610 if (bulk.ep & USB_DIR_IN)
614 if (!usb_maxpacket(dev, pipe, !(bulk.ep & USB_DIR_IN)))
663 usb_settoggle(ps->dev, ep & 0xf, !(ep & USB_DIR_IN), 0);
679 if (ep & USB_DIR_IN)
836 if (!access_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length)) {
846 if (!access_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length))
879 if (!access_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length))
903 as->urb.pipe = (uurb.type << 30) | __create_pipe(ps->dev, uurb.endpoint & 0xf) | (uurb.endpoint & USB_DIR_IN);
920 if (uurb.endpoint & USB_DIR_IN)
[all...]
H A Ddc2xx.c434 if (direction == USB_DIR_IN)
441 if (direction == USB_DIR_IN)
H A Dcatc.c207 #define catc_get_mac(catc, mac) catc_ctrl_msg(catc, USB_DIR_IN, GetMac, 0, 0, mac, 6)
210 #define catc_get_reg(catc, reg, buf) catc_ctrl_msg(catc, USB_DIR_IN, GetReg, 0, reg, buf, 1)
212 #define catc_read_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_IN, ReadMem, 0, addr, buf, size)
219 #define catc_get_reg_async(catc, reg, cb) catc_ctrl_async(catc, USB_DIR_IN, GetReg, 0, reg, NULL, 1, cb)
H A Dhub.c65 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB,
104 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0,
114 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port,
353 if (!(endpoint->bEndpointAddress & USB_DIR_IN)) {
H A Dusb.c1856 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN,
1869 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN,
1876 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN,
1896 USB_REQ_GET_STATUS, USB_DIR_IN | type, 0, target, data, 2, HZ * GET_TIMEOUT);
1905 USB_REQ_GET_PROTOCOL, USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
1985 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RECIP_ENDPOINT, 0, endp,
2068 USB_REQ_GET_REPORT, USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.2.4.25/
H A Dusb.h46 #define USB_DIR_IN 0x80 /* to host */ macro
985 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : USB_PID_OUT)
1033 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1035 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1037 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1039 #define usb_rcvintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1041 #define usb_rcvdefctrl(dev) ((PIPE_CONTROL << 30) | __default_pipe(dev) | USB_DIR_IN)
H A Dusb_ch9.h32 #define USB_DIR_IN 0x80 /* to host */ macro
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dusb.h46 #define USB_DIR_IN 0x80 /* to host */ macro
985 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : USB_PID_OUT)
1033 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1035 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1037 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1039 #define usb_rcvintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1041 #define usb_rcvdefctrl(dev) ((PIPE_CONTROL << 30) | __default_pipe(dev) | USB_DIR_IN)
H A Dusb_ch9.h32 #define USB_DIR_IN 0x80 /* to host */ macro
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.orig/
H A Dusb.h46 #define USB_DIR_IN 0x80 /* to host */ macro
983 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : USB_PID_OUT)
1024 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1026 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1028 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1030 #define usb_rcvintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1032 #define usb_rcvdefctrl(dev) ((PIPE_CONTROL << 30) | __default_pipe(dev) | USB_DIR_IN)
H A Dusb_ch9.h32 #define USB_DIR_IN 0x80 /* to host */ macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dusb.h46 #define USB_DIR_IN 0x80 /* to host */ macro
991 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : USB_PID_OUT)
1032 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1034 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1036 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1038 #define usb_rcvintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1040 #define usb_rcvdefctrl(dev) ((PIPE_CONTROL << 30) | __default_pipe(dev) | USB_DIR_IN)
H A Dusb_ch9.h32 #define USB_DIR_IN 0x80 /* to host */ macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/serial/
H A Dkobil_sct.c182 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) &&
279 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN,
293 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN,
633 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN,
H A Dkeyspan_pda.c417 USB_TYPE_VENDOR|USB_RECIP_INTERFACE|USB_DIR_IN,
550 | USB_DIR_IN,
675 | USB_DIR_IN,
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/
H A Dst5481_usb.c147 ctrl_msg->dr.wIndex & ~USB_DIR_IN,
148 (ctrl_msg->dr.wIndex & USB_DIR_IN) == 0);
152 ctrl_msg->dr.wIndex & ~USB_DIR_IN,
153 (ctrl_msg->dr.wIndex & USB_DIR_IN) == 0,
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/gadget/
H A Dether.c538 .bEndpointAddress = EP_STATUS_NUM | USB_DIR_IN,
605 .bEndpointAddress = EP_IN_NUM | USB_DIR_IN,
652 .bEndpointAddress = EP_STATUS_NUM | USB_DIR_IN,
664 .bEndpointAddress = EP_IN_NUM | USB_DIR_IN,
1145 if (ctrl->bRequestType != USB_DIR_IN)
1202 if (ctrl->bRequestType != USB_DIR_IN)
1258 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)
H A Dzero.c375 .bEndpointAddress = EP_IN_NUM | USB_DIR_IN,
996 if (ctrl->bRequestType != USB_DIR_IN)
1047 if (ctrl->bRequestType != USB_DIR_IN)
1078 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE))
1106 if (ctrl->bRequestType != (USB_DIR_IN|USB_TYPE_VENDOR))
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/
H A Dehci-sched.c529 is_input = usb_pipein (pipe) ? USB_DIR_IN : 0;
584 is_in = (stream->bEndpointAddress & USB_DIR_IN) ? 0x10 : 0;
894 (stream->bEndpointAddress & USB_DIR_IN)
1005 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out",
1138 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out");
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Dusbdev.c1071 if (ep->direction == USB_DIR_IN) {
1152 if (ep->direction != USB_DIR_IN)
1209 if (ep->direction == USB_DIR_IN) {
1255 if (ep->direction == USB_DIR_IN) {
1328 if ((epd->bEndpointAddress & 0x80) == USB_DIR_IN) {
1474 if (ep->direction == USB_DIR_IN) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dau1000_usbraw.c126 bEndpointAddress:USB_DIR_IN,
144 bEndpointAddress:USB_DIR_IN,
/asus-wl-520gu-7.0.1.45/src/router/u2ec/
H A Dusbsock.h113 #define USB_DIR_IN USB_ENDPOINT_IN // to host macro

Completed in 230 milliseconds

123