Lines Matching refs:ep_ctx

722 		struct xhci_ep_ctx *ep_ctx,  in xhci_setup_streams_ep_input_ctx()  argument
734 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx()
735 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx()
737 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx()
745 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument
749 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx()
751 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx()
1423 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local
1436 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1499 ep_ctx->ep_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | in xhci_endpoint_init()
1502 ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | in xhci_endpoint_init()
1506 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1509 ep_ctx->tx_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | in xhci_endpoint_init()
1520 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_zero() local
1523 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1525 ep_ctx->ep_info = 0; in xhci_endpoint_zero()
1526 ep_ctx->ep_info2 = 0; in xhci_endpoint_zero()
1527 ep_ctx->deq = 0; in xhci_endpoint_zero()
1528 ep_ctx->tx_info = 0; in xhci_endpoint_zero()
1550 struct xhci_ep_ctx *ep_ctx; in xhci_update_bw_info() local
1569 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); in xhci_update_bw_info()
1570 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1580 le32_to_cpu(ep_ctx->ep_info)); in xhci_update_bw_info()
1586 le32_to_cpu(ep_ctx->ep_info)) + 1; in xhci_update_bw_info()
1588 le32_to_cpu(ep_ctx->ep_info2)) + 1; in xhci_update_bw_info()
1590 le32_to_cpu(ep_ctx->ep_info2)); in xhci_update_bw_info()
1593 le32_to_cpu(ep_ctx->tx_info)); in xhci_update_bw_info()