| /linux-6.15/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() 272 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) in flexcop_usb_i2c_req() 289 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_i2c_req()
|
| /linux-6.15/include/uapi/linux/usb/ |
| H A D | ch9.h | 438 #define USB_ENDPOINT_DIR_MASK 0x80 macro 502 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 514 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| H A D | imon.c | 2137 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
|
| /linux-6.15/drivers/usb/chipidea/ |
| H A D | udc.c | 424 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr() 1185 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response() 1347 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler() 1399 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/usb/core/ |
| H A D | devio.c | 943 if (ep & USB_ENDPOINT_DIR_MASK) in ep_to_host_endpoint() 1652 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb() 1663 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; in proc_do_submiturb() 1951 ((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK) in proc_do_submiturb()
|
| H A D | config.c | 329 (USB_ENDPOINT_DIR_MASK | USB_ENDPOINT_NUMBER_MASK); in usb_parse_endpoint()
|
| /linux-6.15/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()
|
| H A D | fusb300_udc.c | 210 info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in config_ep()
|
| H A D | m66592-udc.c | 439 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
|
| H A D | gr_udc.c | 985 u8 is_in = index & USB_ENDPOINT_DIR_MASK; in gr_endpoint_request()
|
| H A D | udc-xilinx.c | 1699 USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
|
| H A D | r8a66597-udc.c | 512 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
|
| H A D | fsl_qe_udc.c | 649 switch (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) { in qe_ep_init()
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/usb/dwc3/ |
| H A D | ep0.c | 317 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/sound/usb/ |
| H A D | endpoint.c | 710 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in snd_usb_add_endpoint()
|
| /linux-6.15/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 2376 & USB_ENDPOINT_DIR_MASK; in uvc_video_stop_streaming()
|
| /linux-6.15/drivers/media/usb/au0828/ |
| H A D | au0828-video.c | 1924 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in au0828_analog_register()
|
| /linux-6.15/drivers/usb/musb/ |
| H A D | musb_host.c | 2282 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()
|