Home
last modified time | relevance | path

Searched refs:clk_mux (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/clk/mediatek/
A Dclk-mux.c139 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 Dclk-mux.c27 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 Dclk-versaclock5.c192 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 Dclk-milbeaut.c282 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 Dpruss.c41 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 Dclk-fixup-mux.c23 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 Dclk-busy.c118 struct clk_mux mux;
126 struct clk_mux *mux = to_clk_mux(hw); in to_clk_busy_mux()
A Dclk-composite-8m.c135 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 Dclk-composite-7ulp.c79 struct clk_mux *mux = NULL; in imx_ulp_clk_hw_composite()
/linux/drivers/clk/sunxi/
A Dclk-a20-gmac.c55 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 Dclk-factors.h50 struct clk_mux *mux;
A Dclk-a10-mod1.c24 struct clk_mux *mux; in sun4i_mod1_clk_setup()
A Dclk-factors.c184 struct clk_mux *mux = NULL; in __sunxi_factors_register()
231 mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL); in __sunxi_factors_register()
A Dclk-sun8i-mbus.c32 struct clk_mux *mux; in sun8i_a23_mbus_setup()
A Dclk-sun9i-cpus.c189 struct clk_mux *mux; in sun9i_a80_cpus_setup()
A Dclk-sun4i-display.c110 struct clk_mux *mux; in sun4i_a10_display_init()
/linux/drivers/clk/rockchip/
A Dclk.c49 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 Dclk-pll.c29 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 Dclk-half-divider.c170 struct clk_mux *mux = NULL; in rockchip_clk_register_halfdiv()
/linux/drivers/clk/nxp/
A Dclk-lpc18xx-cgu.c168 struct clk_mux mux;
202 struct clk_mux mux;
266 struct clk_mux mux;
/linux/drivers/clk/mmp/
A Dclk-audio.c62 struct clk_mux sspa_mux;
63 struct clk_mux sspa1_mux;
/linux/drivers/mmc/host/
A Dmeson-mx-sdhc-clkc.c18 struct clk_mux src_sel;
/linux/drivers/clk/samsung/
A Dclk-exynos-clkout.c31 struct clk_mux mux;
/linux/drivers/clk/mvebu/
A Dkirkwood.c281 struct clk_mux *mux = in clk_muxing_get_src()
A Darmada-37xx-periph.c139 struct clk_mux mux_##_name = { \
625 struct clk_mux *mux; in armada_3700_add_composite_clk()

Completed in 32 milliseconds

12