Searched refs:mmc_clk (Results 1 – 5 of 5) sorted by relevance
410 static struct clk *hisi_register_clk_mmc(struct hisi_mmc_clock *mmc_clk, in hisi_register_clk_mmc() argument421 init.name = mmc_clk->name; in hisi_register_clk_mmc()423 init.flags = mmc_clk->flags; in hisi_register_clk_mmc()424 init.parent_names = (mmc_clk->parent_name ? &mmc_clk->parent_name : NULL); in hisi_register_clk_mmc()425 init.num_parents = (mmc_clk->parent_name ? 1 : 0); in hisi_register_clk_mmc()428 mclk->id = mmc_clk->id; in hisi_register_clk_mmc()429 mclk->clken_reg = base + mmc_clk->clken_reg; in hisi_register_clk_mmc()430 mclk->clken_bit = mmc_clk->clken_bit; in hisi_register_clk_mmc()431 mclk->div_reg = base + mmc_clk->div_reg; in hisi_register_clk_mmc()432 mclk->div_off = mmc_clk->div_off; in hisi_register_clk_mmc()[all …]
159 struct clk *mmc_clk; member388 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()[all …]
53 mmc_clk: mmc_clk { label57 clock-output-names = "mmc_clk";501 clocks = <&mmc_clk>;
557 mmc_clk: clock-mmc { label560 clock-output-names = "mmc_clk";
597 mmc_clk: clock-mmc { label600 clock-output-names = "mmc_clk";