/linux-4.1.27/drivers/usb/dwc2/ |
D | hcd.h | 122 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()
|
D | hcd_ddma.c | 76 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 …]
|
D | hcd_queue.c | 74 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()
|
D | hcd_intr.c | 476 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 …]
|
D | hcd.c | 95 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 …]
|
D | core.c | 776 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 …]
|
D | gadget.c | 3293 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/ |
D | lirc_sasem.c | 701 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()
|
D | lirc_imon.c | 741 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/ |
D | mv_udc.h | 238 ep_type:2, member
|
D | mv_u3d.h | 303 unsigned ep_type:2; member
|
D | fsl_udc_core.c | 413 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()
|
D | bcm63xx_udc.c | 142 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()
|
D | mv_u3d_core.c | 1331 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in mv_u3d_eps_init()
|
D | mv_udc_core.c | 1264 ep->ep_type = USB_ENDPOINT_XFER_CONTROL; in eps_init()
|
/linux-4.1.27/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 255 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()
|
D | emxx_udc.h | 594 u8 ep_type; member
|
/linux-4.1.27/drivers/usb/host/ |
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 | 2370 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/ |
D | bdc.h | 359 u8 ep_type; member
|
D | bdc_ep.c | 600 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/ |
D | imon.c | 2114 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()
|