Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/rockchip/
H A Dclk.c266 struct clk *mux_clk; in rockchip_clk_register_frac_branch() local
289 mux_clk = clk_register(NULL, &frac_mux->hw); in rockchip_clk_register_frac_branch()
290 if (IS_ERR(mux_clk)) { in rockchip_clk_register_frac_branch()
292 return mux_clk; in rockchip_clk_register_frac_branch()
295 rockchip_clk_add_lookup(ctx, mux_clk, child->id); in rockchip_clk_register_frac_branch()
H A Dclk-pll.c1068 struct clk *pll_clk, *mux_clk; in rockchip_clk_register_pll() local
1118 mux_clk = clk_register(NULL, &pll_mux->hw); in rockchip_clk_register_pll()
1119 if (IS_ERR(mux_clk)) in rockchip_clk_register_pll()
1197 return mux_clk; in rockchip_clk_register_pll()
1201 clk_unregister(mux_clk); in rockchip_clk_register_pll()
1202 mux_clk = pll_clk; in rockchip_clk_register_pll()
1205 return mux_clk; in rockchip_clk_register_pll()
/openbmc/linux/drivers/mmc/host/
H A Dmeson-gx-mmc.c158 struct clk *mux_clk; member
471 host->mux_clk = devm_clk_register(host->dev, &mux->hw); in meson_mmc_clk_init()
472 if (WARN_ON(IS_ERR(host->mux_clk))) in meson_mmc_clk_init()
473 return PTR_ERR(host->mux_clk); in meson_mmc_clk_init()
484 clk_parent[0] = __clk_get_name(host->mux_clk); in meson_mmc_clk_init()
533 max_dly = DIV_ROUND_UP(clk_get_rate(host->mux_clk), in meson_mmc_resampling_tuning()
/openbmc/linux/drivers/clk/ti/
H A Dmux.c220 CLK_OF_DECLARE(mux_clk, "ti,mux-clock", of_mux_clk_setup);