/Linux-v5.4/drivers/usb/host/ |
D | xhci-mtk-sch.c | 210 u32 ep_type; in setup_sch_info() local 219 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info() 229 sch_ep->ep_type = ep_type; in setup_sch_info() 266 if (ep_type == INT_IN_EP || ep_type == INT_OUT_EP) { in setup_sch_info() 272 if (ep_type == ISOC_IN_EP || ep_type == ISOC_OUT_EP) { in setup_sch_info() 311 if (ep_type == ISOC_OUT_EP) { in setup_sch_info() 314 } else if (ep_type == INT_OUT_EP) { in setup_sch_info() 391 if (sch_ep->ep_type == ISOC_OUT_EP) { in check_sch_tt() 422 if (sch_ep->ep_type == ISOC_IN_EP) in check_sch_tt()
|
D | xhci-mtk.h | 86 u32 ep_type; member
|
D | xhci-mem.c | 1550 unsigned int ep_type; in xhci_update_bw_info() local 1569 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info() 1572 if (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_update_bw_info() 1573 ep_type != ISOC_IN_EP && in xhci_update_bw_info() 1574 ep_type != INT_IN_EP) in xhci_update_bw_info() 1590 bw_info->type = ep_type; in xhci_update_bw_info()
|
D | xhci.c | 2466 static bool xhci_is_async_ep(unsigned int ep_type) in xhci_is_async_ep() argument 2468 return (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_is_async_ep() 2469 ep_type != ISOC_IN_EP && in xhci_is_async_ep() 2470 ep_type != INT_IN_EP); in xhci_is_async_ep() 2473 static bool xhci_is_sync_in_ep(unsigned int ep_type) in xhci_is_sync_in_ep() argument 2475 return (ep_type == ISOC_IN_EP || ep_type == INT_IN_EP); in xhci_is_sync_in_ep() 4597 int ep_type; in xhci_calculate_intel_u1_timeout() local 4600 ep_type = usb_endpoint_type(desc); in xhci_calculate_intel_u1_timeout() 4601 switch (ep_type) { in xhci_calculate_intel_u1_timeout()
|
D | xhci.h | 2636 u8 ep_type; in xhci_decode_ep_context() local 2654 ep_type = CTX_TO_EP_TYPE(info2); in xhci_decode_ep_context() 2669 xhci_ep_type_string(ep_type), hid ? "HID" : "", in xhci_decode_ep_context()
|
/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd.h | 125 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()
|
D | hcd_ddma.c | 77 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 …]
|
D | hcd_intr.c | 511 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 …]
|
D | hcd.c | 464 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 …]
|
D | hcd_queue.c | 826 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()
|
D | gadget.c | 3930 unsigned char ep_type; in dwc2_hsotg_ep_enable() local 3950 ep_type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in dwc2_hsotg_ep_enable() 3955 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable() 3963 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable() 3978 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hsotg_ep_enable() 4014 switch (ep_type) { in dwc2_hsotg_ep_enable() 4695 u32 ep_type; in dwc2_hsotg_hw_cfg() local 4715 ep_type = cfg & 3; in dwc2_hsotg_hw_cfg() 4717 if (!(ep_type & 2)) { in dwc2_hsotg_hw_cfg() 4724 if (!(ep_type & 1)) { in dwc2_hsotg_hw_cfg()
|
/Linux-v5.4/drivers/usb/common/ |
D | common.c | 28 const char *usb_ep_type_string(int ep_type) in usb_ep_type_string() argument 30 if (ep_type < 0 || ep_type >= ARRAY_SIZE(ep_type_names)) in usb_ep_type_string() 33 return ep_type_names[ep_type]; in usb_ep_type_string()
|
/Linux-v5.4/include/linux/usb/ |
D | ch9.h | 45 extern const char *usb_ep_type_string(int ep_type);
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | mv_udc.h | 234 ep_type:2, member
|
D | mv_u3d.h | 300 unsigned ep_type:2; member
|
D | fsl_udc_core.c | 410 unsigned char ep_type) in dr_ep_setup() argument 420 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup() 427 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup() 483 unsigned char dir, unsigned char ep_type, in struct_ep_qh_setup() argument 491 switch (ep_type) { in struct_ep_qh_setup() 506 VDBG("error ep type is %d", ep_type); in struct_ep_qh_setup()
|
D | bcm63xx_udc.c | 157 int ep_type; member 540 val = (cfg->ep_type << USBD_EPNUM_TYPEMAP_TYPE_SHIFT) | in bcm63xx_ep_init() 572 (cfg->ep_type << USBD_CSR_EP_TYPE_SHIFT) | in bcm63xx_ep_setup() 2180 switch (iudma_defaults[ch_idx].ep_type) { in bcm63xx_iudma_dbg_show()
|
D | mv_u3d_core.c | 1322 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in mv_u3d_eps_init()
|
D | mv_udc_core.c | 1258 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in eps_init()
|
/Linux-v5.4/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 233 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() 1112 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) && (req->req.dma != 0) && in _nbu2ss_epn_in_data() 2419 u8 ep_type; in nbu2ss_ep_enable() local 2436 ep_type = usb_endpoint_type(desc); in nbu2ss_ep_enable() 2437 if ((ep_type == USB_ENDPOINT_XFER_CONTROL) || in nbu2ss_ep_enable() 2438 (ep_type == USB_ENDPOINT_XFER_ISOC)) { in nbu2ss_ep_enable() 2457 ep->ep_type = ep_type; in nbu2ss_ep_enable()
|
D | emxx_udc.h | 544 u8 ep_type; member
|
/Linux-v5.4/drivers/usb/gadget/udc/bdc/ |
D | bdc.h | 354 u8 ep_type; member
|
D | bdc_ep.c | 596 ep->ep_type = 0; in bdc_ep_disable() 630 ep->ep_type = usb_endpoint_type(ep->desc); in bdc_ep_enable()
|
/Linux-v5.4/drivers/usb/cdns3/ |
D | gadget.h | 985 #define GET_TRBS_PER_SEGMENT(ep_type) ((ep_type) == USB_ENDPOINT_XFER_ISOC ? \ argument
|
/Linux-v5.4/drivers/media/rc/ |
D | imon.c | 2085 int i, ep_dir, ep_type; in imon_find_endpoints() local 2098 ep_type = usb_endpoint_type(ep); in imon_find_endpoints() 2101 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints() 2108 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints()
|