Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/hisilicon/
Dclk-hi3620.c410 static struct clk *hisi_register_clk_mmc(struct hisi_mmc_clock *mmc_clk, in hisi_register_clk_mmc() argument
421 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 …]
/linux-6.12.1/drivers/mmc/host/
Dmeson-gx-mmc.c159 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()
[all …]
/linux-6.12.1/arch/powerpc/boot/dts/
Dfsp2.dts53 mmc_clk: mmc_clk { label
57 clock-output-names = "mmc_clk";
501 clocks = <&mmc_clk>;
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam33xx-clocks.dtsi557 mmc_clk: clock-mmc { label
560 clock-output-names = "mmc_clk";
Dam43xx-clocks.dtsi597 mmc_clk: clock-mmc { label
600 clock-output-names = "mmc_clk";