Lines Matching refs:parent_rate
188 unsigned long parent_rate) in __wrpll_update_parent_rate() argument
192 if (parent_rate > MAX_INPUT_FREQ || parent_rate < MIN_POST_DIVR_FREQ) in __wrpll_update_parent_rate()
195 c->parent_rate = parent_rate; in __wrpll_update_parent_rate()
196 max_r_for_parent = div_u64(parent_rate, MIN_POST_DIVR_FREQ); in __wrpll_update_parent_rate()
199 c->init_r = DIV_ROUND_UP_ULL(parent_rate, MAX_POST_DIVR_FREQ); in __wrpll_update_parent_rate()
226 unsigned long parent_rate) in wrpll_configure_for_rate() argument
240 if (parent_rate != c->parent_rate) { in wrpll_configure_for_rate()
241 if (__wrpll_update_parent_rate(c, parent_rate)) { in wrpll_configure_for_rate()
251 if (target_rate == parent_rate) { in wrpll_configure_for_rate()
265 ratio = div64_u64((target_vco_rate << ROUND_SHIFT), parent_rate); in wrpll_configure_for_rate()
281 post_divr_freq = div_u64(parent_rate, r); in wrpll_configure_for_rate()
305 post_divr_freq = div_u64(parent_rate, best_r); in wrpll_configure_for_rate()
335 unsigned long parent_rate) in wrpll_calc_output_rate() argument
346 n = parent_rate * fbdiv * (c->divf + 1); in wrpll_calc_output_rate()