Lines Matching refs:mmc_clk
159 struct clk *mmc_clk; member
388 ret = clk_set_rate(host->mmc_clk, rate); in meson_mmc_clk_set()
396 mmc->actual_clock = clk_get_rate(host->mmc_clk); in meson_mmc_clk_set()
494 host->mmc_clk = devm_clk_register(host->dev, &div->hw); in meson_mmc_clk_init()
495 if (WARN_ON(IS_ERR(host->mmc_clk))) in meson_mmc_clk_init()
496 return PTR_ERR(host->mmc_clk); in meson_mmc_clk_init()
499 host->mmc->f_min = clk_round_rate(host->mmc_clk, 400000); in meson_mmc_clk_init()
500 ret = clk_set_rate(host->mmc_clk, host->mmc->f_min); in meson_mmc_clk_init()
504 return clk_prepare_enable(host->mmc_clk); in meson_mmc_clk_init()
534 clk_get_rate(host->mmc_clk)); in meson_mmc_resampling_tuning()
1292 clk_disable_unprepare(host->mmc_clk); in meson_mmc_probe()
1306 clk_disable_unprepare(host->mmc_clk); in meson_mmc_remove()