Home
last modified time | relevance | path

Searched refs:mux_ops (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/drivers/clk/
Dclk-composite.c27 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent() local
32 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
38 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent() local
43 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
63 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_determine_rate() local
78 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
123 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
125 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
191 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
212 if (mux_hw && mux_ops) { in clk_register_composite()
[all …]
/linux-4.4.14/drivers/clk/tegra/
Dclk-periph.c27 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_get_parent() local
32 return mux_ops->get_parent(mux_hw); in clk_periph_get_parent()
38 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_set_parent() local
43 return mux_ops->set_parent(mux_hw, index); in clk_periph_set_parent()
Dclk.h449 const struct clk_ops *mux_ops; member
491 .mux_ops = &clk_mux_ops, \
/linux-4.4.14/drivers/clk/imx/
Dclk-busy.c119 const struct clk_ops *mux_ops; member
135 return busy->mux_ops->get_parent(&busy->mux.hw); in clk_busy_mux_get_parent()
143 ret = busy->mux_ops->set_parent(&busy->mux.hw, index); in clk_busy_mux_set_parent()
174 busy->mux_ops = &clk_mux_ops; in imx_clk_busy_mux()
/linux-4.4.14/drivers/clk/berlin/
Dberlin2-div.c243 const struct clk_ops *mux_ops = &berlin2_div_mux_ops; in berlin2_div_register() local
260 mux_ops = NULL; in berlin2_div_register()
263 &div->hw, mux_ops, &div->hw, rate_ops, in berlin2_div_register()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c146 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
163 mux_ops = &clk_mux_ops; in mtk_clk_register_composite()
206 mux_hw, mux_ops, in mtk_clk_register_composite()
/linux-4.4.14/drivers/clk/meson/
Dclkc.c57 const struct clk_ops *mux_ops = NULL; in meson_clk_register_composite() local
74 mux_ops = (composite_conf->mux_flags & CLK_MUX_READ_ONLY) ? in meson_clk_register_composite()
111 mux ? &mux->hw : NULL, mux_ops, in meson_clk_register_composite()
/linux-4.4.14/drivers/clk/rockchip/
Dclk.c53 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_branch() local
66 mux_ops = (mux_flags & CLK_MUX_READ_ONLY) ? &clk_mux_ro_ops in rockchip_clk_register_branch()
99 mux ? &mux->hw : NULL, mux_ops, in rockchip_clk_register_branch()
/linux-4.4.14/include/linux/
Dclk-provider.h577 const struct clk_ops *mux_ops; member
584 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,