Home
last modified time | relevance | path

Searched refs:mux_hw (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/clk/
Dclk-composite.c28 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent() local
30 __clk_hw_set_clk(mux_hw, hw); in clk_composite_get_parent()
32 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
39 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() local
41 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_parent()
43 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
65 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local
78 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
82 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
95 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
[all …]
/linux-4.4.14/drivers/clk/tegra/
Dclk-periph.c28 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent() local
30 __clk_hw_set_clk(mux_hw, hw); in clk_periph_get_parent()
32 return mux_ops->get_parent(mux_hw); in clk_periph_get_parent()
39 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent() local
41 __clk_hw_set_clk(mux_hw, hw); in clk_periph_set_parent()
43 return mux_ops->set_parent(mux_hw, index); in clk_periph_set_parent()
/linux-4.4.14/drivers/clk/st/
Dclkgen-mux.c92 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_enable() local
96 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_enable()
98 ret = clk_mux_ops.set_parent(mux_hw, genamux->muxsel); in clkgena_divmux_enable()
116 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_disable() local
118 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_disable()
120 clk_mux_ops.set_parent(mux_hw, CKGAX_CLKOPSRC_SWITCH_OFF); in clkgena_divmux_disable()
126 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_is_enabled() local
128 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_is_enabled()
130 return (s8)clk_mux_ops.get_parent(mux_hw) > 0; in clkgena_divmux_is_enabled()
136 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_get_parent() local
[all …]
Dclk-flexgen.c81 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_get_parent() local
83 __clk_hw_set_clk(mux_hw, hw); in flexgen_get_parent()
85 return clk_mux_ops.get_parent(mux_hw); in flexgen_get_parent()
91 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_set_parent() local
93 __clk_hw_set_clk(mux_hw, hw); in flexgen_set_parent()
95 return clk_mux_ops.set_parent(mux_hw, index); in flexgen_set_parent()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c145 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *div_hw = NULL; in mtk_clk_register_composite() local
162 mux_hw = &mux->hw; in mtk_clk_register_composite()
206 mux_hw, mux_ops, in mtk_clk_register_composite()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-factors.c172 struct clk_hw *mux_hw = NULL; in sunxi_factors_register() local
228 mux_hw = &mux->hw; in sunxi_factors_register()
233 mux_hw, &clk_mux_ops, in sunxi_factors_register()
/linux-4.4.14/include/linux/
Dclk-provider.h573 struct clk_hw *mux_hw; member
584 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,