Home
last modified time | relevance | path

Searched refs:ep_index (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/host/
A Dxhci-ring.c295 u32 ep_index, trb_type cmd) in xhci_queue_command() argument
401 DB_VALUE(ep_index, 0)); in giveback_first_trb()
647 int ep_index; in xhci_bulk_tx() local
667 ep_index = usb_pipe_ep_index(pipe); in xhci_bulk_tx()
681 reset_ep(udev, ep_index); in xhci_bulk_tx()
683 ring = virt_dev->eps[ep_index].ring; in xhci_bulk_tx()
810 abort_td(udev, ep_index); in xhci_bulk_tx()
859 int ep_index; in xhci_ctrl_tx() local
872 ep_index = usb_pipe_ep_index(pipe); in xhci_ctrl_tx()
1022 reset_ep(udev, ep_index); in xhci_ctrl_tx()
[all …]
A Dxhci.c493 int ep_index; in xhci_init_ep_contexts_if() local
529 ep_index = xhci_get_ep_index(endpt_desc); in xhci_init_ep_contexts_if()
531 ep_index); in xhci_init_ep_contexts_if()
535 if (!virt_dev->eps[ep_index].ring) in xhci_init_ep_contexts_if()
542 ep_ctx[ep_index]->ep_info = in xhci_init_ep_contexts_if()
547 ep_ctx[ep_index]->ep_info2 |= in xhci_init_ep_contexts_if()
554 ep_ctx[ep_index]->ep_info2 |= in xhci_init_ep_contexts_if()
559 virt_dev->eps[ep_index].ring->enqueue); in xhci_init_ep_contexts_if()
569 ep_ctx[ep_index]->tx_info = in xhci_init_ep_contexts_if()
579 ep_ctx[ep_index]->reserved[0] = in xhci_init_ep_contexts_if()
[all …]
A Dxhci-mem.c670 unsigned int ep_index) in xhci_get_ep_ctx() argument
673 ep_index++; in xhci_get_ep_ctx()
675 ep_index++; in xhci_get_ep_ctx()
679 (ep_index * CTX_SIZE(xhci_readl(&ctrl->hccr->cr_hccparams)))); in xhci_get_ep_ctx()
696 unsigned int ep_index) in xhci_endpoint_copy() argument
701 out_ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_endpoint_copy()
702 in_ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_endpoint_copy()
/drivers/usb/gadget/
A Ddwc2_udc_otg_xfer_dma.c90 u32 ep_num = ep_index(ep); in setdma_rx()
132 u32 ep_num = ep_index(ep); in setdma_tx()
615 ep_num = ep_index(ep); in dwc2_queue()
735 max, ep_index(ep), cp); in dwc2_fifo_read()
930 ep_num = ep_index(ep); in dwc2_udc_set_nak()
951 ep_num = ep_index(ep); in dwc2_udc_ep_set_stall()
982 ep_num = ep_index(ep); in dwc2_udc_ep_clear_stall()
1033 ep_num = ep_index(ep); in dwc2_udc_set_halt()
1077 ep_num = ep_index(ep); in dwc2_udc_ep_activate()
1125 ep_num = ep_index(ep); in dwc2_udc_clear_feature()
[all …]
A Ddwc2_udc_otg_priv.h89 #define ep_index(EP) ((EP)->bEndpointAddress&0xF) macro
A Ddwc2_udc_otg.c784 debug("%s: %d\n", __func__, ep_index(ep)); in dwc2_fifo_status()
806 debug("%s: %d\n", __func__, ep_index(ep)); in dwc2_fifo_flush()

Completed in 17 milliseconds