Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Dmeson-mx-sdio.c107 struct clk *cfg_div_clk; member
284 host->error = clk_set_rate(host->cfg_div_clk, ios->clock); in meson_mx_mmc_set_ios()
292 mmc->actual_clock = clk_get_rate(host->cfg_div_clk); in meson_mx_mmc_set_ios()
562 mmc->f_min = clk_round_rate(host->cfg_div_clk, 1); in meson_mx_mmc_add_host()
563 mmc->f_max = clk_round_rate(host->cfg_div_clk, in meson_mx_mmc_add_host()
621 host->cfg_div_clk = devm_clk_register(host->controller_dev, in meson_mx_mmc_register_clks()
623 if (WARN_ON(IS_ERR(host->cfg_div_clk))) in meson_mx_mmc_register_clks()
624 return PTR_ERR(host->cfg_div_clk); in meson_mx_mmc_register_clks()
699 ret = clk_prepare_enable(host->cfg_div_clk); in meson_mx_mmc_probe()
721 clk_disable_unprepare(host->cfg_div_clk); in meson_mx_mmc_probe()
[all …]