Home
last modified time | relevance | path

Searched refs:ep_is_in (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dhcd_intr.c447 if (chan->ep_is_in) { in dwc2_get_actual_xfer_length()
523 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state()
605 if (chan->ep_is_in) in dwc2_update_isoc_urb_state()
624 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
892 if (chan->ep_is_in) { in dwc2_complete_non_periodic_xfer()
922 if (!chan->ep_is_in || (hctsiz & TSIZ_PKTCNT_MASK) == 0) in dwc2_complete_periodic_xfer()
1017 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
1190 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state_abn()
1252 chan->ep_is_in); in dwc2_hc_nak_intr()
1260 if (hsotg->params.host_dma && chan->ep_is_in) { in dwc2_hc_nak_intr()
[all...]
H A Dhcd_queue.c826 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in) in dwc2_uframe_schedule_split()
855 if (!qh->ep_is_in && in dwc2_uframe_schedule_split()
881 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
900 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
1513 bool ep_is_in = !!dwc2_hcd_is_pipe_in(&urb->pipe_info); in dwc2_qh_init() local
1531 qh->ep_is_in = ep_is_in; in dwc2_qh_init()
1552 qh->host_us = NS_TO_US(usb_calc_bus_time(host_speed, ep_is_in, in dwc2_qh_init()
1554 device_ns = usb_calc_bus_time(dev_speed, ep_is_in, in dwc2_qh_init()
1622 ep_is_in in dwc2_qh_init()
[all...]
H A Dhcd.c462 dev_dbg(hsotg->dev, " dev_addr: %d, ep_num: %d, ep_is_in: %d\n", in dwc2_dump_channel_info()
463 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_dump_channel_info()
543 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
574 if (chan->ep_is_in) in dwc2_hc_enable_slave_ints()
593 if (chan->ep_is_in) { in dwc2_hc_enable_slave_ints()
633 if (chan->ep_is_in) { in dwc2_hc_enable_dma_ints()
710 if (chan->ep_is_in) in dwc2_hc_init()
728 chan->ep_is_in); in dwc2_hc_init()
762 chan->ep_is_in); in dwc2_hc_init()
1096 if (chan->ep_is_in) { in dwc2_set_pid_isoc()
[all...]
H A Dhcd.h58 * @ep_is_in: Endpoint direction
123 unsigned ep_is_in:1; member
266 * @ep_is_in: Endpoint direction
343 u8 ep_is_in; member
H A Dhcd_ddma.c700 if (chan->ep_is_in) { in dwc2_fill_host_dma_desc()
914 if (chan->ep_is_in) in dwc2_cmpl_host_isoc_dma_desc()
1077 if (chan->ep_is_in) in dwc2_update_non_isoc_urb_state_ddma()
/kernel/linux/linux-6.6/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()
594 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
862 if (chan->ep_is_in) { in dwc2_complete_non_periodic_xfer()
892 if (!chan->ep_is_in || (hctsiz & TSIZ_PKTCNT_MASK) == 0) in dwc2_complete_periodic_xfer()
987 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
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()
[all...]
H A Dhcd_queue.c796 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in) in dwc2_uframe_schedule_split()
825 if (!qh->ep_is_in && in dwc2_uframe_schedule_split()
851 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
870 if (qh->ep_is_in) { in dwc2_uframe_schedule_split()
1483 bool ep_is_in = !!dwc2_hcd_is_pipe_in(&urb->pipe_info); in dwc2_qh_init() local
1501 qh->ep_is_in = ep_is_in; in dwc2_qh_init()
1522 qh->host_us = NS_TO_US(usb_calc_bus_time(host_speed, ep_is_in, in dwc2_qh_init()
1524 device_ns = usb_calc_bus_time(dev_speed, ep_is_in, in dwc2_qh_init()
1592 ep_is_in in dwc2_qh_init()
[all...]
H A Dhcd.c427 dev_dbg(hsotg->dev, " dev_addr: %d, ep_num: %d, ep_is_in: %d\n", in dwc2_dump_channel_info()
428 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_dump_channel_info()
508 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()
1061 if (chan->ep_is_in) { in dwc2_set_pid_isoc()
[all...]
H A Dhcd.h29 * @ep_is_in: Endpoint direction
94 unsigned ep_is_in:1; member
237 * @ep_is_in: Endpoint direction
314 u8 ep_is_in; member
H A Dhcd_ddma.c670 if (chan->ep_is_in) { in dwc2_fill_host_dma_desc()
884 if (chan->ep_is_in) in dwc2_cmpl_host_isoc_dma_desc()
1047 if (chan->ep_is_in) in dwc2_update_non_isoc_urb_state_ddma()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c185 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep));
647 if (ep_is_in(ep)) { in fsl_ep_disable()
717 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) in fsl_prime_ep()
729 bitmask = ep_is_in(ep) in fsl_queue_td()
896 ret = usb_gadget_map_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); in fsl_ep_queue()
939 if (ep_is_in(ep)) in fsl_ep_dequeue()
982 if (ep_is_in(ep)) in fsl_ep_dequeue()
1023 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in fsl_ep_set_halt()
1029 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1066 bitmask = (ep_is_in(e in fsl_ep_fifo_status()
[all...]
H A Ds3c-hsudc.c154 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN) macro
457 if (value && ep_is_in(hsep) && !list_empty(&hsep->queue)) in s3c_hsudc_set_halt()
476 if (ep_is_in(hsep) && !list_empty(&hsep->queue) && !value) { in s3c_hsudc_set_halt()
665 if (ep_is_in(hsep)) { in s3c_hsudc_handle_ep0_intr()
679 if (!ep_is_in(hsep)) { in s3c_hsudc_handle_ep0_intr()
849 if (ep_is_in(hsep)) { in s3c_hsudc_queue()
1087 if (ep_is_in(hsep)) in s3c_hsudc_irq()
H A Dfsl_usb2_udc.h572 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro
579 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
H A Dfsl_qe_udc.c96 ep_is_in(ep) in done()
104 ep_is_in(ep) in done()
1716 ep_is_in(ep) in __qe_ep_queue()
1723 ep_is_in(ep) in __qe_ep_queue()
1737 if (ep_is_in(ep)) in __qe_ep_queue()
1742 if (ep_is_in(ep)) in __qe_ep_queue()
1820 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
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c183 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep));
643 if (ep_is_in(ep)) { in fsl_ep_disable()
713 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) in fsl_prime_ep()
725 bitmask = ep_is_in(ep) in fsl_queue_td()
892 ret = usb_gadget_map_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); in fsl_ep_queue()
936 if (ep_is_in(ep)) in fsl_ep_dequeue()
981 if (ep_is_in(ep)) in fsl_ep_dequeue()
1022 if (value && ep_is_in(ep) && !list_empty(&ep->queue)) { in fsl_ep_set_halt()
1028 ep_dir = ep_is_in(ep) ? USB_SEND : USB_RECV; in fsl_ep_set_halt()
1065 bitmask = (ep_is_in(e in fsl_ep_fifo_status()
[all...]
H A Dfsl_usb2_udc.h572 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ macro
579 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
H A Dfsl_qe_udc.c96 ep_is_in(ep) in done()
104 ep_is_in(ep) in done()
1722 ep_is_in(ep) in __qe_ep_queue()
1729 ep_is_in(ep) in __qe_ep_queue()
1743 if (ep_is_in(ep)) in __qe_ep_queue()
1748 if (ep_is_in(ep)) in __qe_ep_queue()
1829 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

Completed in 54 milliseconds