Lines Matching refs:rate_hw

37 	struct clk_hw *rate_hw = composite->rate_hw;
39 __clk_hw_set_clk(rate_hw, hw);
41 return rate_ops->recalc_rate(rate_hw, parent_rate);
50 struct clk_hw *rate_hw = composite->rate_hw;
60 if (rate_hw && rate_ops && rate_ops->determine_rate) {
61 __clk_hw_set_clk(rate_hw, hw);
62 return rate_ops->determine_rate(rate_hw, req);
63 } else if (rate_hw && rate_ops && rate_ops->round_rate &&
72 rate = rate_ops->round_rate(rate_hw, req->rate,
88 tmp_rate = rate_ops->round_rate(rate_hw, req->rate,
123 struct clk_hw *rate_hw = composite->rate_hw;
125 __clk_hw_set_clk(rate_hw, hw);
127 return rate_ops->round_rate(rate_hw, rate, prate);
135 struct clk_hw *rate_hw = composite->rate_hw;
137 __clk_hw_set_clk(rate_hw, hw);
139 return rate_ops->set_rate(rate_hw, rate, parent_rate);
150 struct clk_hw *rate_hw = composite->rate_hw;
154 __clk_hw_set_clk(rate_hw, hw);
157 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate);
159 rate_ops->set_rate(rate_hw, rate, parent_rate);
163 rate_ops->set_rate(rate_hw, rate, parent_rate);
206 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
246 if (rate_hw && rate_ops) {
270 composite->rate_hw = rate_hw;
274 if (mux_hw && mux_ops && rate_hw && rate_ops) {
306 if (composite->rate_hw)
307 composite->rate_hw->clk = hw->clk;
322 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
328 rate_hw, rate_ops, gate_hw,
338 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
344 rate_hw, rate_ops, gate_hw,
351 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
358 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops,
369 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
376 num_parents, mux_hw, mux_ops, rate_hw, rate_ops,