Lines Matching refs:ep_ctx
145 static u32 get_esit(struct xhci_ep_ctx *ep_ctx)
149 esit = 1 << CTX_TO_EP_INTERVAL(le32_to_cpu(ep_ctx->ep_info));
273 static void setup_sch_info(struct xhci_ep_ctx *ep_ctx,
283 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2));
284 maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2));
285 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2));
286 mult = CTX_TO_EP_MULT(le32_to_cpu(ep_ctx->ep_info));
289 le32_to_cpu(ep_ctx->ep_info)) << 16) |
290 CTX_TO_MAX_ESIT_PAYLOAD(le32_to_cpu(ep_ctx->tx_info));
292 sch_ep->esit = get_esit(ep_ctx);
631 struct xhci_ep_ctx *ep_ctx;
638 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
647 ep_ctx->reserved[0] = cpu_to_le32(EP_BPKTS(1));
658 setup_sch_info(ep_ctx, sch_ep);
699 struct xhci_ep_ctx *ep_ctx;
710 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
711 ep_ctx->reserved[0] = cpu_to_le32(EP_BPKTS(sch_ep->pkts)
714 ep_ctx->reserved[1] = cpu_to_le32(EP_BOFFSET(sch_ep->offset)