Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/dwc2/
Dhcd.h122 unsigned ep_type:2; member
264 u8 ep_type; member
501 ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \
502 (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL)
512 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc()
513 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc()
518 return qh->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_qh()
519 qh->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_qh()
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()
118 if (qh->ep_type == USB_ENDPOINT_XFER_INT) in dwc2_qh_init()
159 switch (qh->ep_type) { in dwc2_qh_init()
179 if (qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_qh_init()
671 if (qh->ep_type != USB_ENDPOINT_XFER_ISOC || in dwc2_sched_periodic_split()
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_intr.c484 if (xfer_length && chan->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_update_urb_state()
520 if (chan->ep_type != USB_ENDPOINT_XFER_CONTROL) { in dwc2_hcd_save_data_toggle()
613 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
758 switch (chan->ep_type) { in dwc2_release_channel()
815 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_halt_channel()
816 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_halt_channel()
1004 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
1309 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC || chan->ep_is_in) { in dwc2_hc_ack_intr()
1385 if (chan->ep_is_in && chan->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hc_nyet_intr()
1402 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()
405 if (qtd->qh->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_hcd_urb_enqueue()
611 chan->ep_type = USB_ENDPOINT_XFER_CONTROL; in dwc2_hc_init_xfer()
657 chan->ep_type = USB_ENDPOINT_XFER_BULK; in dwc2_hc_init_xfer()
661 chan->ep_type = USB_ENDPOINT_XFER_INT; in dwc2_hc_init_xfer()
665 chan->ep_type = USB_ENDPOINT_XFER_ISOC; in dwc2_hc_init_xfer()
713 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC) in dwc2_hc_setup_align_buf()
876 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_assign_and_init_hc()
877 chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_assign_and_init_hc()
1011 chan->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_queue_transaction()
[all …]
Dcore.c1144 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints()
1233 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hc_enable_dma_ints()
1238 chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_enable_dma_ints()
1244 if (chan->ep_type != USB_ENDPOINT_XFER_INT) in dwc2_hc_enable_dma_ints()
1323 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init()
1341 chan->ep_type); in dwc2_hc_init()
1495 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_hc_halt()
1496 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_hc_halt()
1585 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_hc_set_even_odd_frame()
1586 chan->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_set_even_odd_frame()
[all …]
Dgadget.c3401 u32 ep_type; in dwc2_hsotg_hw_cfg() local
3420 ep_type = cfg & 3; in dwc2_hsotg_hw_cfg()
3422 if (!(ep_type & 2)) { in dwc2_hsotg_hw_cfg()
3429 if (!(ep_type & 1)) { in dwc2_hsotg_hw_cfg()
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_imon.c738 int ep_type; in imon_probe() local
742 ep_type = usb_endpoint_type(ep); in imon_probe()
746 ep_type == USB_ENDPOINT_XFER_INT) { in imon_probe()
753 ep_type == USB_ENDPOINT_XFER_INT) { in imon_probe()
/linux-4.4.14/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.c162 int ep_type; member
549 val = (cfg->ep_type << USBD_EPNUM_TYPEMAP_TYPE_SHIFT) | in bcm63xx_ep_init()
581 (cfg->ep_type << USBD_CSR_EP_TYPE_SHIFT) | in bcm63xx_ep_setup()
2191 switch (iudma_defaults[ch_idx].ep_type) { in bcm63xx_iudma_dbg_show()
Dmv_u3d_core.c1334 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in mv_u3d_eps_init()
Dmv_udc_core.c1267 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in eps_init()
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c247 switch (ep->ep_type) { in _nbu2ss_ep_init()
959 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) in _nbu2ss_epn_out_data()
1173 if ((ep->ep_type != USB_ENDPOINT_XFER_INT) in _nbu2ss_epn_in_data()
2552 u8 ep_type; in nbu2ss_ep_enable() local
2569 ep_type = usb_endpoint_type(desc); in nbu2ss_ep_enable()
2570 if ((ep_type == USB_ENDPOINT_XFER_CONTROL) in nbu2ss_ep_enable()
2571 || (ep_type == USB_ENDPOINT_XFER_ISOC)) { in nbu2ss_ep_enable()
2593 ep->ep_type = ep_type; in nbu2ss_ep_enable()
Demxx_udc.h555 u8 ep_type; member
/linux-4.4.14/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.c2360 static bool xhci_is_async_ep(unsigned int ep_type) in xhci_is_async_ep() argument
2362 return (ep_type != ISOC_OUT_EP && ep_type != INT_OUT_EP && in xhci_is_async_ep()
2363 ep_type != ISOC_IN_EP && in xhci_is_async_ep()
2364 ep_type != INT_IN_EP); in xhci_is_async_ep()
2367 static bool xhci_is_sync_in_ep(unsigned int ep_type) in xhci_is_sync_in_ep() argument
2369 return (ep_type == ISOC_IN_EP || ep_type == INT_IN_EP); in xhci_is_sync_in_ep()
4345 int ep_type; in xhci_calculate_intel_u1_timeout() local
4348 ep_type = usb_endpoint_type(desc); in xhci_calculate_intel_u1_timeout()
4349 switch (ep_type) { in xhci_calculate_intel_u1_timeout()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc.h359 u8 ep_type; member
Dbdc_ep.c602 ep->ep_type = 0; in bdc_ep_disable()
636 ep->ep_type = usb_endpoint_type(ep->desc); in bdc_ep_enable()
/linux-4.4.14/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()