Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-mtk-sch.c70 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()
Dxhci-mem.c1550 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()
Dxhci.c2408 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()
Dxhci.h2567 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/
Dhcd.h125 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()
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.c660 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 …]
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()
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()
Dgadget.c3781 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/
Dmv_udc.h234 ep_type:2, member
Dmv_u3d.h300 unsigned ep_type:2; member
Dfsl_udc_core.c410 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()
Dbcm63xx_udc.c157 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()
Dmv_u3d_core.c1322 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in mv_u3d_eps_init()
Dmv_udc_core.c1258 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in eps_init()
/Linux-v4.19/drivers/staging/emxx_udc/
Demxx_udc.c238 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()
Demxx_udc.h547 u8 ep_type; member
/Linux-v4.19/drivers/usb/gadget/udc/bdc/
Dbdc.h354 u8 ep_type; member
Dbdc_ep.c596 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/
Dimon.c2089 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()