Lines Matching refs:rate_hw

38 	struct clk_hw *rate_hw = composite->rate_hw;  in clk_composite_recalc_rate()  local
40 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
42 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw, in clk_composite_determine_rate_for_parent() argument
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()
74 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
82 if (rate_hw && rate_ops && in clk_composite_determine_rate()
93 ret = clk_composite_determine_rate_for_parent(rate_hw, in clk_composite_determine_rate()
115 ret = clk_composite_determine_rate_for_parent(rate_hw, in clk_composite_determine_rate()
141 } else if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
142 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate()
143 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
158 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate() local
160 __clk_hw_set_clk(rate_hw, hw); in clk_composite_round_rate()
162 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
170 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate() local
172 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate()
174 return rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate()
185 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent() local
189 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate_and_parent()
192 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_set_rate_and_parent()
194 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
198 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
241 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __clk_hw_register_composite() argument
281 if (rate_hw && rate_ops) { in __clk_hw_register_composite()
305 composite->rate_hw = rate_hw; in __clk_hw_register_composite()
309 if (mux_hw && mux_ops && rate_hw && rate_ops) { in __clk_hw_register_composite()
341 if (composite->rate_hw) in __clk_hw_register_composite()
342 composite->rate_hw->clk = hw->clk; in __clk_hw_register_composite()
357 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite() argument
363 rate_hw, rate_ops, gate_hw, in clk_hw_register_composite()
373 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite_pdata() argument
379 rate_hw, rate_ops, gate_hw, in clk_hw_register_composite_pdata()
386 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite() argument
393 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()
405 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite_pdata() argument
412 num_parents, mux_hw, mux_ops, rate_hw, rate_ops, in clk_register_composite_pdata()
454 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __devm_clk_hw_register_composite() argument
466 num_parents, mux_hw, mux_ops, rate_hw, in __devm_clk_hw_register_composite()
484 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in devm_clk_hw_register_composite_pdata() argument
490 rate_hw, rate_ops, gate_hw, in devm_clk_hw_register_composite_pdata()