Lines Matching refs:ep_ctx
98 static u32 get_esit(struct xhci_ep_ctx *ep_ctx)
102 esit = 1 << CTX_TO_EP_INTERVAL(le32_to_cpu(ep_ctx->ep_info));
197 struct usb_host_endpoint *ep, struct xhci_ep_ctx *ep_ctx)
208 len_bw_budget_table = get_esit(ep_ctx);
235 struct xhci_ep_ctx *ep_ctx, struct mu3h_sch_ep_info *sch_ep)
246 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2));
247 maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2));
248 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2));
249 mult = CTX_TO_EP_MULT(le32_to_cpu(ep_ctx->ep_info));
252 le32_to_cpu(ep_ctx->ep_info)) << 16) |
253 CTX_TO_MAX_ESIT_PAYLOAD(le32_to_cpu(ep_ctx->tx_info));
255 sch_ep->esit = get_esit(ep_ctx);
688 struct xhci_ep_ctx *ep_ctx;
698 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
712 ep_ctx->reserved[0] = cpu_to_le32(EP_BPKTS(1));
717 sch_ep = create_sch_ep(udev, ep, ep_ctx);
721 setup_sch_info(udev, ep_ctx, sch_ep);
790 struct xhci_ep_ctx *ep_ctx;
799 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
800 ep_ctx->reserved[0] = cpu_to_le32(EP_BPKTS(sch_ep->pkts)
803 ep_ctx->reserved[1] = cpu_to_le32(EP_BOFFSET(sch_ep->offset)