Lines Matching refs:rate_ops
37 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_recalc_rate() local
42 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
48 const struct clk_ops *rate_ops) in clk_composite_determine_rate_for_parent() argument
55 if (rate_ops->determine_rate) in clk_composite_determine_rate_for_parent()
56 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate_for_parent()
58 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate_for_parent()
72 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate() local
82 if (rate_hw && rate_ops && in clk_composite_determine_rate()
83 (rate_ops->determine_rate || rate_ops->round_rate) && in clk_composite_determine_rate()
95 rate_ops); in clk_composite_determine_rate()
116 rate_ops); in clk_composite_determine_rate()
136 } else if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
138 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
152 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate() local
157 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
164 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate() local
169 return rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate()
178 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate_and_parent() local
187 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_set_rate_and_parent()
189 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
193 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
236 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __clk_hw_register_composite() argument
276 if (rate_hw && rate_ops) { in __clk_hw_register_composite()
277 if (!rate_ops->recalc_rate) { in __clk_hw_register_composite()
283 if (rate_ops->determine_rate) in __clk_hw_register_composite()
286 else if (rate_ops->round_rate) in __clk_hw_register_composite()
291 if (rate_ops->set_rate) { in __clk_hw_register_composite()
292 if (rate_ops->determine_rate || rate_ops->round_rate) in __clk_hw_register_composite()
301 composite->rate_ops = rate_ops; in __clk_hw_register_composite()
304 if (mux_hw && mux_ops && rate_hw && rate_ops) { in __clk_hw_register_composite()
305 if (mux_ops->set_parent && rate_ops->set_rate) in __clk_hw_register_composite()
352 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite() argument
358 rate_hw, rate_ops, gate_hw, in clk_hw_register_composite()
368 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite_pdata() argument
374 rate_hw, rate_ops, gate_hw, in clk_hw_register_composite_pdata()
381 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite() argument
388 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()
400 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite_pdata() argument
407 num_parents, mux_hw, mux_ops, rate_hw, rate_ops, in clk_register_composite_pdata()
449 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __devm_clk_hw_register_composite() argument
462 rate_ops, gate_hw, gate_ops, flags); in __devm_clk_hw_register_composite()
479 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in devm_clk_hw_register_composite_pdata() argument
485 rate_hw, rate_ops, gate_hw, in devm_clk_hw_register_composite_pdata()