Home
last modified time | relevance | path

Searched refs:ep_type (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-psil-j7200.c15 .ep_type = PSIL_EP_PDMA_XY, \
23 .ep_type = PSIL_EP_PDMA_XY, \
32 .ep_type = PSIL_EP_PDMA_XY, \
42 .ep_type = PSIL_EP_NATIVE, \
53 .ep_type = PSIL_EP_NATIVE, \
Dk3-psil-j721e.c15 .ep_type = PSIL_EP_PDMA_XY, \
23 .ep_type = PSIL_EP_PDMA_XY, \
32 .ep_type = PSIL_EP_PDMA_XY, \
42 .ep_type = PSIL_EP_NATIVE, \
53 .ep_type = PSIL_EP_NATIVE, \
Dk3-psil-am654.c15 .ep_type = PSIL_EP_PDMA_XY, \
23 .ep_type = PSIL_EP_PDMA_XY, \
32 .ep_type = PSIL_EP_NATIVE, \
43 .ep_type = PSIL_EP_NATIVE, \
Dk3-udma.c204 enum psil_endpoint_type ep_type; member
763 if (uc->config.ep_type == PSIL_EP_NATIVE) in udma_chan_needs_reconfiguration()
801 if (uc->config.ep_type == PSIL_EP_PDMA_XY) { in udma_start()
836 if (uc->config.ep_type == PSIL_EP_PDMA_XY) { in udma_start()
940 if (uc->config.ep_type == PSIL_EP_NATIVE || in udma_is_desc_really_done()
2099 if (uc->config.ep_type != PSIL_EP_PDMA_XY) in udma_configure_statictr()
2723 if (uc->config.ep_type != PSIL_EP_NATIVE) { in udma_tx_status()
2733 if (uc->config.ep_type != PSIL_EP_NATIVE) { in udma_tx_status()
3041 ucc->ep_type = ep_config->ep_type; in udma_dma_filter_fn()
3043 if (ucc->ep_type != PSIL_EP_NATIVE) { in udma_dma_filter_fn()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mtk-sch.c237 u32 ep_type; in setup_sch_info() local
246 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
256 sch_ep->ep_type = ep_type; in setup_sch_info()
293 if (ep_type == INT_IN_EP || ep_type == INT_OUT_EP) { in setup_sch_info()
299 if (ep_type == ISOC_IN_EP || ep_type == ISOC_OUT_EP) { in setup_sch_info()
338 if (ep_type == ISOC_OUT_EP) { in setup_sch_info()
341 } else if (ep_type == INT_OUT_EP) { in setup_sch_info()
415 if (sch_ep->ep_type == INT_IN_EP || sch_ep->ep_type == ISOC_IN_EP) in check_fs_bus_bw()
440 if (sch_ep->ep_type == ISOC_OUT_EP) { in check_sch_tt()
467 if (sch_ep->ep_type == ISOC_IN_EP) in check_sch_tt()
[all …]
Dxhci-mtk.h87 u32 ep_type; member
Dxhci-mem.c1578 unsigned int ep_type; in xhci_update_bw_info() local
1597 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1600 if (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_update_bw_info()
1601 ep_type != ISOC_IN_EP && in xhci_update_bw_info()
1602 ep_type != INT_IN_EP) in xhci_update_bw_info()
1618 bw_info->type = ep_type; in xhci_update_bw_info()
Dxhci.c2507 static bool xhci_is_async_ep(unsigned int ep_type) in xhci_is_async_ep() argument
2509 return (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_is_async_ep()
2510 ep_type != ISOC_IN_EP && in xhci_is_async_ep()
2511 ep_type != INT_IN_EP); in xhci_is_async_ep()
2514 static bool xhci_is_sync_in_ep(unsigned int ep_type) in xhci_is_sync_in_ep() argument
2516 return (ep_type == ISOC_IN_EP || ep_type == INT_IN_EP); in xhci_is_sync_in_ep()
4672 int ep_type; in xhci_calculate_intel_u1_timeout() local
4675 ep_type = usb_endpoint_type(desc); in xhci_calculate_intel_u1_timeout()
4676 switch (ep_type) { in xhci_calculate_intel_u1_timeout()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dhcd.h125 unsigned ep_type:2; member
342 u8 ep_type; member
600 ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \
601 (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL)
611 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc()
612 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc()
617 return qh->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_qh()
618 qh->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_qh()
Dhcd_ddma.c77 return (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_max_desc_num()
93 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_desc_list_alloc()
127 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_desc_list_free()
254 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_update_frame_list()
358 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_init_ddma()
359 qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_hcd_qh_init_ddma()
406 if ((qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_free_ddma()
407 qh->ep_type == USB_ENDPOINT_XFER_INT) && in dwc2_hcd_qh_free_ddma()
717 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL && in dwc2_fill_host_dma_desc()
799 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL) in dwc2_init_non_isoc_dma_desc()
[all …]
Dhcd_intr.c511 if (xfer_length && chan->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_update_urb_state()
547 if (chan->ep_type != USB_ENDPOINT_XFER_CONTROL) { in dwc2_hcd_save_data_toggle()
624 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
767 switch (chan->ep_type) { in dwc2_release_channel()
824 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_halt_channel()
825 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_halt_channel()
1017 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
1251 !(chan->ep_type == USB_ENDPOINT_XFER_CONTROL && in dwc2_hc_nak_intr()
1329 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC || chan->ep_is_in) { in dwc2_hc_ack_intr()
1405 if (chan->ep_is_in && chan->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hc_nyet_intr()
[all …]
Dhcd.c464 dev_dbg(hsotg->dev, " ep_type: %d\n", chan->ep_type); in dwc2_dump_channel_info()
535 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints()
624 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hc_enable_dma_ints()
629 chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_enable_dma_ints()
635 if (chan->ep_type != USB_ENDPOINT_XFER_INT) in dwc2_hc_enable_dma_ints()
714 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init()
732 chan->ep_type); in dwc2_hc_init()
818 (chan->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hc_halt()
819 chan->ep_type == USB_ENDPOINT_XFER_INT)) { in dwc2_hc_halt()
904 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_hc_halt()
[all …]
Dhcd_queue.c826 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in) in dwc2_uframe_schedule_split()
875 if (qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_uframe_schedule_split()
1512 u8 ep_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_qh_init() local
1514 bool ep_is_isoc = (ep_type == USB_ENDPOINT_XFER_ISOC); in dwc2_qh_init()
1515 bool ep_is_int = (ep_type == USB_ENDPOINT_XFER_INT); in dwc2_qh_init()
1530 qh->ep_type = ep_type; in dwc2_qh_init()
1599 switch (qh->ep_type) { in dwc2_qh_init()
1838 !(qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in)) in dwc2_next_for_periodic_split()
Dgadget.c4019 unsigned char ep_type; in dwc2_hsotg_ep_enable() local
4039 ep_type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in dwc2_hsotg_ep_enable()
4044 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable()
4052 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable()
4067 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hsotg_ep_enable()
4103 switch (ep_type) { in dwc2_hsotg_ep_enable()
4810 u32 ep_type; in dwc2_hsotg_hw_cfg() local
4830 ep_type = cfg & 3; in dwc2_hsotg_hw_cfg()
4832 if (!(ep_type & 2)) { in dwc2_hsotg_hw_cfg()
4839 if (!(ep_type & 1)) { in dwc2_hsotg_hw_cfg()
/kernel/linux/linux-5.10/drivers/usb/common/
Dcommon.c34 const char *usb_ep_type_string(int ep_type) in usb_ep_type_string() argument
36 if (ep_type < 0 || ep_type >= ARRAY_SIZE(ep_type_names)) in usb_ep_type_string()
39 return ep_type_names[ep_type]; in usb_ep_type_string()
/kernel/linux/linux-5.10/include/linux/dma/
Dk3-psil.h55 enum psil_endpoint_type ep_type; member
/kernel/linux/linux-5.10/include/linux/usb/
Dch9.h48 extern const char *usb_ep_type_string(int ep_type);
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dmv_udc.h234 ep_type:2, member
Dmv_u3d.h300 unsigned ep_type:2; member
Dfsl_udc_core.c409 unsigned char ep_type) in dr_ep_setup() argument
419 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup()
426 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup()
482 unsigned char dir, unsigned char ep_type, in struct_ep_qh_setup() argument
490 switch (ep_type) { in struct_ep_qh_setup()
505 VDBG("error ep type is %d", ep_type); in struct_ep_qh_setup()
Dbcm63xx_udc.c158 int ep_type; member
541 val = (cfg->ep_type << USBD_EPNUM_TYPEMAP_TYPE_SHIFT) | in bcm63xx_ep_init()
573 (cfg->ep_type << USBD_CSR_EP_TYPE_SHIFT) | in bcm63xx_ep_setup()
2181 switch (iudma_defaults[ch_idx].ep_type) { in bcm63xx_iudma_dbg_show()
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c233 switch (ep->ep_type) { in _nbu2ss_ep_init()
915 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) && (req->req.dma != 0) && in _nbu2ss_epn_out_data()
1111 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) && (req->req.dma != 0) && in _nbu2ss_epn_in_data()
2417 u8 ep_type; in nbu2ss_ep_enable() local
2434 ep_type = usb_endpoint_type(desc); in nbu2ss_ep_enable()
2435 if ((ep_type == USB_ENDPOINT_XFER_CONTROL) || in nbu2ss_ep_enable()
2436 (ep_type == USB_ENDPOINT_XFER_ISOC)) { in nbu2ss_ep_enable()
2455 ep->ep_type = ep_type; in nbu2ss_ep_enable()
Demxx_udc.h505 u8 ep_type; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
Dbdc.h354 u8 ep_type; member
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.h994 #define GET_TRBS_PER_SEGMENT(ep_type) ((ep_type) == USB_ENDPOINT_XFER_ISOC ? \ argument

12