Lines Matching refs:ep_ctx
703 struct xhci_ep_ctx *ep_ctx, in xhci_setup_streams_ep_input_ctx() argument
715 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx()
716 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx()
718 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx()
726 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument
730 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx()
732 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx()
1396 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local
1409 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1472 ep_ctx->ep_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | in xhci_endpoint_init()
1475 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in xhci_endpoint_init()
1479 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1482 ep_ctx->tx_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | in xhci_endpoint_init()
1493 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_zero() local
1496 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1498 ep_ctx->ep_info = 0; in xhci_endpoint_zero()
1499 ep_ctx->ep_info2 = 0; in xhci_endpoint_zero()
1500 ep_ctx->deq = 0; in xhci_endpoint_zero()
1501 ep_ctx->tx_info = 0; in xhci_endpoint_zero()
1523 struct xhci_ep_ctx *ep_ctx; in xhci_update_bw_info() local
1542 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); in xhci_update_bw_info()
1543 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1553 le32_to_cpu(ep_ctx->ep_info)); in xhci_update_bw_info()
1559 le32_to_cpu(ep_ctx->ep_info)) + 1; in xhci_update_bw_info()
1561 le32_to_cpu(ep_ctx->ep_info2)) + 1; in xhci_update_bw_info()
1563 le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1566 le32_to_cpu(ep_ctx->tx_info)); in xhci_update_bw_info()