Lines Matching refs:parent_rate
33 unsigned long parent_rate) in __get_mult() argument
36 return DIV_ROUND_CLOSEST(rate, parent_rate); in __get_mult()
38 return rate / parent_rate; in __get_mult()
42 unsigned long parent_rate) in clk_multiplier_recalc_rate() argument
53 return parent_rate * val; in clk_multiplier_recalc_rate()
71 unsigned long parent_rate, current_rate, best_rate = ~0; in __bestmult() local
101 parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), in __bestmult()
103 current_rate = parent_rate * i; in __bestmult()
108 *best_parent_rate = parent_rate; in __bestmult()
116 unsigned long *parent_rate) in clk_multiplier_round_rate() argument
119 unsigned long factor = __bestmult(hw, rate, parent_rate, in clk_multiplier_round_rate()
122 return *parent_rate * factor; in clk_multiplier_round_rate()
126 unsigned long parent_rate) in clk_multiplier_set_rate() argument
129 unsigned long factor = __get_mult(mult, rate, parent_rate); in clk_multiplier_set_rate()