Lines Matching refs:ep_ctx
725 struct xhci_ep_ctx *ep_ctx, in xhci_setup_streams_ep_input_ctx() argument
737 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx()
738 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx()
740 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx()
748 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument
752 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx()
754 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx()
1434 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local
1447 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1510 ep_ctx->ep_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | in xhci_endpoint_init()
1513 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in xhci_endpoint_init()
1517 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1520 ep_ctx->tx_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | in xhci_endpoint_init()
1531 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_zero() local
1534 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1536 ep_ctx->ep_info = 0; in xhci_endpoint_zero()
1537 ep_ctx->ep_info2 = 0; in xhci_endpoint_zero()
1538 ep_ctx->deq = 0; in xhci_endpoint_zero()
1539 ep_ctx->tx_info = 0; in xhci_endpoint_zero()
1561 struct xhci_ep_ctx *ep_ctx; in xhci_update_bw_info() local
1580 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); in xhci_update_bw_info()
1581 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1591 le32_to_cpu(ep_ctx->ep_info)); in xhci_update_bw_info()
1597 le32_to_cpu(ep_ctx->ep_info)) + 1; in xhci_update_bw_info()
1599 le32_to_cpu(ep_ctx->ep_info2)) + 1; in xhci_update_bw_info()
1601 le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1604 le32_to_cpu(ep_ctx->tx_info)); in xhci_update_bw_info()