Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
Dmv_udc_core.c44 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ macro
241 usb_gadget_unmap_request(&udc->gadget, &req->req, ep_dir(ep)); in done()
268 direction = ep_dir(ep); in queue_dtd()
465 direction = ep_dir(ep); in mv_ep_enable()
584 direction = ep_dir(ep); in mv_ep_disable()
648 direction = ep_dir(ep); in mv_ep_fifo_flush()
721 retval = usb_gadget_map_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue()
757 usb_gadget_unmap_request(&udc->gadget, _req, ep_dir(ep)); in mv_ep_queue()
777 bit_pos = 1 << (((ep_dir(ep) == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in mv_prime_ep()
802 if (ep_dir(ep) == EP_DIR_IN) in mv_ep_dequeue()
[all …]
Dfsl_udc_core.c1011 unsigned char ep_dir = 0, ep_num = 0; in fsl_ep_set_halt() local
1034 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1037 dr_ep_change_stall(ep_num, ep_dir, value); in fsl_ep_set_halt()
1084 int ep_num, ep_dir; in fsl_ep_fifo_flush() local
1097 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_fifo_flush()
1101 else if (ep_dir == USB_SEND) in fsl_ep_fifo_flush()
/drivers/staging/media/lirc/
Dlirc_imon.c737 int ep_dir; in imon_probe() local
741 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_probe()
745 ep_dir == USB_DIR_IN && in imon_probe()
752 } else if (!display_ep_found && ep_dir == USB_DIR_OUT && in imon_probe()
/drivers/media/rc/
Dimon.c2113 int i, ep_dir, ep_type; in imon_find_endpoints() local
2125 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
2128 if (!ir_ep_found && ep_dir == USB_DIR_IN && in imon_find_endpoints()
2135 } else if (!display_ep_found && ep_dir == USB_DIR_OUT && in imon_find_endpoints()
/drivers/usb/dwc2/
Dhcd.c1915 u8 ep_num, u8 ep_type, u8 ep_dir, u16 mps) in dwc2_hcd_urb_set_pipeinfo() argument
1922 dev_addr, ep_num, ep_dir, ep_type, mps); in dwc2_hcd_urb_set_pipeinfo()
1926 urb->pipe_info.pipe_dir = ep_dir; in dwc2_hcd_urb_set_pipeinfo()