| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | epautoconf.c | 107 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 153 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 156 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches() 247 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 272 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 275 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 278 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
|
| H A D | fotg210.c | 63 .bEndpointAddress = USB_DIR_IN, 82 if (ep_addr & USB_DIR_IN) { in ep_reset() 237 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma() 244 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma() 358 if (req->bRequestType & USB_DIR_IN) in fotg210_setup() 359 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup() 474 if (ep->stopped || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_recv() 508 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable() 618 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue() 622 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue() [all …]
|
| H A D | ci_udc.c | 80 .bEndpointAddress = USB_DIR_IN, 330 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 435 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 561 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 594 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 599 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 610 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in handle_ep_complete() 687 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 689 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 721 & USB_DIR_IN) != 0; in handle_setup() [all …]
|
| H A D | dwc2_udc_otg_priv.h | 90 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
|
| H A D | pxa25x_udc.c | 815 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue() 912 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 953 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status() 975 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush() 1327 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1464 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep() 1660 .bEndpointAddress = USB_DIR_IN | 1, 1688 .bEndpointAddress = USB_DIR_IN | 3, 1715 .bEndpointAddress = USB_DIR_IN | 5, 1730 .bEndpointAddress = USB_DIR_IN | 6, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | omap_udc.c | 122 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep() 223 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable() 302 (ep->bEndpointAddress & USB_DIR_IN)); in done() 703 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim() 821 (ep->bEndpointAddress & USB_DIR_IN) ? 't' : 'r', in dma_channel_release() 829 if (ep->bEndpointAddress & USB_DIR_IN) { in dma_channel_release() 893 && (ep->bEndpointAddress & USB_DIR_IN) == 0 in omap_ep_queue() 905 (ep->bEndpointAddress & USB_DIR_IN)); in omap_ep_queue() 974 is_in = ep->bEndpointAddress & USB_DIR_IN; in omap_ep_queue() 1067 if ((ep->bEndpointAddress & USB_DIR_IN) in omap_ep_set_halt() [all …]
|
| H A D | fsl_qe_udc.c | 152 else if (ep->dir == USB_DIR_IN) in qe_eprx_stall_change() 327 case USB_DIR_IN: in qe_ep_reset() 500 case USB_DIR_IN: in qe_ep_register_init() 646 case USB_DIR_IN: in qe_ep_init() 647 ep->dir = USB_DIR_IN; in qe_ep_init() 661 if ((ep->tm == USBP_TM_CTL) || (ep->dir == USB_DIR_IN)) { in qe_ep_init() 818 if (ep->dir == USB_DIR_IN) { in qe_ep0_rx() 941 if (ep->dir == USB_DIR_IN || ep->enable_tasklet == 0) { in ep_rx_tasklet() 1024 if (ep->dir == USB_DIR_IN) { in qe_ep_rx() 1244 if (direction == USB_DIR_IN) { in ep0_prime_status() [all …]
|
| H A D | fsl_usb2_udc.h | 573 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 574 & USB_DIR_IN)==USB_DIR_IN) 578 * 2 + ((windex & USB_DIR_IN) ? 1 : 0)) 588 USB_DIR_IN) ? 1 : 0]; in get_qh_by_ep()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/ |
| H A D | tm6000-core.c | 37 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 48 (req_type & USB_DIR_IN) ? " IN" : "OUT", in tm6000_read_write_usb() 52 if (!(req_type & USB_DIR_IN)) { in tm6000_read_write_usb() 63 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 68 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 72 } else if (req_type & USB_DIR_IN) { in tm6000_read_write_usb() 85 if (req == REQ_16_SET_GET_I2C_WR1_RDN && !(req_type & USB_DIR_IN)) { in tm6000_read_write_usb() 113 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_get_reg() 130 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_set_reg_mask() 151 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_get_reg16() [all …]
|
| H A D | tm6000-i2c.c | 91 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in tm6000_i2c_recv_regs() 96 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in tm6000_i2c_recv_regs() 129 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | in tm6000_i2c_recv_regs16() 133 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | in tm6000_i2c_recv_regs16()
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | hcd.h | 596 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8) 601 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 604 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8) 613 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_DESCRIPTOR) 614 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_STATUS) 615 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, USB_REQ_GET_STATUS) 620 #define GetTTState HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_TT_STATE) 628 #define GetPortErrorCount HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_PORT_ERR_COUNT) 685 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | usb_defs.h | 64 #define USB_DIR_IN 0x80 macro 71 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE) << 8) 77 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8) 80 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8)
|
| H A D | usb.h | 349 USB_DIR_IN) 354 USB_DIR_IN) 359 USB_DIR_IN) 364 USB_DIR_IN) 369 USB_DIR_IN) 384 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
| /OK3568_Linux_fs/kernel/drivers/usb/common/ |
| H A D | debug.c | 27 wIndex & ~USB_DIR_IN, in usb_decode_get_status() 28 wIndex & USB_DIR_IN ? "in" : "out"); in usb_decode_get_status() 93 wIndex & ~USB_DIR_IN, in usb_decode_set_clear_feature() 94 wIndex & USB_DIR_IN ? "in" : "out"); in usb_decode_set_clear_feature() 225 (bRequestType & USB_DIR_IN) ? "IN" : "OUT", in usb_decode_ctrl_generic()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/ |
| H A D | epautoconf.c | 95 desc->bEndpointAddress &= USB_DIR_IN; in usb_ep_autoconfig_ss() 99 } else if (desc->bEndpointAddress & USB_DIR_IN) { in usb_ep_autoconfig_ss() 102 desc->bEndpointAddress = USB_DIR_IN | gadget->in_epnum; in usb_ep_autoconfig_ss()
|
| /OK3568_Linux_fs/kernel/drivers/usb/isp1760/ |
| H A D | isp1760-udc.c | 82 (dir == USB_DIR_IN ? DC_EPDIR : 0)); in __isp1760_udc_select_ep() 112 (dir == USB_DIR_IN ? 0 : DC_EPDIR)); in isp1760_udc_ctrl_send_status() 162 __isp1760_udc_select_ep(ep, USB_DIR_IN); in isp1760_udc_ctrl_send_stall() 256 __isp1760_udc_select_ep(ep, USB_DIR_IN); in isp1760_udc_transmit() 341 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 374 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 416 __isp1760_udc_select_ep(ep, USB_DIR_IN); in __isp1760_udc_set_halt() 432 if ((ep->addr & USB_DIR_IN) && !list_empty(&ep->queue)) { in __isp1760_udc_set_halt() 460 case USB_DIR_IN | USB_RECIP_DEVICE: in isp1760_udc_get_status() 464 case USB_DIR_IN | USB_RECIP_INTERFACE: in isp1760_udc_get_status() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | xr_usb_serial_hal.c | 188 USB_DIR_IN | USB_TYPE_VENDOR , /* request_type */ in xr_usb_serial_get_reg() 205 USB_DIR_IN | USB_TYPE_VENDOR, /* request_type */ in xr_usb_serial_get_reg() 218 USB_DIR_IN | USB_TYPE_VENDOR, /* request_type */ in xr_usb_serial_get_reg() 234 USB_DIR_IN | USB_TYPE_VENDOR | 1, /* request_type */ in xr_usb_serial_get_reg() 277 USB_DIR_IN | USB_TYPE_VENDOR , /* request_type */ in xr_usb_serial_get_reg_ext() 292 USB_DIR_IN | USB_TYPE_VENDOR, /* request_type */ in xr_usb_serial_get_reg_ext() 305 USB_DIR_IN | USB_TYPE_VENDOR , /* request_type */ in xr_usb_serial_get_reg_ext() 320 USB_DIR_IN | USB_TYPE_VENDOR | 1, /* request_type */ in xr_usb_serial_get_reg_ext()
|
| /OK3568_Linux_fs/buildroot/package/android-tools/ |
| H A D | 0015-adbd-usb_linux_client-Compat-with-old-kernel.patch | 102 - .bEndpointAddress = 2 | USB_DIR_IN, 131 + .bEndpointAddress = 2 | USB_DIR_IN, 156 - .bEndpointAddress = 2 | USB_DIR_IN, 205 - .bEndpointAddress = 2 | USB_DIR_IN, 216 + .bEndpointAddress = 2 | USB_DIR_IN, 248 + .bEndpointAddress = 2 | USB_DIR_IN,
|
| /OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_pro.h | 24 #define PCAN_USBPRO_EP_CMDIN (PCAN_USBPRO_EP_CMDOUT | USB_DIR_IN) 26 #define PCAN_USBPRO_EP_MSGIN (PCAN_USBPRO_EP_MSGOUT_0 | USB_DIR_IN) 28 #define PCAN_USBPRO_EP_UNUSED (PCAN_USBPRO_EP_MSGOUT_1 | USB_DIR_IN)
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/ |
| H A D | dsbr100.c | 90 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_setfreq() 113 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_start() 131 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_stop() 150 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_getstat() 260 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in usb_dsbr100_disconnect()
|
| /OK3568_Linux_fs/kernel/tools/usb/ffs-aio-example/multibuff/device_app/ |
| H A D | aio_multibuff.c | 98 .bEndpointAddress = 1 | USB_DIR_IN, 120 .bEndpointAddress = 1 | USB_DIR_IN, 145 .bEndpointAddress = 1 | USB_DIR_IN, 255 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
| /OK3568_Linux_fs/kernel/tools/usb/ffs-aio-example/simple/device_app/ |
| H A D | aio_simple.c | 96 .bEndpointAddress = 1 | USB_DIR_IN, 118 .bEndpointAddress = 1 | USB_DIR_IN, 143 .bEndpointAddress = 1 | USB_DIR_IN, 250 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/ |
| H A D | ec168.c | 30 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 34 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 46 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 85 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ec168_ctrl_msg()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
| H A D | 0014-add-u3-ss-descriptor-support-for-adb.patch | 134 + .bEndpointAddress = 2 | USB_DIR_IN, 161 + .bEndpointAddress = 2 | USB_DIR_IN, 211 - .bEndpointAddress = 2 | USB_DIR_IN, 218 + .bEndpointAddress = 2 | USB_DIR_IN, 243 - .bEndpointAddress = 2 | USB_DIR_IN,
|
| /OK3568_Linux_fs/u-boot/drivers/usb/emul/ |
| H A D | sandbox_hub.c | 85 .bEndpointAddress = 1 | USB_DIR_IN, 215 case USB_RT_HUB | USB_DIR_IN: in sandbox_hub_submit_control_msg() 232 case USB_RT_PORT | USB_DIR_IN: in sandbox_hub_submit_control_msg()
|