Lines Matching refs:rate_hw

38 	struct clk_hw *rate_hw = composite->rate_hw;
40 __clk_hw_set_clk(rate_hw, hw);
42 return rate_ops->recalc_rate(rate_hw, parent_rate);
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw,
56 return rate_ops->determine_rate(rate_hw, req);
58 rate = rate_ops->round_rate(rate_hw, req->rate,
74 struct clk_hw *rate_hw = composite->rate_hw;
82 if (rate_hw && rate_ops &&
93 ret = clk_composite_determine_rate_for_parent(rate_hw,
115 ret = clk_composite_determine_rate_for_parent(rate_hw,
141 } else if (rate_hw && rate_ops && rate_ops->determine_rate) {
142 __clk_hw_set_clk(rate_hw, hw);
143 return rate_ops->determine_rate(rate_hw, req);
158 struct clk_hw *rate_hw = composite->rate_hw;
160 __clk_hw_set_clk(rate_hw, hw);
162 return rate_ops->round_rate(rate_hw, rate, prate);
170 struct clk_hw *rate_hw = composite->rate_hw;
172 __clk_hw_set_clk(rate_hw, hw);
174 return rate_ops->set_rate(rate_hw, rate, parent_rate);
185 struct clk_hw *rate_hw = composite->rate_hw;
189 __clk_hw_set_clk(rate_hw, hw);
192 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate);
194 rate_ops->set_rate(rate_hw, rate, parent_rate);
198 rate_ops->set_rate(rate_hw, rate, parent_rate);
241 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
281 if (rate_hw && rate_ops) {
305 composite->rate_hw = rate_hw;
309 if (mux_hw && mux_ops && rate_hw && rate_ops) {
341 if (composite->rate_hw)
342 composite->rate_hw->clk = hw->clk;
357 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
363 rate_hw, rate_ops, gate_hw,
373 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
379 rate_hw, rate_ops, gate_hw,
386 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
393 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops,
405 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
412 num_parents, mux_hw, mux_ops, rate_hw, rate_ops,
454 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
466 num_parents, mux_hw, mux_ops, rate_hw,
484 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
490 rate_hw, rate_ops, gate_hw,