Home
last modified time | relevance | path

Searched refs:cfg_div_clk (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/mmc/host/
Dmeson-mx-sdio.c107 struct clk *cfg_div_clk; member
281 host->error = clk_set_rate(host->cfg_div_clk, ios->clock); in meson_mx_mmc_set_ios()
289 mmc->actual_clock = clk_get_rate(host->cfg_div_clk); in meson_mx_mmc_set_ios()
569 mmc->f_min = clk_round_rate(host->cfg_div_clk, 1); in meson_mx_mmc_add_host()
570 mmc->f_max = clk_round_rate(host->cfg_div_clk, in meson_mx_mmc_add_host()
628 host->cfg_div_clk = devm_clk_register(host->controller_dev, in meson_mx_mmc_register_clks()
630 if (WARN_ON(IS_ERR(host->cfg_div_clk))) in meson_mx_mmc_register_clks()
631 return PTR_ERR(host->cfg_div_clk); in meson_mx_mmc_register_clks()
703 ret = clk_prepare_enable(host->cfg_div_clk); in meson_mx_mmc_probe()
725 clk_disable_unprepare(host->cfg_div_clk); in meson_mx_mmc_probe()
[all …]