Home
last modified time | relevance | path

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

/linux-6.6.21/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_determine_rate() local
58 rate = div_ops->round_rate(div_hw, req->rate, &req->best_parent_rate); in clk_periph_determine_rate()
70 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_set_rate() local
75 return div_ops->set_rate(div_hw, rate, parent_rate); in clk_periph_set_rate()
121 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_restore_context() local
130 div_ops->restore_context(div_hw); in clk_periph_restore_context()
Dclk-super.c154 rate = super->div_ops->round_rate(div_hw, req->rate, in clk_super_determine_rate()
171 return super->div_ops->recalc_rate(div_hw, parent_rate); in clk_super_recalc_rate()
182 return super->div_ops->set_rate(div_hw, rate, parent_rate); in clk_super_set_rate()
195 super->div_ops->restore_context(div_hw); in clk_super_restore_context()
272 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_clk()
Dclk.h624 const struct clk_ops *div_ops; member
666 .div_ops = &tegra_clk_frac_div_ops, \
743 const struct clk_ops *div_ops; member
Dclk-tegra-super-cclk.c170 super->div_ops = &tegra_clk_frac_div_ops; in tegra_clk_register_super_cclk()
/linux-6.6.21/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-6.6.21/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c206 const struct clk_ops *div_ops = NULL; in lpc18xx_ccu_register_branch_gate_div() local
221 div_ops = &clk_divider_ro_ops; in lpc18xx_ccu_register_branch_gate_div()
229 div_hw, div_ops, in lpc18xx_ccu_register_branch_gate_div()
/linux-6.6.21/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.c52 const struct clk_ops *mux_ops = NULL, *div_ops = NULL, in rockchip_clk_register_branch() local
101 div_ops = (div_flags & CLK_DIVIDER_READ_ONLY) in rockchip_clk_register_branch()
108 div ? &div->hw : NULL, div_ops, in rockchip_clk_register_branch()
218 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local
251 div_ops = &clk_fractional_divider_ops; in rockchip_clk_register_frac_branch()
255 &div->hw, div_ops, in rockchip_clk_register_frac_branch()
/linux-6.6.21/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()
1326 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1349 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1364 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
1378 c_cfg.div_hw, c_cfg.div_ops, in stm32h7_rcc_init()
Dclk-bm1880.c762 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in bm1880_clk_register_composite() local
821 div_ops = &bm1880_clk_div_ops; in bm1880_clk_register_composite()
826 div_ops, gate_hw, gate_ops, in bm1880_clk_register_composite()
Dclk-stm32mp1.c628 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local
635 div_ops = NULL; in clk_stm32_register_composite()
653 div_ops = &clk_divider_ops; in clk_stm32_register_composite()
656 div_ops = cfg->div->ops; in clk_stm32_register_composite()
672 mux_hw, mux_ops, div_hw, div_ops, in clk_stm32_register_composite()
/linux-6.6.21/drivers/clk/mediatek/
Dclk-mtk.c225 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local
281 div_ops = &clk_divider_ops; in mtk_clk_register_composite()
286 div_hw, div_ops, in mtk_clk_register_composite()