Searched refs:ep_dir (Results 1 – 6 of 6) sorted by relevance
/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 39 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ macro 235 usb_gadget_unmap_request(&udc->gadget, &req->req, ep_dir(ep)); in done() 262 direction = ep_dir(ep); in queue_dtd() 457 direction = ep_dir(ep); in mv_ep_enable() 573 direction = ep_dir(ep); in mv_ep_disable() 636 direction = ep_dir(ep); in mv_ep_fifo_flush() 709 retval = usb_gadget_map_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue() 745 usb_gadget_unmap_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue() 765 bit_pos = 1 << (((ep_dir(ep) == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in mv_prime_ep() 790 if (ep_dir(ep) == EP_DIR_IN) in mv_ep_dequeue() [all …]
|
D | fsl_udc_core.c | 1007 unsigned char ep_dir = 0, ep_num = 0; in fsl_ep_set_halt() local 1030 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt() 1033 dr_ep_change_stall(ep_num, ep_dir, value); in fsl_ep_set_halt() 1080 int ep_num, ep_dir; in fsl_ep_fifo_flush() local 1093 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_fifo_flush() 1097 else if (ep_dir == USB_SEND) in fsl_ep_fifo_flush()
|
/drivers/usb/cdns3/ |
D | trace.h | 148 __field(int, ep_dir) 153 __entry->ep_dir = priv_dev->ep0_data_dir; 157 __entry->ep_dir,
|
D | gadget.c | 2448 int ep_dir, ep_number; in cdns3_init_eps() local 2460 ep_dir = i >> 4; /* i div 16 */ in cdns3_init_eps() 2467 if (ep_dir && !ep_number) { in cdns3_init_eps() 2481 priv_ep->dir = ep_dir ? USB_DIR_IN : USB_DIR_OUT; in cdns3_init_eps() 2491 ep_number, !!ep_dir ? "in" : "out"); in cdns3_init_eps() 2498 if (ep_dir) in cdns3_init_eps()
|
/drivers/media/rc/ |
D | imon.c | 2084 int i, ep_dir, ep_type; in imon_find_endpoints() local 2096 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints() 2099 if (!ir_ep_found && ep_dir == USB_DIR_IN && in imon_find_endpoints() 2106 } else if (!display_ep_found && ep_dir == USB_DIR_OUT && in imon_find_endpoints()
|
/drivers/usb/dwc2/ |
D | hcd.c | 3813 u8 ep_num, u8 ep_type, u8 ep_dir, in dwc2_hcd_urb_set_pipeinfo() argument 3821 dev_addr, ep_num, ep_dir, ep_type, maxp, maxp_mult); in dwc2_hcd_urb_set_pipeinfo() 3825 urb->pipe_info.pipe_dir = ep_dir; in dwc2_hcd_urb_set_pipeinfo()
|