Lines Matching refs:ctx
29 struct fsl_xhci ctx; member
127 priv->ctx.hcd = (struct xhci_hccr *)priv->hcd_base; in xhci_fsl_probe()
128 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) + in xhci_fsl_probe()
133 ret = fsl_xhci_core_init(&priv->ctx); in xhci_fsl_probe()
139 hccr = (struct xhci_hccr *)(priv->ctx.hcd); in xhci_fsl_probe()
154 fsl_xhci_core_exit(&priv->ctx); in xhci_fsl_remove()
178 struct fsl_xhci *ctx = &fsl_xhci; in xhci_hcd_init() local
181 ctx->hcd = (struct xhci_hccr *)ctr_addr[index]; in xhci_hcd_init()
182 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
192 ret = fsl_xhci_core_init(ctx); in xhci_hcd_init()
198 *hccr = (struct xhci_hccr *)ctx->hcd; in xhci_hcd_init()
211 struct fsl_xhci *ctx = &fsl_xhci; in xhci_hcd_stop() local
213 fsl_xhci_core_exit(ctx); in xhci_hcd_stop()