/linux-6.1.9/drivers/usb/gadget/udc/ |
D | omap_udc.c | 125 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep() 226 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable() 305 (ep->bEndpointAddress & USB_DIR_IN)); in done() 706 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim() 824 (ep->bEndpointAddress & USB_DIR_IN) ? 't' : 'r', in dma_channel_release() 832 if (ep->bEndpointAddress & USB_DIR_IN) { in dma_channel_release() 896 && (ep->bEndpointAddress & USB_DIR_IN) == 0 in omap_ep_queue() 908 (ep->bEndpointAddress & USB_DIR_IN)); in omap_ep_queue() 977 is_in = ep->bEndpointAddress & USB_DIR_IN; in omap_ep_queue() 1072 if ((ep->bEndpointAddress & USB_DIR_IN) in omap_ep_set_halt() [all …]
|
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()
|
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() 652 case USB_DIR_IN: in qe_ep_init() 653 ep->dir = USB_DIR_IN; in qe_ep_init() 667 if ((ep->tm == USBP_TM_CTL) || (ep->dir == USB_DIR_IN)) { in qe_ep_init() 824 if (ep->dir == USB_DIR_IN) { in qe_ep0_rx() 947 if (ep->dir == USB_DIR_IN || ep->enable_tasklet == 0) { in ep_rx_tasklet() 1030 if (ep->dir == USB_DIR_IN) { in qe_ep_rx() 1250 if (direction == USB_DIR_IN) { in ep0_prime_status() [all …]
|
D | fsl_qe_udc.h | 155 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 156 & USB_DIR_IN) == USB_DIR_IN)
|
D | pxa25x_udc.c | 920 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue() 1019 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 1060 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status() 1082 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush() 1730 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1851 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep() 2052 .bEndpointAddress = USB_DIR_IN | 1, 2084 .bEndpointAddress = USB_DIR_IN | 3, 2114 .bEndpointAddress = USB_DIR_IN | 5, 2131 .bEndpointAddress = USB_DIR_IN | 6, [all …]
|
D | s3c-hsudc.c | 154 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN) 204 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_complete_request() 585 if (ctrl.bRequestType & USB_DIR_IN) { in s3c_hsudc_process_setup() 586 hsep->bEndpointAddress |= USB_DIR_IN; in s3c_hsudc_process_setup() 589 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 621 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 630 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 659 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_handle_ep0_intr() 935 hsep->bEndpointAddress = USB_DIR_IN; in s3c_hsudc_initep()
|
/linux-6.1.9/drivers/usb/gadget/ |
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()
|
/linux-6.1.9/drivers/usb/common/ |
D | debug.c | 28 wIndex & ~USB_DIR_IN, in usb_decode_get_status() 29 wIndex & USB_DIR_IN ? "in" : "out"); in usb_decode_get_status() 94 wIndex & ~USB_DIR_IN, in usb_decode_set_clear_feature() 95 wIndex & USB_DIR_IN ? "in" : "out"); in usb_decode_set_clear_feature() 226 (bRequestType & USB_DIR_IN) ? "IN" : "OUT", in usb_decode_ctrl_generic()
|
/linux-6.1.9/include/linux/usb/ |
D | hcd.h | 578 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8) 583 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 586 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8) 595 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_DESCRIPTOR) 596 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_STATUS) 597 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, USB_REQ_GET_STATUS) 602 #define GetTTState HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_TT_STATE) 610 #define GetPortErrorCount HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_PORT_ERR_COUNT) 667 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
|
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/ |
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 …]
|
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()
|
/linux-6.1.9/drivers/usb/isp1760/ |
D | isp1760-udc.c | 131 if (dir == USB_DIR_IN) in __isp1760_udc_select_ep() 165 if (dir == USB_DIR_IN) in isp1760_udc_ctrl_send_status() 220 __isp1760_udc_select_ep(udc, ep, USB_DIR_IN); in isp1760_udc_ctrl_send_stall() 314 __isp1760_udc_select_ep(udc, ep, USB_DIR_IN); in isp1760_udc_transmit() 399 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 432 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 478 __isp1760_udc_select_ep(udc, ep, USB_DIR_IN); in __isp1760_udc_set_halt() 495 if ((ep->addr & USB_DIR_IN) && !list_empty(&ep->queue)) { in __isp1760_udc_set_halt() 523 case USB_DIR_IN | USB_RECIP_DEVICE: in isp1760_udc_get_status() 527 case USB_DIR_IN | USB_RECIP_INTERFACE: in isp1760_udc_get_status() [all …]
|
/linux-6.1.9/drivers/net/can/usb/peak_usb/ |
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)
|
/linux-6.1.9/drivers/media/radio/ |
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()
|
/linux-6.1.9/sound/usb/ |
D | clock.c | 103 USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN, in uac_clock_selector_get_val() 192 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in uac_clock_source_is_valid_quirk() 236 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in uac_clock_source_is_valid() 433 USB_TYPE_CLASS | USB_RECIP_ENDPOINT | USB_DIR_IN, in set_sample_rate_v1() 466 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in get_sample_rate_v2v3()
|
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/ |
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()
|
D | au6610.c | 45 USB_TYPE_VENDOR|USB_DIR_IN, addr << 1, index, in au6610_usb_msg() 49 (USB_TYPE_VENDOR|USB_DIR_IN), addr << 1, index, in au6610_usb_msg()
|
/linux-6.1.9/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 82 .bEndpointAddress = 1 | USB_DIR_IN, 104 .bEndpointAddress = 1 | USB_DIR_IN, 184 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/ |
D | usb.c | 63 if (dir == USB_DIR_IN) in mt7601u_usb_submit_buf() 95 const unsigned int pipe = (direction == USB_DIR_IN) ? in mt7601u_vendor_request() 133 ret = mt7601u_vendor_request(dev, MT_VEND_MULTI_READ, USB_DIR_IN, in __mt7601u_rr() 248 dev->in_eps[ep_i - 1] |= USB_DIR_IN; in mt7601u_assign_pipes()
|
/linux-6.1.9/drivers/usb/usbip/ |
D | vudc_transfer.c | 19 #define DEV_INREQUEST (DEV_REQUEST | USB_DIR_IN) 21 #define INTF_INREQUEST (INTF_REQUEST | USB_DIR_IN) 23 #define EP_INREQUEST (EP_REQUEST | USB_DIR_IN) 225 if (urb->pipe & USB_DIR_IN) in transfer()
|
/linux-6.1.9/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 84 .bEndpointAddress = 1 | USB_DIR_IN, 106 .bEndpointAddress = 1 | USB_DIR_IN, 189 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_rndis.c | 191 .bEndpointAddress = USB_DIR_IN, 201 .bEndpointAddress = USB_DIR_IN, 237 .bEndpointAddress = USB_DIR_IN, 247 .bEndpointAddress = USB_DIR_IN, 285 .bEndpointAddress = USB_DIR_IN, 305 .bEndpointAddress = USB_DIR_IN, 494 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in rndis_setup()
|
D | f_ecm.c | 192 .bEndpointAddress = USB_DIR_IN, 202 .bEndpointAddress = USB_DIR_IN, 239 .bEndpointAddress = USB_DIR_IN, 249 .bEndpointAddress = USB_DIR_IN, 288 .bEndpointAddress = USB_DIR_IN, 308 .bEndpointAddress = USB_DIR_IN,
|
/linux-6.1.9/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 73 u8 request_type = (read ? USB_DIR_IN : USB_DIR_OUT) | USB_TYPE_VENDOR; in flexcop_usb_readwrite_dw() 125 request_type |= USB_DIR_IN; in flexcop_usb_v8_memory_req() 164 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_v8_memory_req() 258 request_type |= USB_DIR_IN; in flexcop_usb_i2c_req() 291 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_i2c_req()
|
/linux-6.1.9/drivers/usb/misc/ |
D | lvstest.c | 274 ret = usb_control_msg(udev, (PIPE_CONTROL << 30) | USB_DIR_IN, in get_dev_desc_store() 275 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, USB_DT_DEVICE << 8, in get_dev_desc_store() 340 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, i, in lvs_rh_work() 424 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in lvs_rh_probe()
|