Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/udc/
H A 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 …]
H A Dfsl_udc_core.c1008 unsigned char ep_dir = 0, ep_num = 0; in fsl_ep_set_halt() local
1031 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1034 dr_ep_change_stall(ep_num, ep_dir, value); in fsl_ep_set_halt()
1082 int ep_num, ep_dir; in fsl_ep_fifo_flush() local
1095 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_fifo_flush()
1099 else if (ep_dir == USB_SEND) in fsl_ep_fifo_flush()
/linux/include/linux/usb/
H A Dhcd.h689 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN)) argument
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c3154 int ep_dir, ep_number; in cdns3_init_eps() local
3166 ep_dir = i >> 4; /* i div 16 */ in cdns3_init_eps()
3173 if (ep_dir && !ep_number) { in cdns3_init_eps()
3187 priv_ep->dir = ep_dir ? USB_DIR_IN : USB_DIR_OUT; in cdns3_init_eps()
3197 ep_number, !!ep_dir ? "in" : "out"); in cdns3_init_eps()
3204 if (ep_dir) in cdns3_init_eps()
/linux/drivers/media/rc/
H A Dimon.c2125 int i, ep_dir, ep_type; in imon_find_endpoints() local
2137 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
2140 if (!ir_ep_found && ep_dir == USB_DIR_IN && in imon_find_endpoints()
2147 } else if (!display_ep_found && ep_dir == USB_DIR_OUT && in imon_find_endpoints()