Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/dwc2/
Dhcd.h122 unsigned ep_type:2; member
264 u8 ep_type; member
503 ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \
504 (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL)
514 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc()
515 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc()
520 return qh->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_qh()
521 qh->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_qh()
Dhcd_ddma.c76 return (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_max_desc_num()
238 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_update_frame_list()
331 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_init_ddma()
332 qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_hcd_qh_init_ddma()
375 if ((qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_free_ddma()
376 qh->ep_type == USB_ENDPOINT_XFER_INT) && in dwc2_hcd_qh_free_ddma()
644 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL && in dwc2_fill_host_dma_desc()
714 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL) in dwc2_init_non_isoc_dma_desc()
759 switch (chan->ep_type) { in dwc2_hcd_start_xfer_ddma()
984 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL) { in dwc2_update_non_isoc_urb_state_ddma()
[all …]
Dhcd_queue.c74 qh->ep_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_qh_init()
96 if (qh->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_qh_init()
97 qh->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_qh_init()
107 qh->ep_type == USB_ENDPOINT_XFER_ISOC, in dwc2_qh_init()
115 if (qh->ep_type == USB_ENDPOINT_XFER_INT) in dwc2_qh_init()
156 switch (qh->ep_type) { in dwc2_qh_init()
176 if (qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_qh_init()
658 if (qh->ep_type != USB_ENDPOINT_XFER_ISOC || in dwc2_sched_periodic_split()
Dhcd_intr.c476 if (xfer_length && chan->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_update_urb_state()
512 if (chan->ep_type != USB_ENDPOINT_XFER_CONTROL) { in dwc2_hcd_save_data_toggle()
595 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
740 switch (chan->ep_type) { in dwc2_release_channel()
797 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_halt_channel()
798 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_halt_channel()
984 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
1273 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC || chan->ep_is_in) { in dwc2_hc_ack_intr()
1349 if (chan->ep_is_in && chan->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hc_nyet_intr()
1366 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_hc_nyet_intr()
[all …]
Dhcd.c95 dev_dbg(hsotg->dev, " ep_type: %d\n", chan->ep_type); in dwc2_dump_channel_info()
408 if (qtd->qh->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_hcd_urb_enqueue()
616 chan->ep_type = USB_ENDPOINT_XFER_CONTROL; in dwc2_hc_init_xfer()
662 chan->ep_type = USB_ENDPOINT_XFER_BULK; in dwc2_hc_init_xfer()
666 chan->ep_type = USB_ENDPOINT_XFER_INT; in dwc2_hc_init_xfer()
670 chan->ep_type = USB_ENDPOINT_XFER_ISOC; in dwc2_hc_init_xfer()
718 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC) in dwc2_hc_setup_align_buf()
874 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_assign_and_init_hc()
875 chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_assign_and_init_hc()
1009 chan->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_queue_transaction()
[all …]
Dcore.c776 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints()
865 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hc_enable_dma_ints()
870 chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_enable_dma_ints()
876 if (chan->ep_type != USB_ENDPOINT_XFER_INT) in dwc2_hc_enable_dma_ints()
955 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init()
973 chan->ep_type); in dwc2_hc_init()
1127 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_hc_halt()
1128 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_hc_halt()
1217 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_hc_set_even_odd_frame()
1218 chan->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_set_even_odd_frame()
[all …]
Dgadget.c3293 u32 ep_type; in s3c_hsotg_hw_cfg() local
3312 ep_type = cfg & 3; in s3c_hsotg_hw_cfg()
3314 if (!(ep_type & 2)) { in s3c_hsotg_hw_cfg()
3321 if (!(ep_type & 1)) { in s3c_hsotg_hw_cfg()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_sasem.c701 int ep_type; in sasem_probe() local
705 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in sasem_probe()
709 ep_type == USB_ENDPOINT_XFER_INT) { in sasem_probe()
719 ep_type == USB_ENDPOINT_XFER_INT) { in sasem_probe()
Dlirc_imon.c741 int ep_type; in imon_probe() local
745 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in imon_probe()
749 ep_type == USB_ENDPOINT_XFER_INT) { in imon_probe()
756 ep_type == USB_ENDPOINT_XFER_INT) { in imon_probe()
/linux-4.1.27/drivers/usb/gadget/udc/
Dmv_udc.h238 ep_type:2, member
Dmv_u3d.h303 unsigned ep_type:2; member
Dfsl_udc_core.c413 unsigned char ep_type) in dr_ep_setup() argument
423 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup()
430 tmp_epctrl |= ((unsigned int)(ep_type) in dr_ep_setup()
486 unsigned char dir, unsigned char ep_type, in struct_ep_qh_setup() argument
494 switch (ep_type) { in struct_ep_qh_setup()
509 VDBG("error ep type is %d", ep_type); in struct_ep_qh_setup()
Dbcm63xx_udc.c142 int ep_type; member
529 val = (cfg->ep_type << USBD_EPNUM_TYPEMAP_TYPE_SHIFT) | in bcm63xx_ep_init()
561 (cfg->ep_type << USBD_CSR_EP_TYPE_SHIFT) | in bcm63xx_ep_setup()
2170 switch (iudma_defaults[ch_idx].ep_type) { in bcm63xx_iudma_dbg_show()
Dmv_u3d_core.c1331 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in mv_u3d_eps_init()
Dmv_udc_core.c1264 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in eps_init()
/linux-4.1.27/drivers/staging/emxx_udc/
Demxx_udc.c255 switch (ep->ep_type) { in _nbu2ss_ep_init()
969 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) in _nbu2ss_epn_out_data()
1183 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) in _nbu2ss_epn_in_data()
2602 u8 ep_type; in nbu2ss_ep_enable() local
2619 ep_type = usb_endpoint_type(desc); in nbu2ss_ep_enable()
2620 if ((ep_type == USB_ENDPOINT_XFER_CONTROL) in nbu2ss_ep_enable()
2621 || (ep_type == USB_ENDPOINT_XFER_ISOC)) { in nbu2ss_ep_enable()
2643 ep->ep_type = ep_type; in nbu2ss_ep_enable()
Demxx_udc.h594 u8 ep_type; member
/linux-4.1.27/drivers/usb/host/
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.c2370 static bool xhci_is_async_ep(unsigned int ep_type) in xhci_is_async_ep() argument
2372 return (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_is_async_ep()
2373 ep_type != ISOC_IN_EP && in xhci_is_async_ep()
2374 ep_type != INT_IN_EP); in xhci_is_async_ep()
2377 static bool xhci_is_sync_in_ep(unsigned int ep_type) in xhci_is_sync_in_ep() argument
2379 return (ep_type == ISOC_IN_EP || ep_type == INT_IN_EP); in xhci_is_sync_in_ep()
4357 int ep_type; in xhci_calculate_intel_u1_timeout() local
4360 ep_type = usb_endpoint_type(desc); in xhci_calculate_intel_u1_timeout()
4361 switch (ep_type) { in xhci_calculate_intel_u1_timeout()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc.h359 u8 ep_type; member
Dbdc_ep.c600 ep->ep_type = 0; in bdc_ep_disable()
634 ep->ep_type = usb_endpoint_type(ep->desc); in bdc_ep_enable()
/linux-4.1.27/drivers/media/rc/
Dimon.c2114 int i, ep_dir, ep_type; in imon_find_endpoints() local
2127 ep_type = usb_endpoint_type(ep); in imon_find_endpoints()
2130 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints()
2137 ep_type == USB_ENDPOINT_XFER_INT) { in imon_find_endpoints()