Lines Matching refs:cq_host
1363 struct cqhci_host *cq_host = host->mmc->cqe_private; in sdhci_esdhc_imx_hwinit() local
1464 if (cq_host) { in sdhci_esdhc_imx_hwinit()
1465 tmp = cqhci_readl(cq_host, CQHCI_IS); in sdhci_esdhc_imx_hwinit()
1466 cqhci_writel(cq_host, tmp, CQHCI_IS); in sdhci_esdhc_imx_hwinit()
1467 cqhci_writel(cq_host, CQHCI_HALT, CQHCI_CTL); in sdhci_esdhc_imx_hwinit()
1475 struct cqhci_host *cq_host = mmc->cqe_private; in esdhc_cqe_enable() local
1514 cqhci_writel(cq_host, 0, CQHCI_CTL); in esdhc_cqe_enable()
1515 if (cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT) in esdhc_cqe_enable()
1590 struct cqhci_host *cq_host; in sdhci_esdhc_imx_probe() local
1691 cq_host = devm_kzalloc(&pdev->dev, sizeof(*cq_host), GFP_KERNEL); in sdhci_esdhc_imx_probe()
1692 if (!cq_host) { in sdhci_esdhc_imx_probe()
1697 cq_host->mmio = host->ioaddr + ESDHC_CQHCI_ADDR_OFFSET; in sdhci_esdhc_imx_probe()
1698 cq_host->ops = &esdhc_cqhci_ops; in sdhci_esdhc_imx_probe()
1700 err = cqhci_init(cq_host, host->mmc, false); in sdhci_esdhc_imx_probe()