Lines Matching refs:parent_rate

44 			unsigned long rate, unsigned long parent_rate)  in _get_table_val()  argument
51 calc_rate = parent_rate * clkt->mul; in _get_table_val()
71 unsigned long parent_rate, try_parent_rate, best = 0, cur_rate; in owl_clk_val_best() local
79 parent_rate = *best_parent_rate; in owl_clk_val_best()
80 bestval = _get_table_val(clkt, rate, parent_rate); in owl_clk_val_best()
100 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in owl_clk_val_best()
102 cur_rate = DIV_ROUND_UP(parent_rate, clkt->div) * clkt->mul; in owl_clk_val_best()
106 *best_parent_rate = parent_rate; in owl_clk_val_best()
122 unsigned long *parent_rate) in owl_factor_helper_round_rate() argument
127 val = owl_clk_val_best(factor_hw, &common->hw, rate, parent_rate); in owl_factor_helper_round_rate()
130 return *parent_rate * mul / div; in owl_factor_helper_round_rate()
134 unsigned long *parent_rate) in owl_factor_round_rate() argument
140 rate, parent_rate); in owl_factor_round_rate()
145 unsigned long parent_rate) in owl_factor_helper_recalc_rate() argument
164 return parent_rate; in owl_factor_helper_recalc_rate()
167 rate = (unsigned long long int)parent_rate * mul; in owl_factor_helper_recalc_rate()
174 unsigned long parent_rate) in owl_factor_recalc_rate() argument
180 return owl_factor_helper_recalc_rate(common, factor_hw, parent_rate); in owl_factor_recalc_rate()
186 unsigned long parent_rate) in owl_factor_helper_set_rate() argument
190 val = _get_table_val(factor_hw->table, rate, parent_rate); in owl_factor_helper_set_rate()
206 unsigned long parent_rate) in owl_factor_set_rate() argument
213 rate, parent_rate); in owl_factor_set_rate()