| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | epautoconf.c | 107 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 153 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 156 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches() 247 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 272 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 275 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 278 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
|
| H A D | dwc2_udc_otg_priv.h | 90 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
|
| H A D | fotg210.c | 63 .bEndpointAddress = USB_DIR_IN, 82 if (ep_addr & USB_DIR_IN) { in ep_reset() 237 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma() 244 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma() 358 if (req->bRequestType & USB_DIR_IN) in fotg210_setup() 359 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup() 474 if (ep->stopped || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_recv() 508 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable() 618 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue() 622 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue() [all …]
|
| H A D | ci_udc.c | 80 .bEndpointAddress = USB_DIR_IN, 330 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 435 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 561 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 594 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 599 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 610 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in handle_ep_complete() 687 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 689 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 721 & USB_DIR_IN) != 0; in handle_setup() [all …]
|
| H A D | pxa25x_udc.c | 815 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue() 912 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 953 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status() 975 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush() 1327 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1464 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep() 1660 .bEndpointAddress = USB_DIR_IN | 1, 1688 .bEndpointAddress = USB_DIR_IN | 3, 1715 .bEndpointAddress = USB_DIR_IN | 5, 1730 .bEndpointAddress = USB_DIR_IN | 6, [all …]
|
| H A D | storage_common.c | 425 .bEndpointAddress = USB_DIR_IN, 447 .bEndpointAddress = USB_DIR_IN,
|
| H A D | at91_udc.c | 863 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup() 927 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE) << 8) in handle_setup() 958 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE) << 8) in handle_setup() 975 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT) << 8) in handle_setup() 983 if ((w_index & USB_DIR_IN)) { in handle_setup() 1006 if ((w_index & USB_DIR_IN)) { in handle_setup() 1027 if ((w_index & USB_DIR_IN)) { in handle_setup()
|
| H 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()
|
| H A D | ether.c | 559 .bEndpointAddress = USB_DIR_IN, 652 .bEndpointAddress = USB_DIR_IN, 1268 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1318 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1397 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup() 1461 if ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
|
| H A D | composite.c | 827 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 923 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 949 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usb_defs.h | 64 #define USB_DIR_IN 0x80 macro 71 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE) << 8) 77 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8) 80 ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8)
|
| H A D | usb.h | 349 USB_DIR_IN) 354 USB_DIR_IN) 359 USB_DIR_IN) 364 USB_DIR_IN) 369 USB_DIR_IN) 384 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | sandbox_hub.c | 85 .bEndpointAddress = 1 | USB_DIR_IN, 215 case USB_RT_HUB | USB_DIR_IN: in sandbox_hub_submit_control_msg() 232 case USB_RT_PORT | USB_DIR_IN: in sandbox_hub_submit_control_msg()
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | usbtty.c | 219 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 256 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 335 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 345 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 713 if (endpoint_instance[i].endpoint_address & USB_DIR_IN) in usbtty_init_instances()
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_gadget_ep0.c | 98 is_in = epnum & USB_DIR_IN; in service_tx_status_request() 254 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 418 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 613 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 616 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H 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()
|
| H A D | asix88179.c | 259 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in asix_read_cmd() 694 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in ax88179_eth_probe() 699 if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in ax88179_eth_probe()
|
| H A D | mcs7830.c | 114 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in mcs7830_read_reg() 769 is_input = epaddr & USB_DIR_IN; in mcs7830_eth_probe()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb_hub.c | 98 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in usb_get_hub_descriptor() 119 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0, in usb_get_hub_status() 128 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port, in usb_get_port_status() 913 if (!(ep->bEndpointAddress & USB_DIR_IN)) in usb_hub_check()
|
| H A D | usb.c | 303 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 578 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_descriptor() 722 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usb_get_report() 733 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN, in usb_get_class_descriptor() 749 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_string()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | usb-sandbox.c | 27 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
|
| H A D | dwc2.c | 547 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_status() 616 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_descriptor() 695 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_configuration() 744 switch (bmrtype_breq & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_out() 813 if (cmd->requesttype & USB_DIR_IN) in dwc_otg_submit_rh_msg()
|
| H A D | xhci-ring.c | 875 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 917 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 937 if (length > 0 && req->requesttype & USB_DIR_IN) in xhci_ctrl_tx()
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H 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()
|
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | ep0.c | 395 if (!(ctrl->wIndex & ~USB_DIR_IN)) in cdns3_ep0_feature_handle_endpoint() 565 priv_dev->ep0_data_dir = ctrl->bRequestType & USB_DIR_IN; in cdns3_ep0_setup_phase() 872 cdns3_select_ep(priv_dev, USB_DIR_IN); in cdns3_ep0_config()
|