Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/dwc2/
H A Dhcd_intr.c417 if (chan->ep_is_in) { in dwc2_get_actual_xfer_length()
493 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state()
575 if (chan->ep_is_in) in dwc2_update_isoc_urb_state()
862 if (chan->ep_is_in) { in dwc2_complete_non_periodic_xfer()
1160 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state_abn()
1222 chan->ep_is_in); in dwc2_hc_nak_intr()
1230 if (hsotg->params.host_dma && chan->ep_is_in) { in dwc2_hc_nak_intr()
1295 if (!chan->ep_is_in && in dwc2_hc_ack_intr()
1433 qh->ep_is_in) in dwc2_hc_nyet_intr()
1647 if (!chan->ep_is_in && chan->speed == USB_SPEED_HIGH) in dwc2_hc_xacterr_intr()
[all …]
H A Dhcd_queue.c760 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in) in dwc2_uframe_schedule_split()
789 if (!qh->ep_is_in && in dwc2_uframe_schedule_split()
815 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
834 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
1447 bool ep_is_in = !!dwc2_hcd_is_pipe_in(&urb->pipe_info); in dwc2_qh_init() local
1464 qh->ep_is_in = ep_is_in; in dwc2_qh_init()
1485 qh->host_us = NS_TO_US(usb_calc_bus_time(host_speed, ep_is_in, in dwc2_qh_init()
1487 device_ns = usb_calc_bus_time(dev_speed, ep_is_in, in dwc2_qh_init()
1555 ep_is_in ? "IN" : "OUT"); in dwc2_qh_init()
1771 !(qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in)) in dwc2_next_for_periodic_split()
H A Dhcd.c508 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
539 if (chan->ep_is_in) in dwc2_hc_enable_slave_ints()
558 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
598 if (chan->ep_is_in) { in dwc2_hc_enable_dma_ints()
675 if (chan->ep_is_in) in dwc2_hc_init()
693 chan->ep_is_in); in dwc2_hc_init()
727 chan->ep_is_in); in dwc2_hc_init()
1511 if (chan->ep_is_in) { in dwc2_hc_continue_transfer()
2334 chan->ep_is_in = 0; in dwc2_hc_init_xfer()
2357 chan->ep_is_in = in dwc2_hc_init_xfer()
[all …]
H A Dhcd.h94 unsigned ep_is_in:1; member
314 u8 ep_is_in; member
H A Dhcd_ddma.c670 if (chan->ep_is_in) { in dwc2_fill_host_dma_desc()
891 if (chan->ep_is_in) in dwc2_cmpl_host_isoc_dma_desc()
1054 if (chan->ep_is_in) in dwc2_update_non_isoc_urb_state_ddma()
/linux-6.15/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c184 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); in done()
648 if (ep_is_in(ep)) { in fsl_ep_disable()
718 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) in fsl_prime_ep()
730 bitmask = ep_is_in(ep) in fsl_queue_td()
940 if (ep_is_in(ep)) in fsl_ep_dequeue()
985 if (ep_is_in(ep)) in fsl_ep_dequeue()
1026 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in fsl_ep_set_halt()
1032 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1069 bitmask = (ep_is_in(ep)) ? (1 << (ep_index(ep) + 16)) : in fsl_ep_fifo_status()
1096 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_fifo_flush()
[all …]
H A Dfsl_usb2_udc.h525 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro
532 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
H A Dfsl_qe_udc.c97 ep_is_in(ep) in done()
105 ep_is_in(ep) in done()
1723 ep_is_in(ep) in __qe_ep_queue()
1730 ep_is_in(ep) in __qe_ep_queue()
1744 if (ep_is_in(ep)) in __qe_ep_queue()
1749 if (ep_is_in(ep)) in __qe_ep_queue()
1830 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in qe_ep_set_halt()
H A Dfsl_qe_udc.h154 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro