Searched refs:mux_hw (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/clk/ |
D | clk-composite.c | 28 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() 68 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local 83 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate() 87 parent = clk_get_parent(mux_hw->clk); in clk_composite_determine_rate() 95 for (i = 0; i < __clk_get_num_parents(mux_hw->clk); i++) { in clk_composite_determine_rate() [all …]
|
/linux-4.1.27/drivers/clk/tegra/ |
D | clk-periph.c | 29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent() local 31 __clk_hw_set_clk(mux_hw, hw); in clk_periph_get_parent() 33 return mux_ops->get_parent(mux_hw); in clk_periph_get_parent() 40 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent() local 42 __clk_hw_set_clk(mux_hw, hw); in clk_periph_set_parent() 44 return mux_ops->set_parent(mux_hw, index); in clk_periph_set_parent()
|
/linux-4.1.27/drivers/clk/st/ |
D | clkgen-mux.c | 93 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_enable() local 97 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_enable() 99 ret = clk_mux_ops.set_parent(mux_hw, genamux->muxsel); in clkgena_divmux_enable() 117 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_disable() local 119 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_disable() 121 clk_mux_ops.set_parent(mux_hw, CKGAX_CLKOPSRC_SWITCH_OFF); in clkgena_divmux_disable() 127 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_is_enabled() local 129 __clk_hw_set_clk(mux_hw, hw); in clkgena_divmux_is_enabled() 131 return (s8)clk_mux_ops.get_parent(mux_hw) > 0; in clkgena_divmux_is_enabled() 137 struct clk_hw *mux_hw = &genamux->mux.hw; in clkgena_divmux_get_parent() local [all …]
|
D | clk-flexgen.c | 80 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_get_parent() local 82 __clk_hw_set_clk(mux_hw, hw); in flexgen_get_parent() 84 return clk_mux_ops.get_parent(mux_hw); in flexgen_get_parent() 90 struct clk_hw *mux_hw = &flexgen->mux.hw; in flexgen_set_parent() local 92 __clk_hw_set_clk(mux_hw, hw); in flexgen_set_parent() 94 return clk_mux_ops.set_parent(mux_hw, index); in flexgen_set_parent()
|
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-factors.c | 171 struct clk_hw *mux_hw = NULL; in sunxi_factors_register() local 229 mux_hw = &mux->hw; in sunxi_factors_register() 234 mux_hw, &clk_mux_ops, in sunxi_factors_register()
|
/linux-4.1.27/include/linux/ |
D | clk-provider.h | 511 struct clk_hw *mux_hw; member 522 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
|