/Linux-v4.19/drivers/usb/host/ |
D | xhci-mtk-sch.c | 70 u32 ep_type; in setup_sch_info() local 77 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info() 109 if (ep_type == INT_IN_EP || ep_type == INT_OUT_EP) { in setup_sch_info() 115 if (ep_type == ISOC_IN_EP || ep_type == ISOC_OUT_EP) { in setup_sch_info() 139 if (ep_type == INT_IN_EP || ep_type == INT_OUT_EP) { in setup_sch_info() 145 if (ep_type == ISOC_OUT_EP) { in setup_sch_info() 156 if (ep_type == ISOC_IN_EP) { in setup_sch_info()
|
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 | 2408 static bool xhci_is_async_ep(unsigned int ep_type) in xhci_is_async_ep() argument 2410 return (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_is_async_ep() 2411 ep_type != ISOC_IN_EP && in xhci_is_async_ep() 2412 ep_type != INT_IN_EP); in xhci_is_async_ep() 2415 static bool xhci_is_sync_in_ep(unsigned int ep_type) in xhci_is_sync_in_ep() argument 2417 return (ep_type == ISOC_IN_EP || ep_type == INT_IN_EP); in xhci_is_sync_in_ep() 4462 int ep_type; in xhci_calculate_intel_u1_timeout() local 4465 ep_type = usb_endpoint_type(desc); in xhci_calculate_intel_u1_timeout() 4466 switch (ep_type) { in xhci_calculate_intel_u1_timeout()
|
D | xhci.h | 2567 u8 ep_type; in xhci_decode_ep_context() local 2585 ep_type = CTX_TO_EP_TYPE(info2); in xhci_decode_ep_context() 2600 xhci_ep_type_string(ep_type), hid ? "HID" : "", in xhci_decode_ep_context()
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | hcd.h | 125 unsigned ep_type:2; member 340 u8 ep_type; member 593 ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \ 594 (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL) 604 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc() 605 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc() 610 return qh->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_qh() 611 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 | 660 dev_dbg(hsotg->dev, " ep_type: %d\n", chan->ep_type); in dwc2_dump_channel_info() 731 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints() 820 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hc_enable_dma_ints() 825 chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_enable_dma_ints() 831 if (chan->ep_type != USB_ENDPOINT_XFER_INT) in dwc2_hc_enable_dma_ints() 910 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init() 928 chan->ep_type); in dwc2_hc_init() 1014 (chan->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hc_halt() 1015 chan->ep_type == USB_ENDPOINT_XFER_INT)) { in dwc2_hc_halt() 1100 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() 1509 u8 ep_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_qh_init() local 1511 bool ep_is_isoc = (ep_type == USB_ENDPOINT_XFER_ISOC); in dwc2_qh_init() 1512 bool ep_is_int = (ep_type == USB_ENDPOINT_XFER_INT); in dwc2_qh_init() 1525 qh->ep_type = ep_type; in dwc2_qh_init() 1593 switch (qh->ep_type) { in dwc2_qh_init() 1831 !(qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in)) in dwc2_next_for_periodic_split()
|
D | gadget.c | 3781 unsigned char ep_type; in dwc2_hsotg_ep_enable() local 3800 ep_type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in dwc2_hsotg_ep_enable() 3805 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable() 3813 if (using_desc_dma(hsotg) && ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hsotg_ep_enable() 3860 switch (ep_type) { in dwc2_hsotg_ep_enable() 4543 u32 ep_type; in dwc2_hsotg_hw_cfg() local 4563 ep_type = cfg & 3; in dwc2_hsotg_hw_cfg() 4565 if (!(ep_type & 2)) { in dwc2_hsotg_hw_cfg() 4572 if (!(ep_type & 1)) { in dwc2_hsotg_hw_cfg()
|
/Linux-v4.19/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-v4.19/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 238 switch (ep->ep_type) { in _nbu2ss_ep_init() 946 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) && (req->req.dma != 0) && in _nbu2ss_epn_out_data() 1158 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) && (req->req.dma != 0) && in _nbu2ss_epn_in_data() 2504 u8 ep_type; in nbu2ss_ep_enable() local 2521 ep_type = usb_endpoint_type(desc); in nbu2ss_ep_enable() 2522 if ((ep_type == USB_ENDPOINT_XFER_CONTROL) || in nbu2ss_ep_enable() 2523 (ep_type == USB_ENDPOINT_XFER_ISOC)) { in nbu2ss_ep_enable() 2542 ep->ep_type = ep_type; in nbu2ss_ep_enable()
|
D | emxx_udc.h | 547 u8 ep_type; member
|
/Linux-v4.19/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-v4.19/drivers/media/rc/ |
D | imon.c | 2089 int i, ep_dir, ep_type; in imon_find_endpoints() local 2102 ep_type = usb_endpoint_type(ep); in imon_find_endpoints() 2105 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints() 2112 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints()
|