Home
last modified time | relevance | path

Searched refs:USB_DIR_IN (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/Linux-v4.19/drivers/usb/gadget/udc/
Domap_udc.c122 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 …]
Dfsl_usb2_udc.h573 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()
Dfsl_qe_udc.c152 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 …]
Dfsl_qe_udc.h155 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
156 & USB_DIR_IN) == USB_DIR_IN)
Dpxa25x_udc.c924 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue()
1020 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt()
1061 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status()
1083 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush()
1734 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0()
1855 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep()
2056 .bEndpointAddress = USB_DIR_IN | 1,
2088 .bEndpointAddress = USB_DIR_IN | 3,
2118 .bEndpointAddress = USB_DIR_IN | 5,
2135 .bEndpointAddress = USB_DIR_IN | 6,
[all …]
/Linux-v4.19/drivers/usb/gadget/
Depautoconf.c98 desc->bEndpointAddress &= USB_DIR_IN; in usb_ep_autoconfig_ss()
102 } else if (desc->bEndpointAddress & USB_DIR_IN) { in usb_ep_autoconfig_ss()
105 desc->bEndpointAddress = USB_DIR_IN | gadget->in_epnum; in usb_ep_autoconfig_ss()
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-core.c37 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 …]
Dtm6000-i2c.c91 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-v4.19/include/linux/usb/
Dhcd.h568 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8)
573 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
576 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8)
585 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_DESCRIPTOR)
586 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_STATUS)
587 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, USB_REQ_GET_STATUS)
596 #define GetPortErrorCount HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_PORT_ERR_COUNT)
653 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h32 #define PCAN_USBPRO_EP_CMDIN (PCAN_USBPRO_EP_CMDOUT | USB_DIR_IN)
34 #define PCAN_USBPRO_EP_MSGIN (PCAN_USBPRO_EP_MSGOUT_0 | USB_DIR_IN)
36 #define PCAN_USBPRO_EP_UNUSED (PCAN_USBPRO_EP_MSGOUT_1 | USB_DIR_IN)
/Linux-v4.19/drivers/usb/isp1760/
Disp1760-udc.c82 (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 …]
/Linux-v4.19/drivers/media/radio/
Ddsbr100.c99 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_setfreq()
122 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_start()
140 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_stop()
159 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_getstat()
271 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in usb_dsbr100_disconnect()
/Linux-v4.19/drivers/usb/dwc3/
Ddebug.h226 i & ~USB_DIR_IN, in dwc3_decode_get_status()
227 i & USB_DIR_IN ? "in" : "out"); in dwc3_decode_get_status()
294 i & ~USB_DIR_IN, in dwc3_decode_set_clear_feature()
295 i & USB_DIR_IN ? "in" : "out"); in dwc3_decode_set_clear_feature()
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/
Dec168.c40 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg()
44 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg()
56 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg()
95 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ec168_ctrl_msg()
Dau6610.c54 USB_TYPE_VENDOR|USB_DIR_IN, addr << 1, index, in au6610_usb_msg()
58 (USB_TYPE_VENDOR|USB_DIR_IN), addr << 1, index, in au6610_usb_msg()
/Linux-v4.19/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c82 .bEndpointAddress = 1 | USB_DIR_IN,
104 .bEndpointAddress = 1 | USB_DIR_IN,
184 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
/Linux-v4.19/drivers/usb/usbip/
Dvudc_transfer.c19 #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-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dusb.c70 if (dir == USB_DIR_IN) in mt7601u_usb_submit_buf()
102 const unsigned int pipe = (direction == USB_DIR_IN) ? in mt7601u_vendor_request()
140 ret = mt7601u_vendor_request(dev, MT_VEND_MULTI_READ, USB_DIR_IN, in __mt7601u_rr()
255 dev->in_eps[ep_i - 1] |= USB_DIR_IN; in mt7601u_assign_pipes()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dusb.c77 if (dir == USB_DIR_IN) in mt76x0_usb_submit_buf()
109 const unsigned int pipe = (direction == USB_DIR_IN) ? in mt76x0_vendor_request()
149 ret = mt76x0_vendor_request((struct mt76x0_dev *)dev, MT_VEND_MULTI_READ, USB_DIR_IN, in mt76x0_rr()
241 dev->in_ep[ep_i - 1] |= USB_DIR_IN; in mt76x0_assign_pipes()
/Linux-v4.19/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c84 .bEndpointAddress = 1 | USB_DIR_IN,
106 .bEndpointAddress = 1 | USB_DIR_IN,
189 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
/Linux-v4.19/drivers/usb/gadget/function/
Df_ecm.c191 .bEndpointAddress = USB_DIR_IN,
201 .bEndpointAddress = USB_DIR_IN,
238 .bEndpointAddress = USB_DIR_IN,
248 .bEndpointAddress = USB_DIR_IN,
287 .bEndpointAddress = USB_DIR_IN,
307 .bEndpointAddress = USB_DIR_IN,
Df_rndis.c189 .bEndpointAddress = USB_DIR_IN,
199 .bEndpointAddress = USB_DIR_IN,
235 .bEndpointAddress = USB_DIR_IN,
245 .bEndpointAddress = USB_DIR_IN,
283 .bEndpointAddress = USB_DIR_IN,
303 .bEndpointAddress = USB_DIR_IN,
492 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in rndis_setup()
/Linux-v4.19/drivers/media/usb/b2c2/
Dflexcop-usb.c72 u8 request_type = (read ? USB_DIR_IN : USB_DIR_OUT) | USB_TYPE_VENDOR; in flexcop_usb_readwrite_dw()
124 request_type |= USB_DIR_IN; in flexcop_usb_v8_memory_req()
163 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-v4.19/drivers/net/ieee802154/
Datusb.h94 #define ATUSB_REQ_FROM_DEV (USB_TYPE_VENDOR | USB_DIR_IN)
/Linux-v4.19/drivers/usb/misc/
Dlvstest.c274 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()
343 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, i, in lvs_rh_work()
427 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in lvs_rh_probe()

12345678910>>...13