/u-boot/drivers/usb/gadget/ |
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() 248 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 274 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 277 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 280 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
|
A D | dwc2_udc_otg_priv.h | 88 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
|
A D | fotg210.c | 65 .bEndpointAddress = USB_DIR_IN, 84 if (ep_addr & USB_DIR_IN) { in ep_reset() 239 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma() 246 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma() 360 if (req->bRequestType & USB_DIR_IN) in fotg210_setup() 361 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup() 510 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable() 620 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue() 624 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue() 686 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_halt() [all …]
|
A D | ci_udc.c | 82 .bEndpointAddress = USB_DIR_IN, 337 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 444 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 570 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 603 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 608 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 696 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 698 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 730 & USB_DIR_IN) != 0; in handle_setup() 792 & USB_DIR_IN) != 0; in stop_activity() [all …]
|
A D | pxa25x_udc.c | 915 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 1330 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1663 .bEndpointAddress = USB_DIR_IN | 1, 1691 .bEndpointAddress = USB_DIR_IN | 3, 1718 .bEndpointAddress = USB_DIR_IN | 5, 1733 .bEndpointAddress = USB_DIR_IN | 6, 1760 .bEndpointAddress = USB_DIR_IN | 8, 1787 .bEndpointAddress = USB_DIR_IN | 10, 1802 .bEndpointAddress = USB_DIR_IN | 11, 1829 .bEndpointAddress = USB_DIR_IN | 13, [all …]
|
A D | storage_common.c | 422 .bEndpointAddress = USB_DIR_IN, 444 .bEndpointAddress = USB_DIR_IN,
|
A D | f_fastboot.c | 78 .bEndpointAddress = USB_DIR_IN, 94 .bEndpointAddress = USB_DIR_IN, 135 .bEndpointAddress = USB_DIR_IN,
|
A D | at91_udc.c | 865 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup() 929 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE) << 8) in handle_setup() 960 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE) << 8) in handle_setup() 977 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT) << 8) in handle_setup() 985 if ((w_index & USB_DIR_IN)) { in handle_setup() 1008 if ((w_index & USB_DIR_IN)) { in handle_setup() 1029 if ((w_index & USB_DIR_IN)) { in handle_setup()
|
A D | atmel_usba_udc.c | 573 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr() 723 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 726 == (USB_DIR_IN | USB_RECIP_INTERFACE)) { in handle_ep0_setup() 729 == (USB_DIR_IN | USB_RECIP_ENDPOINT)) { in handle_ep0_setup() 989 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq()
|
A D | ether.c | 555 .bEndpointAddress = USB_DIR_IN, 648 .bEndpointAddress = USB_DIR_IN, 1264 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1314 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1393 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup() 1457 if ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
|
/u-boot/include/ |
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)
|
A D | usb.h | 355 USB_DIR_IN) 360 USB_DIR_IN) 365 USB_DIR_IN) 370 USB_DIR_IN) 375 USB_DIR_IN) 390 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
/u-boot/drivers/usb/emul/ |
A D | sandbox_hub.c | 83 .bEndpointAddress = 1 | USB_DIR_IN, 213 case USB_RT_HUB | USB_DIR_IN: in sandbox_hub_submit_control_msg() 230 case USB_RT_PORT | USB_DIR_IN: in sandbox_hub_submit_control_msg()
|
/u-boot/drivers/usb/eth/ |
A D | usb_ether.c | 49 if (ep_addr & USB_DIR_IN && !ep_in_found) { in usb_ether_register() 53 } else if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in usb_ether_register()
|
A D | asix88179.c | 260 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in asix_read_cmd() 695 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in ax88179_eth_probe() 700 if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in ax88179_eth_probe()
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_gadget_ep0.c | 101 is_in = epnum & USB_DIR_IN; in service_tx_status_request() 257 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 421 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 616 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 619 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
/u-boot/drivers/serial/ |
A D | usbtty.c | 220 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 257 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 336 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 346 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 714 if (endpoint_instance[i].endpoint_address & USB_DIR_IN) in usbtty_init_instances()
|
/u-boot/common/ |
A D | usb_hub.c | 99 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in usb_get_hub_descriptor() 120 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0, in usb_get_hub_status() 129 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port, in usb_get_port_status() 897 if (!(ep->bEndpointAddress & USB_DIR_IN)) in usb_hub_check()
|
A D | usb.c | 308 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 570 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_descriptor() 714 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usb_get_report() 725 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN, in usb_get_class_descriptor() 741 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_string()
|
/u-boot/drivers/usb/host/ |
A D | usb-sandbox.c | 25 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
|
A D | dwc2.c | 545 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_status() 614 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_descriptor() 693 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_configuration() 742 switch (bmrtype_breq & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_out() 811 if (cmd->requesttype & USB_DIR_IN) in dwc_otg_submit_rh_msg()
|
A D | xhci-ring.c | 845 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 888 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 908 if (length > 0 && req->requesttype & USB_DIR_IN) in xhci_ctrl_tx()
|
/u-boot/include/linux/usb/ |
A D | ch9.h | 51 #define USB_DIR_IN 0x80 /* to host */ macro 476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
|
/u-boot/drivers/usb/cdns3/ |
A D | ep0.c | 400 if (!(ctrl->wIndex & ~USB_DIR_IN)) in cdns3_ep0_feature_handle_endpoint() 574 priv_dev->ep0_data_dir = ctrl->bRequestType & USB_DIR_IN; in cdns3_ep0_setup_phase() 881 cdns3_select_ep(priv_dev, USB_DIR_IN); in cdns3_ep0_config()
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_gadget_ep0.c | 254 is_in = epnum & USB_DIR_IN; in ep0_get_status() 435 is_in = index & USB_DIR_IN; in ep0_handle_feature() 647 } else if (setup->bRequestType & USB_DIR_IN) { in ep0_read_setup()
|