Lines Matching refs:cq_host
836 struct cqhci_host *cq_host = mmc->cqe_private; in sdhci_gl9763e_cqe_pre_enable() local
839 value = cqhci_readl(cq_host, CQHCI_CFG); in sdhci_gl9763e_cqe_pre_enable()
841 cqhci_writel(cq_host, value, CQHCI_CFG); in sdhci_gl9763e_cqe_pre_enable()
868 struct cqhci_host *cq_host = mmc->cqe_private; in sdhci_gl9763e_cqe_post_disable() local
871 value = cqhci_readl(cq_host, CQHCI_CFG); in sdhci_gl9763e_cqe_post_disable()
873 cqhci_writel(cq_host, value, CQHCI_CFG); in sdhci_gl9763e_cqe_post_disable()
889 struct cqhci_host *cq_host; in gl9763e_add_host() local
897 cq_host = devm_kzalloc(dev, sizeof(*cq_host), GFP_KERNEL); in gl9763e_add_host()
898 if (!cq_host) { in gl9763e_add_host()
903 cq_host->mmio = host->ioaddr + SDHCI_GLI_9763E_CQE_BASE_ADDR; in gl9763e_add_host()
904 cq_host->ops = &sdhci_gl9763e_cqhci_ops; in gl9763e_add_host()
908 cq_host->caps |= CQHCI_TASK_DESC_SZ_128; in gl9763e_add_host()
910 ret = cqhci_init(cq_host, host->mmc, dma64); in gl9763e_add_host()