Searched refs:n_cur (Results 1 – 1 of 1) sorted by relevance
94 uint64_t n_cur, d_cur; /* current convergents */ in clk_compute_fract_div() local105 n_cur = 1; in clk_compute_fract_div()108 while (d_rem != 0 && n_cur < n_max && d_cur < d_max) { in clk_compute_fract_div()118 tmp = n_prev + fact * n_cur; in clk_compute_fract_div()119 n_prev = n_cur; in clk_compute_fract_div()120 n_cur = tmp; in clk_compute_fract_div()128 if (n_cur > n_max || d_cur > d_max) { in clk_compute_fract_div()132 *n_out = n_cur; in clk_compute_fract_div()