Home
last modified time | relevance | path

Searched refs:div_ops (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/clk/tegra/
Dclk-periph.c40 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_recalc_rate() local
45 return div_ops->recalc_rate(div_hw, parent_rate); in clk_periph_recalc_rate()
52 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_round_rate() local
57 return div_ops->round_rate(div_hw, rate, prate); in clk_periph_round_rate()
64 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_set_rate() local
69 return div_ops->set_rate(div_hw, rate, parent_rate); in clk_periph_set_rate()
106 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_restore_context() local
115 div_ops->restore_context(div_hw); in clk_periph_restore_context()
Dclk-super.c152 return super->div_ops->round_rate(div_hw, rate, parent_rate); in clk_super_round_rate()
163 return super->div_ops->recalc_rate(div_hw, parent_rate); in clk_super_recalc_rate()
174 return super->div_ops->set_rate(div_hw, rate, parent_rate); in clk_super_set_rate()
187 super->div_ops->restore_context(div_hw); in clk_super_restore_context()
264 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_clk()
Dclk.h628 const struct clk_ops *div_ops; member
670 .div_ops = &tegra_clk_frac_div_ops, \
747 const struct clk_ops *div_ops; member
Dclk-tegra-super-cclk.c149 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_cclk()
/Linux-v5.10/drivers/clk/imx/
Dclk-busy.c29 const struct clk_ops *div_ops; member
46 return busy->div_ops->recalc_rate(&busy->div.hw, parent_rate); in clk_busy_divider_recalc_rate()
54 return busy->div_ops->round_rate(&busy->div.hw, rate, prate); in clk_busy_divider_round_rate()
63 ret = busy->div_ops->set_rate(&busy->div.hw, rate, parent_rate); in clk_busy_divider_set_rate()
96 busy->div_ops = &clk_divider_ops; in imx_clk_hw_busy_divider()
/Linux-v5.10/drivers/clk/rockchip/
Dclk-half-divider.c173 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_halfdiv() local
212 div_ops = &clk_half_divider_ops; in rockchip_clk_register_halfdiv()
217 div ? &div->hw : NULL, div_ops, in rockchip_clk_register_halfdiv()
Dclk.c50 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_branch() local
98 div_ops = (div_flags & CLK_DIVIDER_READ_ONLY) in rockchip_clk_register_branch()
105 div ? &div->hw : NULL, div_ops, in rockchip_clk_register_branch()
219 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
254 div_ops = &clk_fractional_divider_ops; in rockchip_clk_register_frac_branch()
258 &div->hw, div_ops, in rockchip_clk_register_frac_branch()
/Linux-v5.10/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c209 const struct clk_ops *div_ops = NULL; in lpc18xx_ccu_register_branch_gate_div() local
224 div_ops = &clk_divider_ro_ops; in lpc18xx_ccu_register_branch_gate_div()
232 div_hw, div_ops, in lpc18xx_ccu_register_branch_gate_div()
/Linux-v5.10/drivers/clk/mediatek/
Dclk-mtk.c157 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
213 div_ops = &clk_divider_ops; in mtk_clk_register_composite()
218 div_hw, div_ops, in mtk_clk_register_composite()
/Linux-v5.10/drivers/clk/
Dclk-stm32h7.c355 const struct clk_ops *div_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()
395 div_ops = gcfg->div->ops ? in get_cfg_composite_div()
416 composite->div_ops = div_ops; in get_cfg_composite_div()
1327 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1350 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1365 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1379 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
Dclk-bm1880.c778 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in bm1880_clk_register_composite() local
837 div_ops = &bm1880_clk_div_ops; in bm1880_clk_register_composite()
842 div_ops, gate_hw, gate_ops, in bm1880_clk_register_composite()
Dclk-stm32mp1.c615 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local
622 div_ops = NULL; in clk_stm32_register_composite()
640 div_ops = &clk_divider_ops; in clk_stm32_register_composite()
643 div_ops = cfg->div->ops; in clk_stm32_register_composite()
659 mux_hw, mux_ops, div_hw, div_ops, in clk_stm32_register_composite()