Home
last modified time | relevance | path

Searched refs:rate_ops (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/clk/
Dclk-composite.c36 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_recalc_rate() local
41 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
48 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate() local
60 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
62 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
63 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_composite_determine_rate()
72 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
88 tmp_rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
122 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate() local
127 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
[all …]
/Linux-v5.10/drivers/clk/berlin/
Dberlin2-div.c234 const struct clk_ops *rate_ops = &berlin2_div_rate_ops; in berlin2_div_register() local
253 &div->hw, mux_ops, &div->hw, rate_ops, in berlin2_div_register()
/Linux-v5.10/drivers/clk/sunxi/
Dclk-sunxi.c951 const struct clk_ops *rate_ops; in sunxi_divs_clk_setup() local
1032 rate_ops = NULL; in sunxi_divs_clk_setup()
1057 rate_ops = &clk_fixed_factor_ops; in sunxi_divs_clk_setup()
1073 rate_ops = &clk_divider_ops; in sunxi_divs_clk_setup()
1080 rate_hw, rate_ops, in sunxi_divs_clk_setup()
/Linux-v5.10/drivers/clk/mvebu/
Darmada-37xx-periph.c614 *rate_ops = NULL; in armada_3700_add_composite_clk() local
640 rate_ops = rate_hw->init->ops; in armada_3700_add_composite_clk()
672 rate_ops = muxrate_hw->init->ops; in armada_3700_add_composite_clk()
681 mux_ops, rate_hw, rate_ops, in armada_3700_add_composite_clk()
/Linux-v5.10/include/linux/
Dclk-provider.h1033 const struct clk_ops *rate_ops; member
1042 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1048 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1055 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1062 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,