Lines Matching refs:cq_host
1364 struct cqhci_host *cq_host = host->mmc->cqe_private; in sdhci_esdhc_imx_hwinit() local
1472 if (cq_host) { in sdhci_esdhc_imx_hwinit()
1473 tmp = cqhci_readl(cq_host, CQHCI_IS); in sdhci_esdhc_imx_hwinit()
1474 cqhci_writel(cq_host, tmp, CQHCI_IS); in sdhci_esdhc_imx_hwinit()
1475 cqhci_writel(cq_host, CQHCI_HALT, CQHCI_CTL); in sdhci_esdhc_imx_hwinit()
1483 struct cqhci_host *cq_host = mmc->cqe_private; in esdhc_cqe_enable() local
1522 cqhci_writel(cq_host, 0, CQHCI_CTL); in esdhc_cqe_enable()
1523 if (cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT) in esdhc_cqe_enable()
1598 struct cqhci_host *cq_host; in sdhci_esdhc_imx_probe() local
1699 cq_host = devm_kzalloc(&pdev->dev, sizeof(*cq_host), GFP_KERNEL); in sdhci_esdhc_imx_probe()
1700 if (!cq_host) { in sdhci_esdhc_imx_probe()
1705 cq_host->mmio = host->ioaddr + ESDHC_CQHCI_ADDR_OFFSET; in sdhci_esdhc_imx_probe()
1706 cq_host->ops = &esdhc_cqhci_ops; in sdhci_esdhc_imx_probe()
1708 err = cqhci_init(cq_host, host->mmc, false); in sdhci_esdhc_imx_probe()