Lines Matching refs:rate_hw

49 	struct clk_hw *rate_hw = composite->rate_hw;  in clk_composite_recalc_rate()  local
51 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
53 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
62 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
72 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
73 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate()
74 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
75 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_composite_determine_rate()
84 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
100 tmp_rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate() local
137 __clk_hw_set_clk(rate_hw, hw); in clk_composite_round_rate()
139 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
147 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate() local
149 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate()
151 return rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate()
162 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent() local
166 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate_and_parent()
169 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_set_rate_and_parent()
171 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
175 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
217 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite() argument
254 if (rate_hw && rate_ops) { in clk_hw_register_composite()
278 composite->rate_hw = rate_hw; in clk_hw_register_composite()
282 if (mux_hw && mux_ops && rate_hw && rate_ops) { in clk_hw_register_composite()
314 if (composite->rate_hw) in clk_hw_register_composite()
315 composite->rate_hw->clk = hw->clk; in clk_hw_register_composite()
330 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite() argument
337 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()