Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/
Dclk-composite.c25 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent() local
30 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
36 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent() local
41 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
61 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_determine_rate() local
76 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
121 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
123 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
161 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_rate_and_parent() local
172 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
[all …]
Dclk-stm32h7.c354 const struct clk_ops *mux_ops; member
366 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in get_cfg_composite_div() local
371 mux_ops = div_ops = gate_ops = NULL; in get_cfg_composite_div()
382 mux_ops = gcfg->mux->ops ? in get_cfg_composite_div()
413 composite->mux_ops = mux_ops; in get_cfg_composite_div()
1326 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init()
1349 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init()
1364 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init()
1378 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init()
Dclk-stm32f4.c1372 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL; in stm32_register_aux_clk() local
1401 mux_ops = &clk_mux_ops; in stm32_register_aux_clk()
1410 mux_hw, mux_ops, in stm32_register_aux_clk()
Dclk-stm32mp1.c615 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local
621 mux_ops = NULL; in clk_stm32_register_composite()
629 mux_ops = &clk_mux_ops; in clk_stm32_register_composite()
632 mux_ops = cfg->mux->ops; in clk_stm32_register_composite()
659 mux_hw, mux_ops, div_hw, div_ops, in clk_stm32_register_composite()
/linux-4.19.296/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.h573 const struct clk_ops *mux_ops; member
615 .mux_ops = &clk_mux_ops, \
/linux-4.19.296/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.19.296/drivers/clk/rockchip/
Dclk.c58 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_branch() local
72 mux_ops = (mux_flags & CLK_MUX_READ_ONLY) ? &clk_mux_ro_ops in rockchip_clk_register_branch()
109 mux ? &mux->hw : NULL, mux_ops, in rockchip_clk_register_branch()
135 const struct clk_ops *mux_ops; member
157 frac->mux_ops->get_parent(&frac_mux->hw); in rockchip_clk_frac_notifier_cb()
159 frac->mux_ops->set_parent(&frac_mux->hw, in rockchip_clk_frac_notifier_cb()
171 frac->mux_ops->set_parent(&frac_mux->hw, in rockchip_clk_frac_notifier_cb()
281 frac->mux_ops = &clk_mux_ops; in rockchip_clk_register_frac_branch()
293 init.ops = frac->mux_ops; in rockchip_clk_register_frac_branch()
Dclk-half-divider.c173 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_halfdiv() local
186 mux_ops = (mux_flags & CLK_MUX_READ_ONLY) ? &clk_mux_ro_ops in rockchip_clk_register_halfdiv()
216 mux ? &mux->hw : NULL, mux_ops, in rockchip_clk_register_halfdiv()
/linux-4.19.296/drivers/clk/berlin/
Dberlin2-div.c232 const struct clk_ops *mux_ops = &berlin2_div_mux_ops; in berlin2_div_register() local
249 mux_ops = NULL; in berlin2_div_register()
252 &div->hw, mux_ops, &div->hw, rate_ops, in berlin2_div_register()
/linux-4.19.296/drivers/clk/mediatek/
Dclk-mtk.c155 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
172 mux_ops = &clk_mux_ops; in mtk_clk_register_composite()
215 mux_hw, mux_ops, in mtk_clk_register_composite()
/linux-4.19.296/drivers/clk/mvebu/
Darmada-37xx-periph.c608 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, in armada_3700_add_composite_clk() local
618 mux_ops = mux_hw->init->ops; in armada_3700_add_composite_clk()
666 mux_ops = muxrate_hw->init->ops; in armada_3700_add_composite_clk()
676 mux_ops, rate_hw, rate_ops, in armada_3700_add_composite_clk()
/linux-4.19.296/include/linux/
Dclk-provider.h683 const struct clk_ops *mux_ops; member
692 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
699 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,