Searched refs:clk_mux (Results 1 – 25 of 42) sorted by relevance
12
/linux/drivers/clk/mediatek/ |
A D | clk-mux.c | 139 struct mtk_clk_mux *clk_mux; in mtk_clk_register_mux() local 143 clk_mux = kzalloc(sizeof(*clk_mux), GFP_KERNEL); in mtk_clk_register_mux() 144 if (!clk_mux) in mtk_clk_register_mux() 153 clk_mux->regmap = regmap; in mtk_clk_register_mux() 154 clk_mux->data = mux; in mtk_clk_register_mux() 155 clk_mux->lock = lock; in mtk_clk_register_mux() 156 clk_mux->hw.init = &init; in mtk_clk_register_mux() 158 clk = clk_register(NULL, &clk_mux->hw); in mtk_clk_register_mux() 160 kfree(clk_mux); in mtk_clk_register_mux()
|
/linux/drivers/clk/ |
A D | clk-mux.c | 27 static inline u32 clk_mux_readl(struct clk_mux *mux) in clk_mux_readl() 35 static inline void clk_mux_writel(struct clk_mux *mux, u32 val) in clk_mux_writel() 90 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_get_parent() 101 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_set_parent() 132 struct clk_mux *mux = to_clk_mux(hw); in clk_mux_determine_rate() 157 struct clk_mux *mux; in __clk_hw_register_mux() 262 struct clk_mux *mux; in clk_unregister_mux() 278 struct clk_mux *mux; in clk_hw_unregister_mux()
|
A D | clk-versaclock5.c | 192 struct clk_hw clk_mux; member 230 container_of(hw, struct vc5_driver_data, clk_mux); in vc5_mux_get_parent() 251 container_of(hw, struct vc5_driver_data, clk_mux); in vc5_mux_set_parent() 998 vc5->clk_mux.init = &init; in vc5_probe() 999 ret = devm_clk_hw_register(&client->dev, &vc5->clk_mux); in vc5_probe() 1012 parent_names[0] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe() 1030 parent_names[0] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe() 1081 parent_names[0] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe() 1096 parent_names[1] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe()
|
A D | clk-milbeaut.c | 282 struct clk_mux *mux = to_clk_mux(hw); in m10v_mux_get_parent() 293 struct clk_mux *mux = to_clk_mux(hw); in m10v_mux_set_parent() 331 struct clk_mux *mux; in m10v_clk_hw_register_mux()
|
/linux/drivers/soc/ti/ |
A D | pruss.c | 41 static int pruss_clk_mux_setup(struct pruss *pruss, struct clk *clk_mux, in pruss_clk_mux_setup() argument 89 clk_mux = clk_register_mux(NULL, clk_mux_name, parent_names, in pruss_clk_mux_setup() 91 if (IS_ERR(clk_mux)) { in pruss_clk_mux_setup() 92 ret = PTR_ERR(clk_mux); in pruss_clk_mux_setup() 97 clk_mux); in pruss_clk_mux_setup() 103 ret = of_clk_add_provider(clk_mux_np, of_clk_src_simple_get, clk_mux); in pruss_clk_mux_setup()
|
/linux/drivers/clk/imx/ |
A D | clk-fixup-mux.c | 23 struct clk_mux mux; 30 struct clk_mux *mux = to_clk_mux(hw); in to_clk_fixup_mux() 45 struct clk_mux *mux = to_clk_mux(hw); in clk_fixup_mux_set_parent()
|
A D | clk-busy.c | 118 struct clk_mux mux; 126 struct clk_mux *mux = to_clk_mux(hw); in to_clk_busy_mux()
|
A D | clk-composite-8m.c | 135 struct clk_mux *mux = to_clk_mux(hw); in imx8m_clk_composite_mux_set_parent() 184 struct clk_mux *mux = NULL; in __imx8m_clk_hw_composite()
|
A D | clk-composite-7ulp.c | 79 struct clk_mux *mux = NULL; in imx_ulp_clk_hw_composite()
|
/linux/drivers/clk/sunxi/ |
A D | clk-a20-gmac.c | 55 struct clk_mux *mux; in sun7i_a20_gmac_clk_setup() 65 mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL); in sun7i_a20_gmac_clk_setup()
|
A D | clk-factors.h | 50 struct clk_mux *mux;
|
A D | clk-a10-mod1.c | 24 struct clk_mux *mux; in sun4i_mod1_clk_setup()
|
A D | clk-factors.c | 184 struct clk_mux *mux = NULL; in __sunxi_factors_register() 231 mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL); in __sunxi_factors_register()
|
A D | clk-sun8i-mbus.c | 32 struct clk_mux *mux; in sun8i_a23_mbus_setup()
|
A D | clk-sun9i-cpus.c | 189 struct clk_mux *mux; in sun9i_a80_cpus_setup()
|
A D | clk-sun4i-display.c | 110 struct clk_mux *mux; in sun4i_a10_display_init()
|
/linux/drivers/clk/rockchip/ |
A D | clk.c | 49 struct clk_mux *mux = NULL; in rockchip_clk_register_branch() 129 struct clk_mux mux; 145 struct clk_mux *frac_mux = &frac->mux; in rockchip_clk_frac_notifier_cb() 256 struct clk_mux *frac_mux = &frac->mux; in rockchip_clk_register_frac_branch()
|
A D | clk-pll.c | 29 struct clk_mux pll_mux; 193 struct clk_mux *pll_mux = &pll->pll_mux; in rockchip_rk3036_pll_set_params() 428 struct clk_mux *pll_mux = &pll->pll_mux; in rockchip_rk3066_pll_set_params() 675 struct clk_mux *pll_mux = &pll->pll_mux; in rockchip_rk3399_pll_set_params() 860 struct clk_mux *pll_mux; in rockchip_clk_register_pll()
|
A D | clk-half-divider.c | 170 struct clk_mux *mux = NULL; in rockchip_clk_register_halfdiv()
|
/linux/drivers/clk/nxp/ |
A D | clk-lpc18xx-cgu.c | 168 struct clk_mux mux; 202 struct clk_mux mux; 266 struct clk_mux mux;
|
/linux/drivers/clk/mmp/ |
A D | clk-audio.c | 62 struct clk_mux sspa_mux; 63 struct clk_mux sspa1_mux;
|
/linux/drivers/mmc/host/ |
A D | meson-mx-sdhc-clkc.c | 18 struct clk_mux src_sel;
|
/linux/drivers/clk/samsung/ |
A D | clk-exynos-clkout.c | 31 struct clk_mux mux;
|
/linux/drivers/clk/mvebu/ |
A D | kirkwood.c | 281 struct clk_mux *mux = in clk_muxing_get_src()
|
A D | armada-37xx-periph.c | 139 struct clk_mux mux_##_name = { \ 625 struct clk_mux *mux; in armada_3700_add_composite_clk()
|
Completed in 32 milliseconds
12