Home
last modified time | relevance | path

Searched refs:USB_ENDPOINT_DIR_MASK (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/media/usb/b2c2/
Dflexcop-usb.c148 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()
/linux-6.1.9/include/uapi/linux/usb/
Dch9.h430 #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()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-ep0.c141 (wIndex & USB_ENDPOINT_DIR_MASK ? 1 : 0) - 1; in cdnsp_w_index_to_ep_index()
/linux-6.1.9/drivers/media/rc/
Dredrat3.c996 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()
Dimon.c2140 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
/linux-6.1.9/drivers/usb/chipidea/
Dudc.c423 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr()
1015 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response()
1177 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1229 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
/linux-6.1.9/drivers/net/can/usb/
Ducan.c1354 if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) != 0) && in ucan_probe()
1361 } else if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == in ucan_probe()
/linux-6.1.9/drivers/usb/core/
Ddevio.c931 if (ep & USB_ENDPOINT_DIR_MASK) in ep_to_host_endpoint()
1640 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb()
1651 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; in proc_do_submiturb()
1939 ((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK) in proc_do_submiturb()
Dconfig.c282 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint()
/linux-6.1.9/drivers/usb/gadget/udc/
Dmv_udc_core.c1548 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus()
1581 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9clearfeature()
1636 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9setfeature()
Dfusb300_udc.c210 info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in config_ep()
Dm66592-udc.c439 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
Dgr_udc.c986 u8 is_in = index & USB_ENDPOINT_DIR_MASK; in gr_endpoint_request()
Dudc-xilinx.c1695 outinbit = udc->setup.wIndex & USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
Dr8a66597-udc.c512 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c1367 epnum = ep_adrs & ~USB_ENDPOINT_DIR_MASK; in _nbu2ss_get_ep_stall()
1377 if (ep_adrs & USB_ENDPOINT_DIR_MASK) in _nbu2ss_get_ep_stall()
2453 ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in nbu2ss_ep_enable()
/linux-6.1.9/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c1273 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.1.9/drivers/usb/dwc3/
Dep0.c310 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000-cards.c1242 USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in tm6000_usb_probe()
/linux-6.1.9/drivers/usb/host/
Dr8a66597-hcd.c775 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.1.9/drivers/usb/isp1760/
Disp1760-udc.c152 __isp1760_udc_select_ep(udc, ep, ep->addr & USB_ENDPOINT_DIR_MASK); in isp1760_udc_select_ep()
/linux-6.1.9/sound/usb/
Dendpoint.c686 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in snd_usb_add_endpoint()
/linux-6.1.9/drivers/media/usb/au0828/
Dau0828-video.c1928 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in au0828_analog_register()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_video.c2230 & USB_ENDPOINT_DIR_MASK; in uvc_video_stop_streaming()
/linux-6.1.9/drivers/usb/musb/
Dmusb_host.c2276 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()

12