/external/u-boot/drivers/usb/gadget/ |
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()
|
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 …]
|
D | ci_udc.c | 80 .bEndpointAddress = USB_DIR_IN, 334 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 439 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request() 565 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue() 598 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 603 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 614 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in handle_ep_complete() 691 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 693 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 725 & USB_DIR_IN) != 0; in handle_setup() [all …]
|
D | dwc2_udc_otg_priv.h | 88 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
|
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 …]
|
D | storage_common.c | 420 .bEndpointAddress = USB_DIR_IN, 442 .bEndpointAddress = USB_DIR_IN,
|
D | at91_udc.c | 862 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup() 926 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE) << 8) in handle_setup() 957 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE) << 8) in handle_setup() 974 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT) << 8) in handle_setup() 982 if ((w_index & USB_DIR_IN)) { in handle_setup() 1005 if ((w_index & USB_DIR_IN)) { in handle_setup() 1026 if ((w_index & USB_DIR_IN)) { in handle_setup()
|
D | f_fastboot.c | 57 .bEndpointAddress = USB_DIR_IN, 73 .bEndpointAddress = USB_DIR_IN,
|
D | atmel_usba_udc.c | 572 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr() 722 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 725 == (USB_DIR_IN | USB_RECIP_INTERFACE)) { in handle_ep0_setup() 728 == (USB_DIR_IN | USB_RECIP_ENDPOINT)) { in handle_ep0_setup() 988 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq()
|
D | ether.c | 554 .bEndpointAddress = USB_DIR_IN, 647 .bEndpointAddress = USB_DIR_IN, 1263 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1313 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1392 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup() 1456 if ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
|
/external/u-boot/include/ |
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)
|
D | usb.h | 354 USB_DIR_IN) 359 USB_DIR_IN) 364 USB_DIR_IN) 369 USB_DIR_IN) 374 USB_DIR_IN) 389 #define usb_packetid(pipe) (((pipe) & USB_DIR_IN) ? USB_PID_IN : \
|
/external/u-boot/drivers/usb/emul/ |
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()
|
/external/u-boot/drivers/serial/ |
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()
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_gadget_ep0.c | 97 is_in = epnum & USB_DIR_IN; in service_tx_status_request() 253 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 417 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 612 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 615 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
/external/u-boot/common/ |
D | usb_hub.c | 96 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in usb_get_hub_descriptor() 117 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0, in usb_get_hub_status() 126 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port, in usb_get_port_status() 894 if (!(ep->bEndpointAddress & USB_DIR_IN)) in usb_hub_check()
|
D | usb.c | 299 if ((pipe & USB_DIR_IN) == 0) in usb_maxpacket() 561 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_descriptor() 705 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usb_get_report() 716 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN, in usb_get_class_descriptor() 732 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_string()
|
/external/u-boot/drivers/usb/eth/ |
D | usb_ether.c | 46 if (ep_addr & USB_DIR_IN && !ep_in_found) { in usb_ether_register() 50 } else if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in usb_ether_register()
|
D | asix88179.c | 258 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in asix_read_cmd() 693 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in ax88179_eth_probe() 698 if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in ax88179_eth_probe()
|
/external/u-boot/drivers/usb/host/ |
D | dwc2.c | 533 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_status() 602 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_descriptor() 681 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_configuration() 730 switch (bmrtype_breq & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_out() 799 if (cmd->requesttype & USB_DIR_IN) in dwc_otg_submit_rh_msg()
|
D | xhci-ring.c | 833 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 875 if (req->requesttype & USB_DIR_IN) in xhci_ctrl_tx() 895 if (length > 0 && req->requesttype & USB_DIR_IN) in xhci_ctrl_tx()
|
D | usb-sandbox.c | 24 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
|
/external/u-boot/drivers/usb/cdns3/ |
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()
|
/external/u-boot/include/linux/usb/ |
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()
|
/external/libpcap/ |
D | pcap-usb-linux.c | 401 #define USB_DIR_IN 0x80 macro 446 ctrl.bRequestType = USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE; in probe_devices() 452 ctrl.requesttype = USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE; in probe_devices()
|