Lines Matching refs:ep_ctx
795 struct xhci_ep_ctx *ep_ctx, in xhci_setup_streams_ep_input_ctx() argument
807 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx()
808 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx()
810 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx()
818 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument
822 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx()
824 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx()
1505 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local
1518 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1589 ep_ctx->ep_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | in xhci_endpoint_init()
1592 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in xhci_endpoint_init()
1596 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1599 ep_ctx->tx_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | in xhci_endpoint_init()
1610 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_zero() local
1613 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1615 ep_ctx->ep_info = 0; in xhci_endpoint_zero()
1616 ep_ctx->ep_info2 = 0; in xhci_endpoint_zero()
1617 ep_ctx->deq = 0; in xhci_endpoint_zero()
1618 ep_ctx->tx_info = 0; in xhci_endpoint_zero()
1640 struct xhci_ep_ctx *ep_ctx; in xhci_update_bw_info() local
1659 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); in xhci_update_bw_info()
1660 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1670 le32_to_cpu(ep_ctx->ep_info)); in xhci_update_bw_info()
1676 le32_to_cpu(ep_ctx->ep_info)) + 1; in xhci_update_bw_info()
1678 le32_to_cpu(ep_ctx->ep_info2)) + 1; in xhci_update_bw_info()
1680 le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1683 le32_to_cpu(ep_ctx->tx_info)); in xhci_update_bw_info()