Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.3-rc2/drivers/usb/gadget/udc/
A Domap_udc.c125 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep()
305 (ep->bEndpointAddress & USB_DIR_IN)); in done()
832 if (ep->bEndpointAddress & USB_DIR_IN) { in dma_channel_release()
908 (ep->bEndpointAddress & USB_DIR_IN)); in omap_ep_queue()
1072 if ((ep->bEndpointAddress & USB_DIR_IN) in omap_ep_set_halt()
1572 if (w_index & USB_DIR_IN) in ep0_irq()
1600 if (w_index & USB_DIR_IN) in ep0_irq()
1636 if (w_index & USB_DIR_IN) in ep0_irq()
2471 if (addr & USB_DIR_IN) in omap_ep_setup()
2542 if (addr & USB_DIR_IN) in omap_ep_setup()
[all …]
A 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()
A Dfsl_qe_udc.c327 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()
824 if (ep->dir == USB_DIR_IN) { in qe_ep0_rx()
1030 if (ep->dir == USB_DIR_IN) { in qe_ep_rx()
1252 udc->ep0_dir = USB_DIR_IN; in ep0_prime_status()
1970 if (index & USB_DIR_IN) { in ch9getstatus()
1992 udc->ep0_dir = USB_DIR_IN; in ch9getstatus()
2017 udc->ep0_dir = USB_DIR_IN; in setup_received_handle()
[all …]
A Dfsl_qe_udc.h155 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
156 & USB_DIR_IN) == USB_DIR_IN)
A Dpxa25x_udc.c1019 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt()
1696 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0()
2018 .bEndpointAddress = USB_DIR_IN | 1,
2050 .bEndpointAddress = USB_DIR_IN | 3,
2080 .bEndpointAddress = USB_DIR_IN | 5,
2097 .bEndpointAddress = USB_DIR_IN | 6,
2128 .bEndpointAddress = USB_DIR_IN | 8,
2158 .bEndpointAddress = USB_DIR_IN | 10,
2175 .bEndpointAddress = USB_DIR_IN | 11,
2206 .bEndpointAddress = USB_DIR_IN | 13,
[all …]
/linux-6.3-rc2/drivers/usb/gadget/
A Depautoconf.c95 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.3-rc2/drivers/usb/common/
A Ddebug.c28 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.3-rc2/include/linux/usb/
A Dhcd.h581 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8)
586 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
589 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8)
598 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_DESCRIPTOR)
599 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_STATUS)
600 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, USB_REQ_GET_STATUS)
605 #define GetTTState HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_TT_STATE)
613 #define GetPortErrorCount HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_PORT_ERR_COUNT)
670 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
/linux-6.3-rc2/drivers/usb/isp1760/
A Disp1760-udc.c131 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()
478 __isp1760_udc_select_ep(udc, ep, USB_DIR_IN); 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()
531 case USB_DIR_IN | USB_RECIP_ENDPOINT: in isp1760_udc_get_status()
744 else if (req.r.bRequestType & USB_DIR_IN) in isp1760_ep0_setup()
[all …]
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/
A Dpcan_usb_pro.h24 #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.3-rc2/drivers/media/radio/
A Ddsbr100.c90 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.3-rc2/sound/usb/
A Dclock.c103 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.3-rc2/drivers/media/usb/dvb-usb-v2/
A Dec168.c30 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()
A Dau6610.c45 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.3-rc2/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c100 .bEndpointAddress = 1 | USB_DIR_IN,
122 .bEndpointAddress = 1 | USB_DIR_IN,
202 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
/linux-6.3-rc2/drivers/usb/usbip/
A 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-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dusb.c63 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.3-rc2/tools/usb/ffs-aio-example/multibuff/device_app/
A 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-6.3-rc2/drivers/usb/gadget/function/
A Df_rndis.c191 .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()
A Df_ecm.c192 .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,
A Df_ncm.c250 .bEndpointAddress = USB_DIR_IN,
260 .bEndpointAddress = USB_DIR_IN,
295 .bEndpointAddress = USB_DIR_IN,
304 .bEndpointAddress = USB_DIR_IN,
342 .bEndpointAddress = USB_DIR_IN,
362 .bEndpointAddress = USB_DIR_IN,
724 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup()
735 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup()
759 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup()
793 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup()
/linux-6.3-rc2/drivers/media/usb/b2c2/
A Dflexcop-usb.c73 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.3-rc2/drivers/usb/misc/
A 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()
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()
/linux-6.3-rc2/drivers/net/ieee802154/
A Datusb.h92 #define ATUSB_REQ_FROM_DEV (USB_TYPE_VENDOR | USB_DIR_IN)
/linux-6.3-rc2/drivers/usb/musb/
A Dmusb_gadget_ep0.c91 is_in = epnum & USB_DIR_IN; in service_tx_status_request()
251 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
411 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
608 if (req->bRequestType & USB_DIR_IN) in musb_read_setup()
611 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()

Completed in 79 milliseconds

12345678910>>...12