Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dloongson1-cpufreq.c27 struct clk *mux_clk; /* MUX of CPU clk */ member
72 clk_set_rate(cpufreq->mux_clk, new_freq * 1000); in ls1x_cpufreq_target()
73 clk_set_parent(policy->clk, cpufreq->mux_clk); in ls1x_cpufreq_target()
169 cpufreq->mux_clk = clk; in ls1x_cpufreq_probe()
174 __clk_get_name(cpufreq->mux_clk)); in ls1x_cpufreq_probe()
/drivers/clk/rockchip/
Dclk-pll.c843 struct clk *pll_clk, *mux_clk; in rockchip_clk_register_pll() local
892 mux_clk = clk_register(NULL, &pll_mux->hw); in rockchip_clk_register_pll()
893 if (IS_ERR(mux_clk)) in rockchip_clk_register_pll()
963 return mux_clk; in rockchip_clk_register_pll()
966 clk_unregister(mux_clk); in rockchip_clk_register_pll()
967 mux_clk = pll_clk; in rockchip_clk_register_pll()
970 return mux_clk; in rockchip_clk_register_pll()
Dclk.c271 struct clk *mux_clk; in rockchip_clk_register_frac_branch() local
292 mux_clk = clk_register(NULL, &frac_mux->hw); in rockchip_clk_register_frac_branch()
293 if (IS_ERR(mux_clk)) { in rockchip_clk_register_frac_branch()
298 rockchip_clk_add_lookup(ctx, mux_clk, child->id); in rockchip_clk_register_frac_branch()
/drivers/mmc/host/
Dmeson-gx-mmc.c156 struct clk *mux_clk; member
456 host->mux_clk = devm_clk_register(host->dev, &mux->hw); in meson_mmc_clk_init()
457 if (WARN_ON(IS_ERR(host->mux_clk))) in meson_mmc_clk_init()
458 return PTR_ERR(host->mux_clk); in meson_mmc_clk_init()
469 clk_parent[0] = __clk_get_name(host->mux_clk); in meson_mmc_clk_init()
518 max_dly = DIV_ROUND_UP(clk_get_rate(host->mux_clk), in meson_mmc_resampling_tuning()
/drivers/clk/ti/
Dmux.c226 CLK_OF_DECLARE(mux_clk, "ti,mux-clock", of_mux_clk_setup);