Searched refs:WZRD_FRAC_POINTS (Results 1 – 1 of 1) sorted by relevance
69 #define WZRD_FRAC_POINTS 1000 macro267 rate_div = DIV_ROUND_CLOSEST_ULL((vco_freq * WZRD_FRAC_POINTS), rate); in clk_wzrd_dynamic_all_nolock()269 clockout0_div = div_u64(rate_div, WZRD_FRAC_POINTS); in clk_wzrd_dynamic_all_nolock()271 pre = DIV_ROUND_CLOSEST_ULL(vco_freq * WZRD_FRAC_POINTS, rate); in clk_wzrd_dynamic_all_nolock()272 f = (pre - (clockout0_div * WZRD_FRAC_POINTS)); in clk_wzrd_dynamic_all_nolock()331 div = DIV_ROUND_CLOSEST(d * (WZRD_FRAC_POINTS * o + f), WZRD_FRAC_POINTS); in clk_wzrd_recalc_rate_all()357 f = DIV_ROUND_CLOSEST_ULL(rate * WZRD_FRAC_POINTS, int_freq); in clk_wzrd_round_rate_all()358 rate = DIV_ROUND_CLOSEST(int_freq * f, WZRD_FRAC_POINTS); in clk_wzrd_round_rate_all()