Home
last modified time | relevance | path

Searched refs:ep_is_in (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/dwc2/
Dhcd_intr.c411 if (chan->ep_is_in) { in dwc2_get_actual_xfer_length()
467 if (chan->align_buf && xfer_length && chan->ep_is_in) { in dwc2_update_urb_state()
493 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state()
562 chan->ep_is_in) { in dwc2_update_isoc_urb_state()
577 if (chan->ep_is_in) in dwc2_update_isoc_urb_state()
596 chan->ep_is_in) { in dwc2_update_isoc_urb_state()
611 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
884 if (chan->ep_is_in) { in dwc2_complete_non_periodic_xfer()
914 if (!chan->ep_is_in || (hctsiz & TSIZ_PKTCNT_MASK) == 0) in dwc2_complete_periodic_xfer()
1002 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
[all …]
Dcore.c709 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
740 if (chan->ep_is_in) in dwc2_hc_enable_slave_ints()
759 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
799 if (chan->ep_is_in) { in dwc2_hc_enable_dma_ints()
876 if (chan->ep_is_in) in dwc2_hc_init()
934 chan->ep_is_in); in dwc2_hc_init()
1167 if (chan->ep_is_in) { in dwc2_set_pid_isoc()
1303 if (chan->complete_split && !chan->ep_is_in) in dwc2_hc_start_transfer()
1309 else if (chan->ep_is_in || chan->xfer_len > chan->max_packet) in dwc2_hc_start_transfer()
1311 else if (!chan->ep_is_in && chan->xfer_len > 188) in dwc2_hc_start_transfer()
[all …]
Dhcd_queue.c75 qh->ep_is_in = dwc2_hcd_is_pipe_in(&urb->pipe_info) ? 1 : 0; in dwc2_qh_init()
106 USB_SPEED_HIGH : dev_speed, qh->ep_is_in, in dwc2_qh_init()
522 qh->ep_is_in != 0) { in dwc2_sched_periodic_split()
Dhcd.c94 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_dump_channel_info()
594 chan->ep_is_in = 0; in dwc2_hc_init_xfer()
616 chan->ep_is_in = 1; in dwc2_hc_init_xfer()
618 chan->ep_is_in = in dwc2_hc_init_xfer()
620 if (chan->ep_is_in) in dwc2_hc_init_xfer()
699 if (!chan->ep_is_in && chan->xfer_len) { in dwc2_hc_setup_align_buf()
775 chan->ep_is_in = (dwc2_hcd_is_pipe_in(&urb->pipe_info) != 0); in dwc2_assign_and_init_hc()
776 if (chan->ep_is_in) in dwc2_assign_and_init_hc()
960 } else if (!chan->ep_is_in || in dwc2_queue_transaction()
1835 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_hcd_dump_state()
Dhcd.h120 unsigned ep_is_in:1; member
263 u8 ep_is_in; member
Dhcd_ddma.c622 if (chan->ep_is_in) { in dwc2_fill_host_dma_desc()
805 if (chan->ep_is_in) in dwc2_cmpl_host_isoc_dma_desc()
931 if (chan->ep_is_in) in dwc2_update_non_isoc_urb_state_ddma()
/drivers/usb/gadget/
Dfsl_udc_core.c188 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); in done()
652 if (ep_is_in(ep)) { in fsl_ep_disable()
722 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) in fsl_prime_ep()
734 bitmask = ep_is_in(ep) in fsl_queue_td()
901 ret = usb_gadget_map_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); in fsl_ep_queue()
944 if (ep_is_in(ep)) in fsl_ep_dequeue()
987 if (ep_is_in(ep)) in fsl_ep_dequeue()
1028 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in fsl_ep_set_halt()
1034 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1070 bitmask = (ep_is_in(ep)) ? (1 << (ep_index(ep) + 16)) : in fsl_ep_fifo_status()
[all …]
Ds3c-hsudc.c159 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN) macro
510 if (value && ep_is_in(hsep) && !list_empty(&hsep->queue)) in s3c_hsudc_set_halt()
529 if (ep_is_in(hsep) && !list_empty(&hsep->queue) && !value) { in s3c_hsudc_set_halt()
718 if (ep_is_in(hsep)) { in s3c_hsudc_handle_ep0_intr()
732 if (!ep_is_in(hsep)) { in s3c_hsudc_handle_ep0_intr()
902 if (ep_is_in(hsep)) { in s3c_hsudc_queue()
1125 if (ep_is_in(hsep)) in s3c_hsudc_irq()
Dfsl_usb2_udc.h573 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro
580 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
Dfsl_qe_udc.c100 ep_is_in(ep) in done()
108 ep_is_in(ep) in done()
1729 ep_is_in(ep) in __qe_ep_queue()
1736 ep_is_in(ep) in __qe_ep_queue()
1750 if (ep_is_in(ep)) in __qe_ep_queue()
1755 if (ep_is_in(ep)) in __qe_ep_queue()
1833 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in qe_ep_set_halt()
Dfsl_qe_udc.h158 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro