/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_keyb.c | 105 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK, 139 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
|
H A D | sandbox_flash.c | 155 .bEndpointAddress = SANDBOX_FLASH_EP_IN | USB_ENDPOINT_DIR_MASK,
|
/openbmc/linux/drivers/media/usb/b2c2/ |
H A D | flexcop-usb.c | 148 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) in flexcop_usb_v8_memory_req() 164 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_v8_memory_req() 274 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) in flexcop_usb_i2c_req() 291 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_i2c_req()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | ch9.h | 412 #define USB_ENDPOINT_DIR_MASK 0x80 macro 476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | ch9.h | 430 #define USB_ENDPOINT_DIR_MASK 0x80 macro 494 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 506 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
|
/openbmc/u-boot/include/ |
H A D | usb_defs.h | 108 #define USB_ENDPOINT_DIR_MASK 0x80 macro
|
H A D | usbdevice.h | 223 #define USB_ENDPOINT_DIR_MASK 0x80 macro
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | aspeed_usbtty.c | 214 ep_isout = (endpoint->endpoint_address & USB_ENDPOINT_DIR_MASK) == in aspeed_udc_ep_handle() 594 ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_setup_ep()
|
H A D | pxa27x_udc.c | 374 int ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_handle_ep() 558 ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_setup_ep()
|
H A D | designware_udc.c | 610 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep() 662 } else if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-ep0.c | 141 (wIndex & USB_ENDPOINT_DIR_MASK ? 1 : 0) - 1; in cdnsp_w_index_to_ep_index()
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | udc.c | 423 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr() 1027 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response() 1189 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler() 1241 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
|
/openbmc/linux/drivers/media/rc/ |
H A D | redrat3.c | 996 if (((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) && in redrat3_dev_probe() 1009 ((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) && in redrat3_dev_probe()
|
/openbmc/linux/drivers/usb/core/ |
H A D | config.c | 282 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint() 301 (USB_ENDPOINT_DIR_MASK | USB_ENDPOINT_NUMBER_MASK); in usb_parse_endpoint()
|
H A D | devio.c | 940 if (ep & USB_ENDPOINT_DIR_MASK) in ep_to_host_endpoint() 1649 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb() 1660 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; in proc_do_submiturb() 1948 ((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK) in proc_do_submiturb()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | ucan.c | 1355 if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) != 0) && in ucan_probe() 1362 } else if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == in ucan_probe()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 29 (wIndex & USB_ENDPOINT_DIR_MASK ? 1 : 0) - 1; in cdns2_w_index_to_ep_index()
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_udc.c | 874 if (USB_DIR_IN == (ep_addr & USB_ENDPOINT_DIR_MASK)) { in udc_setup_ep()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 1547 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus() 1580 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9clearfeature() 1635 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9setfeature()
|
/openbmc/linux/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 1364 epnum = ep_adrs & ~USB_ENDPOINT_DIR_MASK; in _nbu2ss_get_ep_stall() 1374 if (ep_adrs & USB_ENDPOINT_DIR_MASK) in _nbu2ss_get_ep_stall() 2450 ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in nbu2ss_ep_enable()
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_ep.c | 1273 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature() 1348 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_status()
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | ep0.c | 312 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | ep0.c | 317 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
|
/openbmc/linux/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 775 USB_ENDPOINT_DIR_MASK + info->epnum in enable_r8a66597_pipe_dma() 1166 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 152 __isp1760_udc_select_ep(udc, ep, ep->addr & USB_ENDPOINT_DIR_MASK); in isp1760_udc_select_ep()
|