Lines Matching refs:mmc
22 struct mmc mmc; member
76 dev_err(mmc_dev(host->mmc), in arasan_zynqmp_dll_reset()
88 static int arasan_sdhci_execute_tuning(struct mmc *mmc, u8 opcode) in arasan_sdhci_execute_tuning() argument
94 struct arasan_sdhci_priv *priv = dev_get_priv(mmc->dev); in arasan_sdhci_execute_tuning()
127 mmc->bus_width == 8) in arasan_sdhci_execute_tuning()
136 mmc_send_cmd(mmc, &cmd, NULL); in arasan_sdhci_execute_tuning()
168 struct arasan_sdhci_priv *priv = dev_get_priv(host->mmc->dev); in arasan_sdhci_set_tapdelay()
169 struct mmc *mmc = (struct mmc *)host->mmc; in arasan_sdhci_set_tapdelay() local
172 uhsmode = mode2timing[mmc->selected_mode]; in arasan_sdhci_set_tapdelay()
181 struct mmc *mmc = (struct mmc *)host->mmc; in arasan_sdhci_set_control_reg() local
184 if (!IS_SD(mmc)) in arasan_sdhci_set_control_reg()
187 if (mmc->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { in arasan_sdhci_set_control_reg()
193 if (mmc->selected_mode > SD_HS && in arasan_sdhci_set_control_reg()
194 mmc->selected_mode <= UHS_DDR50) { in arasan_sdhci_set_control_reg()
197 switch (mmc->selected_mode) { in arasan_sdhci_set_control_reg()
275 host->mmc = &plat->mmc; in arasan_sdhci_probe()
278 host->mmc->priv = host; in arasan_sdhci_probe()
279 host->mmc->dev = dev; in arasan_sdhci_probe()
280 upriv->mmc = host->mmc; in arasan_sdhci_probe()
317 return sdhci_bind(dev, &plat->mmc, &plat->cfg); in arasan_sdhci_bind()