Lines Matching refs:ep_ctx
68 struct xhci_ep_ctx *ep_ctx, struct mu3h_sch_ep_info *sch_ep) in setup_sch_info() argument
77 ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
78 ep_interval = CTX_TO_EP_INTERVAL(le32_to_cpu(ep_ctx->ep_info)); in setup_sch_info()
79 max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
80 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
81 mult = CTX_TO_EP_MULT(le32_to_cpu(ep_ctx->ep_info)); in setup_sch_info()
313 struct xhci_ep_ctx *ep_ctx; in xhci_mtk_add_ep_quirk() local
327 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_add_ep_quirk()
342 ep_ctx->reserved[0] |= cpu_to_le32(EP_BPKTS(1)); in xhci_mtk_add_ep_quirk()
354 setup_sch_info(udev, ep_ctx, sch_ep); in xhci_mtk_add_ep_quirk()
366 ep_ctx->reserved[0] |= cpu_to_le32(EP_BPKTS(sch_ep->pkts) in xhci_mtk_add_ep_quirk()
368 ep_ctx->reserved[1] |= cpu_to_le32(EP_BOFFSET(sch_ep->offset) in xhci_mtk_add_ep_quirk()