/openbmc/linux/drivers/clk/ |
H A D | clk-composite.c | 14 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent() local 19 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent() 25 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent() local 73 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_determine_rate() local 84 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate() 144 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate() 184 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_rate_and_parent() local 266 if (mux_hw && mux_ops) { in __clk_hw_register_composite() 267 if (!mux_ops->get_parent) { in __clk_hw_register_composite() 273 composite->mux_ops = mux_ops; in __clk_hw_register_composite() [all …]
|
H A D | clk-stm32h7.c | 354 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() 1325 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init() 1348 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init() 1363 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init() 1377 c_cfg.mux_hw, c_cfg.mux_ops, in stm32h7_rcc_init()
|
H A D | clk-bm1880.c | 762 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in bm1880_clk_register_composite() local 777 mux_ops = &clk_mux_ops; in bm1880_clk_register_composite() 825 num_parents, mux_hw, mux_ops, div_hw, in bm1880_clk_register_composite()
|
H A D | clk-stm32f4.c | 1633 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL; in stm32_register_aux_clk() local 1662 mux_ops = &clk_mux_ops; in stm32_register_aux_clk() 1671 mux_hw, mux_ops, in stm32_register_aux_clk()
|
H A D | clk-stm32mp1.c | 628 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local 634 mux_ops = NULL; in clk_stm32_register_composite() 642 mux_ops = &clk_mux_ops; in clk_stm32_register_composite() 645 mux_ops = cfg->mux->ops; in clk_stm32_register_composite() 672 mux_hw, mux_ops, div_hw, div_ops, in clk_stm32_register_composite()
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-periph.c | 17 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_get_parent() local 22 return mux_ops->get_parent(mux_hw); in clk_periph_get_parent() 28 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_set_parent() local 33 return mux_ops->set_parent(mux_hw, index); in clk_periph_set_parent()
|
H A D | clk.h | 623 const struct clk_ops *mux_ops; member 665 .mux_ops = &clk_mux_ops, \
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-busy.c | 119 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() 176 busy->mux_ops = &clk_mux_ops; in imx_clk_hw_busy_mux()
|
H A D | clk-composite-8m.c | 247 const struct clk_ops *mux_ops; in __imx8m_clk_hw_composite() local 270 mux_ops = &imx8m_clk_composite_mux_ops; in __imx8m_clk_hw_composite() 275 mux_ops = &imx8m_clk_composite_mux_ops; in __imx8m_clk_hw_composite() 280 mux_ops = &clk_mux_ops; in __imx8m_clk_hw_composite() 303 mux_hw, mux_ops, div_hw, in __imx8m_clk_hw_composite()
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk.c | 52 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_branch() local 67 mux_ops = (mux_flags & CLK_MUX_READ_ONLY) ? &clk_mux_ro_ops in rockchip_clk_register_branch() 107 mux ? &mux->hw : NULL, mux_ops, in rockchip_clk_register_branch() 131 const struct clk_ops *mux_ops; member 153 frac->mux_ops->get_parent(&frac_mux->hw); in rockchip_clk_frac_notifier_cb() 155 frac->mux_ops->set_parent(&frac_mux->hw, in rockchip_clk_frac_notifier_cb() 167 frac->mux_ops->set_parent(&frac_mux->hw, in rockchip_clk_frac_notifier_cb() 271 frac->mux_ops = &clk_mux_ops; in rockchip_clk_register_frac_branch() 285 init.ops = frac->mux_ops; in rockchip_clk_register_frac_branch()
|
H A D | clk-half-divider.c | 173 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()
|
/openbmc/linux/drivers/clk/berlin/ |
H A D | berlin2-div.c | 234 const struct clk_ops *mux_ops = &berlin2_div_mux_ops; in berlin2_div_register() local 251 mux_ops = NULL; in berlin2_div_register() 254 &div->hw, mux_ops, &div->hw, rate_ops, in berlin2_div_register()
|
/openbmc/linux/drivers/clk/mvebu/ |
H A D | armada-37xx-periph.c | 620 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, in armada_3700_add_composite_clk() local 630 mux_ops = mux_hw->init->ops; in armada_3700_add_composite_clk() 678 mux_ops = muxrate_hw->init->ops; in armada_3700_add_composite_clk() 688 mux_ops, rate_hw, rate_ops, in armada_3700_add_composite_clk()
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | 1243 const struct clk_ops *mux_ops; member 1252 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, 1258 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, 1265 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, 1272 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, 1279 struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mtk.c | 226 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local 243 mux_ops = &clk_mux_ops; in mtk_clk_register_composite() 286 mux_hw, mux_ops, in mtk_clk_register_composite()
|