Home
last modified time | relevance | path

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

12

/u-boot/drivers/usb/gadget/
A Depautoconf.c104 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 Ddwc2_udc_otg_priv.h88 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
A Dfotg210.c65 .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 Dci_udc.c82 .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 Dpxa25x_udc.c915 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 Dstorage_common.c422 .bEndpointAddress = USB_DIR_IN,
444 .bEndpointAddress = USB_DIR_IN,
A Df_fastboot.c78 .bEndpointAddress = USB_DIR_IN,
94 .bEndpointAddress = USB_DIR_IN,
135 .bEndpointAddress = USB_DIR_IN,
A Dat91_udc.c865 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 Datmel_usba_udc.c573 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 Dether.c555 .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 Dusb_defs.h63 #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 Dusb.h355 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 Dsandbox_hub.c83 .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 Dusb_ether.c49 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 Dasix88179.c260 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 Dmusb_gadget_ep0.c101 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 Dusbtty.c220 .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 Dusb_hub.c99 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 Dusb.c308 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 Dusb-sandbox.c25 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
A Ddwc2.c545 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 Dxhci-ring.c845 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 Dch9.h51 #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 Dep0.c400 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 Dmtu3_gadget_ep0.c254 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()

Completed in 69 milliseconds

12