Lines Matching refs:mmc

42 			dev_err(mmc_dev(host->mmc), "Internal clock never stabilised.\n");  in xenon_enable_internal_clk()
92 host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY; in xenon_enable_sdhc()
97 host->mmc->caps &= ~MMC_CAP_BUS_WIDTH_TEST; in xenon_enable_sdhc()
225 struct mmc_host *mmc = host->mmc; in xenon_set_power() local
236 if (!IS_ERR(mmc->supply.vmmc)) in xenon_set_power()
237 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in xenon_set_power()
276 static void xenon_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in xenon_set_ios() argument
278 struct sdhci_host *host = mmc_priv(mmc); in xenon_set_ios()
304 sdhci_set_ios(mmc, ios); in xenon_set_ios()
311 static int xenon_start_signal_voltage_switch(struct mmc_host *mmc, in xenon_start_signal_voltage_switch() argument
314 struct sdhci_host *host = mmc_priv(mmc); in xenon_start_signal_voltage_switch()
335 if (PTR_ERR(mmc->supply.vqmmc) == -ENODEV) in xenon_start_signal_voltage_switch()
338 return sdhci_start_signal_voltage_switch(mmc, ios); in xenon_start_signal_voltage_switch()
345 static void xenon_init_card(struct mmc_host *mmc, struct mmc_card *card) in xenon_init_card() argument
347 struct sdhci_host *host = mmc_priv(mmc); in xenon_init_card()
355 static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode) in xenon_execute_tuning() argument
357 struct sdhci_host *host = mmc_priv(mmc); in xenon_execute_tuning()
371 return sdhci_execute_tuning(mmc, opcode); in xenon_execute_tuning()
374 static void xenon_enable_sdio_irq(struct mmc_host *mmc, int enable) in xenon_enable_sdio_irq() argument
376 struct sdhci_host *host = mmc_priv(mmc); in xenon_enable_sdio_irq()
382 sdhci_enable_sdio_irq(mmc, enable); in xenon_enable_sdio_irq()
420 struct mmc_host *mmc = host->mmc; in xenon_probe_params() local
435 dev_err(mmc_dev(mmc), "SDHC Index %d exceeds Number of SDHCs %d\n", in xenon_probe_params()
446 dev_err(mmc_dev(mmc), "Wrong Re-tuning Count. Set default value %d\n", in xenon_probe_params()
536 err = mmc_of_parse(host->mmc); in xenon_probe()
628 mmc_retune_needed(host->mmc); in xenon_runtime_suspend()