Lines Matching refs:rate_hw

37 	struct clk_hw *rate_hw = composite->rate_hw;  in clk_composite_recalc_rate()  local
39 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
41 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
50 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
60 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
61 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate()
62 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
63 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_composite_determine_rate()
72 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
88 tmp_rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
123 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate() local
125 __clk_hw_set_clk(rate_hw, hw); in clk_composite_round_rate()
127 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate() local
137 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate()
139 return rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate()
150 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent() local
154 __clk_hw_set_clk(rate_hw, hw); in clk_composite_set_rate_and_parent()
157 temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_set_rate_and_parent()
159 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
163 rate_ops->set_rate(rate_hw, rate, parent_rate); in clk_composite_set_rate_and_parent()
205 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite() argument
242 if (rate_hw && rate_ops) { in clk_hw_register_composite()
266 composite->rate_hw = rate_hw; in clk_hw_register_composite()
270 if (mux_hw && mux_ops && rate_hw && rate_ops) { in clk_hw_register_composite()
302 if (composite->rate_hw) in clk_hw_register_composite()
303 composite->rate_hw->clk = hw->clk; in clk_hw_register_composite()
318 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite() argument
325 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()