/openbmc/u-boot/drivers/usb/gadget/ |
H A D | epautoconf.c | 104 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 150 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 153 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches() 244 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 269 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 272 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 275 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
|
H A D | fotg210.c | 62 .bEndpointAddress = USB_DIR_IN, 81 if (ep_addr & USB_DIR_IN) { in ep_reset() 236 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma() 243 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma() 357 if (req->bRequestType & USB_DIR_IN) in fotg210_setup() 358 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup() 473 if (ep->stopped || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_recv() 507 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable() 617 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue() 621 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue() [all …]
|
H A D | ci_udc.c | 79 .bEndpointAddress = USB_DIR_IN, 333 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 438 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 564 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 597 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 602 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 613 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in handle_ep_complete() 690 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 692 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 724 & USB_DIR_IN) != 0; in handle_setup() [all …]
|
H A D | dwc2_udc_otg_priv.h | 89 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
|
H A D | pxa25x_udc.c | 814 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue() 911 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 952 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status() 974 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush() 1326 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1463 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep() 1659 .bEndpointAddress = USB_DIR_IN | 1, 1687 .bEndpointAddress = USB_DIR_IN | 3, 1714 .bEndpointAddress = USB_DIR_IN | 5, 1729 .bEndpointAddress = USB_DIR_IN | 6, [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A 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 …]
|
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() 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 …]
|
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()
|
/openbmc/u-boot/include/ |
H A D | usb_defs.h | 63 #define USB_DIR_IN 0x80 macro 70 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE) << 8) 76 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8) 79 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8)
|
H A D | usb.h | 348 USB_DIR_IN) 353 USB_DIR_IN) 358 USB_DIR_IN) 363 USB_DIR_IN) 368 USB_DIR_IN) 383 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
/openbmc/linux/include/linux/usb/ |
H A D | hcd.h | 583 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8) 588 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 591 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8) 600 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_DESCRIPTOR) 601 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, USB_REQ_GET_STATUS) 602 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, USB_REQ_GET_STATUS) 607 #define GetTTState HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_TT_STATE) 615 #define GetPortErrorCount HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, HUB_GET_PORT_ERR_COUNT) 672 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
|
/openbmc/linux/drivers/usb/common/ |
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A 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 …]
|
/openbmc/qemu/include/hw/ |
H A D | usb.h | 93 #define USB_DIR_IN 0x80 macro 107 #define DeviceRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8) 109 #define VendorDeviceRequest ((USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_DEVICE)<<8) 114 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 118 ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE)<<8) 122 ((USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_INTERFACE)<<8) 126 #define EndpointRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8)
|
/openbmc/linux/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)
|
/openbmc/linux/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()
|
/openbmc/qemu/hw/usb/ |
H A D | dev-hid.c | 102 .bEndpointAddress = USB_DIR_IN | 0x01, 133 .bEndpointAddress = USB_DIR_IN | 0x01, 163 .bEndpointAddress = USB_DIR_IN | 0x01, 193 .bEndpointAddress = USB_DIR_IN | 0x01, 224 .bEndpointAddress = USB_DIR_IN | 0x01, 255 .bEndpointAddress = USB_DIR_IN | 0x01,
|
/openbmc/linux/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()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 82 .bEndpointAddress = 1 | USB_DIR_IN, 212 case USB_RT_HUB | USB_DIR_IN: in sandbox_hub_submit_control_msg() 229 case USB_RT_PORT | USB_DIR_IN: in sandbox_hub_submit_control_msg()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0014-add-u3-ss-descriptor-support-for-adb.patch | 136 + .bEndpointAddress = 2 | USB_DIR_IN, 163 + .bEndpointAddress = 2 | USB_DIR_IN, 213 - .bEndpointAddress = 2 | USB_DIR_IN, 220 + .bEndpointAddress = 2 | USB_DIR_IN, 245 - .bEndpointAddress = 2 | USB_DIR_IN,
|
/openbmc/linux/sound/usb/ |
H A D | clock.c | 125 USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN, in uac_clock_selector_get_val() 214 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in uac_clock_source_is_valid_quirk() 258 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in uac_clock_source_is_valid() 463 USB_TYPE_CLASS | USB_RECIP_ENDPOINT | USB_DIR_IN, in set_sample_rate_v1() 496 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in get_sample_rate_v2v3()
|
/openbmc/linux/drivers/usb/usbip/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A 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()
|
/openbmc/linux/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 100 .bEndpointAddress = 1 | USB_DIR_IN, 122 .bEndpointAddress = 1 | USB_DIR_IN, 202 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|