| /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) 91 #define GetHubDescriptor HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, \ 93 #define GetHubStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_HUB, \ 95 #define GetPortStatus HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, \ 105 #define GetTTState HUB_CLASS_REQ(USB_DIR_IN, USB_RT_PORT, \
|
| A D | usb.h | 359 USB_DIR_IN) 364 USB_DIR_IN) 369 USB_DIR_IN) 374 USB_DIR_IN) 379 USB_DIR_IN) 394 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
| /u-boot/drivers/usb/gadget/ |
| A D | epautoconf.c | 98 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 144 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 147 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches() 242 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 268 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 271 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 274 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 | ci_udc.c | 82 .bEndpointAddress = USB_DIR_IN, 337 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 447 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 573 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 606 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 611 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 699 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 701 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 733 & USB_DIR_IN) != 0; in handle_setup() 795 & USB_DIR_IN) != 0; in stop_activity() [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, 136 .bEndpointAddress = USB_DIR_IN,
|
| A D | f_dfu.c | 328 if (!(ctrl->bRequestType & USB_DIR_IN)) { in state_dfu_idle() 340 if (ctrl->bRequestType & USB_DIR_IN) { in state_dfu_idle() 439 if (!(ctrl->bRequestType & USB_DIR_IN)) { in state_dfu_dnload_idle() 530 if (ctrl->bRequestType & USB_DIR_IN) { in state_dfu_upload_idle()
|
| A D | f_acm.c | 130 .bEndpointAddress = 3 | USB_DIR_IN, 139 .bEndpointAddress = USB_DIR_IN, 407 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in acm_setup()
|
| 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 | 547 .bEndpointAddress = USB_DIR_IN, 640 .bEndpointAddress = USB_DIR_IN, 1249 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1299 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1358 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup() 1422 if ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
|
| /u-boot/drivers/usb/eth/ |
| A D | usb_ether.c | 47 if (ep_addr & USB_DIR_IN && !ep_in_found) { in usb_ether_register() 51 } else if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in usb_ether_register()
|
| /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() 226 case USB_RT_PORT | USB_DIR_IN: in sandbox_hub_submit_control_msg()
|
| /u-boot/drivers/serial/ |
| A D | usbtty.c | 206 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 243 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 322 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 332 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 697 if (endpoint_instance[i].endpoint_address & USB_DIR_IN) in usbtty_init_instances()
|
| /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/common/ |
| A D | usb_hub.c | 101 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in usb_get_hub_descriptor() 122 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0, in usb_get_hub_status() 131 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port, in usb_get_port_status() 896 if (!(ep->bEndpointAddress & USB_DIR_IN)) in usb_hub_check()
|
| A D | usb.c | 304 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 566 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_descriptor() 710 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usb_get_report() 721 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN, in usb_get_class_descriptor() 737 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_string()
|
| /u-boot/drivers/usb/host/ |
| A D | usb-sandbox.c | 32 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
|
| A D | dwc2.c | 544 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_status() 613 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_descriptor() 692 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_configuration() 741 switch (bmrtype_breq & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_out() 802 if (cmd->requesttype & USB_DIR_IN) in dwc_otg_submit_rh_msg()
|
| A D | xhci-ring.c | 892 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 932 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 952 if (length > 0 && req->requesttype & USB_DIR_IN) in xhci_ctrl_tx()
|
| /u-boot/drivers/usb/common/ |
| A D | usb_urb.c | 87 urb->ep->desc.bEndpointAddress = ((is_in ? USB_DIR_IN : USB_DIR_OUT) | in usb_urb_fill()
|
| /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()
|