Lines Matching refs:mmc
63 struct mmc mmc; member
134 struct mmc *mmc = host->mmc; in sdhci_cdns_set_control_reg() local
135 struct sdhci_cdns_plat *plat = dev_get_platdata(mmc->dev); in sdhci_cdns_set_control_reg()
136 unsigned int clock = mmc->clock; in sdhci_cdns_set_control_reg()
147 if (mmc->ddr_mode) in sdhci_cdns_set_control_reg()
152 if (mmc->ddr_mode) in sdhci_cdns_set_control_reg()
191 struct mmc *mmc = &plat->mmc; in sdhci_cdns_execute_tuning() local
202 if (!IS_MMC(mmc)) in sdhci_cdns_execute_tuning()
210 mmc_send_tuning(mmc, opcode, NULL)) { /* bad */ in sdhci_cdns_execute_tuning()
235 return sdhci_bind(dev, &plat->mmc, &plat->cfg); in sdhci_cdns_bind()
276 upriv->mmc = &plat->mmc; in sdhci_cdns_probe()
277 host->mmc = &plat->mmc; in sdhci_cdns_probe()
278 host->mmc->priv = host; in sdhci_cdns_probe()