Home
last modified time | relevance | path

Searched refs:ep_dir (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/udc/
Dmv_udc_core.c39 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ macro
234 usb_gadget_unmap_request(&udc->gadget, &req->req, ep_dir(ep)); in done()
261 direction = ep_dir(ep); in queue_dtd()
456 direction = ep_dir(ep); in mv_ep_enable()
572 direction = ep_dir(ep); in mv_ep_disable()
635 direction = ep_dir(ep); in mv_ep_fifo_flush()
708 retval = usb_gadget_map_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue()
744 usb_gadget_unmap_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue()
764 bit_pos = 1 << (((ep_dir(ep) == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in mv_prime_ep()
789 if (ep_dir(ep) == EP_DIR_IN) in mv_ep_dequeue()
[all …]
Dfsl_udc_core.c1005 unsigned char ep_dir = 0, ep_num = 0; in fsl_ep_set_halt() local
1028 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1031 dr_ep_change_stall(ep_num, ep_dir, value); in fsl_ep_set_halt()
1079 int ep_num, ep_dir; in fsl_ep_fifo_flush() local
1092 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_fifo_flush()
1096 else if (ep_dir == USB_SEND) in fsl_ep_fifo_flush()
/Linux-v6.6/drivers/usb/cdns3/
Dcdns3-trace.h152 __field(int, ep_dir)
156 __entry->ep_dir = priv_dev->selected_ep;
160 __entry->ep_dir,
Dcdns3-gadget.c3077 int ep_dir, ep_number; in cdns3_init_eps() local
3089 ep_dir = i >> 4; /* i div 16 */ in cdns3_init_eps()
3096 if (ep_dir && !ep_number) { in cdns3_init_eps()
3110 priv_ep->dir = ep_dir ? USB_DIR_IN : USB_DIR_OUT; in cdns3_init_eps()
3120 ep_number, !!ep_dir ? "in" : "out"); in cdns3_init_eps()
3127 if (ep_dir) in cdns3_init_eps()
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/
Dcdns2-trace.h220 __field(int, ep_dir)
225 __entry->ep_dir = pdev->selected_ep;
232 __entry->ep_dir))
/Linux-v6.6/include/linux/usb/
Dhcd.h671 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN)) argument
/Linux-v6.6/drivers/media/rc/
Dimon.c2128 int i, ep_dir, ep_type; in imon_find_endpoints() local
2140 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
2143 if (!ir_ep_found && ep_dir == USB_DIR_IN && in imon_find_endpoints()
2150 } else if (!display_ep_found && ep_dir == USB_DIR_OUT && in imon_find_endpoints()
/Linux-v6.6/drivers/usb/dwc2/
Dhcd.c3832 u8 ep_num, u8 ep_type, u8 ep_dir, in dwc2_hcd_urb_set_pipeinfo() argument
3840 dev_addr, ep_num, ep_dir, ep_type, maxp, maxp_mult); in dwc2_hcd_urb_set_pipeinfo()
3844 urb->pipe_info.pipe_dir = ep_dir; in dwc2_hcd_urb_set_pipeinfo()