/linux-4.1.27/include/uapi/linux/usb/ |
D | ch9.h | 392 #define USB_ENDPOINT_DIR_MASK 0x80 macro 450 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 462 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
|
/linux-4.1.27/drivers/media/rc/ |
D | redrat3.c | 925 ((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) && in redrat3_dev_probe() 936 ((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) && in redrat3_dev_probe()
|
D | imon.c | 2126 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | udc.c | 403 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr() 882 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response() 1035 dir = num & USB_ENDPOINT_DIR_MASK; in isr_setup_packet_handler() 1086 dir = num & USB_ENDPOINT_DIR_MASK; in isr_setup_packet_handler()
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 776 if (ep & USB_ENDPOINT_DIR_MASK) in ep_to_host_endpoint() 1308 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb() 1319 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; in proc_do_submiturb() 1570 ((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK) in proc_do_submiturb()
|
D | config.c | 169 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_sasem.c | 704 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in sasem_probe()
|
D | lirc_imon.c | 744 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_probe()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozhcd.c | 1202 if (ep_addr & USB_ENDPOINT_DIR_MASK) { in oz_build_endpoints_for_interface() 1226 if (ep_addr & USB_ENDPOINT_DIR_MASK) { in oz_build_endpoints_for_interface() 1235 if (ep_addr & USB_ENDPOINT_DIR_MASK) { in oz_build_endpoints_for_interface()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
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()
|
D | fusb300_udc.c | 213 info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in config_ep()
|
D | udc-xilinx.c | 1684 outinbit = udc->setup.wIndex & USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
|
D | m66592-udc.c | 442 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
|
D | gr_udc.c | 1006 u8 is_in = index & USB_ENDPOINT_DIR_MASK; in gr_endpoint_request()
|
D | r8a66597-udc.c | 515 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
|
D | fsl_qe_udc.c | 650 switch (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) { in qe_ep_init()
|
/linux-4.1.27/drivers/usb/dwc3/ |
D | ep0.c | 316 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
|
/linux-4.1.27/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 1277 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature() 1352 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_status()
|
/linux-4.1.27/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 1476 epnum = ep_adrs & ~USB_ENDPOINT_DIR_MASK; in _nbu2ss_get_ep_stall() 1486 if (ep_adrs & USB_ENDPOINT_DIR_MASK) in _nbu2ss_get_ep_stall() 2642 ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in nbu2ss_ep_enable()
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-cards.c | 1258 USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in tm6000_usb_probe()
|
/linux-4.1.27/drivers/net/irda/ |
D | irda-usb.c | 1471 dir = endpoint[i].desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK; in irda_usb_parse_endpoints()
|
/linux-4.1.27/drivers/usb/host/ |
D | r8a66597-hcd.c | 790 USB_ENDPOINT_DIR_MASK + info->epnum in enable_r8a66597_pipe_dma() 1181 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet()
|
/linux-4.1.27/drivers/usb/isp1760/ |
D | isp1760-udc.c | 101 __isp1760_udc_select_ep(ep, ep->addr & USB_ENDPOINT_DIR_MASK); in isp1760_udc_select_ep()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_video.c | 1875 & USB_ENDPOINT_DIR_MASK; in uvc_video_enable()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-video.c | 1760 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in au0828_analog_register()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_host.c | 2235 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()
|
/linux-4.1.27/drivers/net/usb/ |
D | hso.c | 3157 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep()
|
/linux-4.1.27/drivers/usb/dwc2/ |
D | gadget.c | 2608 dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in s3c_hsotg_ep_enable()
|