Searched refs:f_err (Results 1 – 2 of 2) sorted by relevance
350 u32 f_err, f_vco; in i740_calc_vclk() local370 f_err = (freq - f_out); in i740_calc_vclk()372 if (abs(f_err) < err_max) { in i740_calc_vclk()375 err_best = f_err; in i740_calc_vclk()378 } while ((abs(f_err) >= err_target) && in i740_calc_vclk()381 if (abs(f_err) < err_target) { in i740_calc_vclk()
941 u32 n_best = 0, m_best = 0, f_err; in calc_pll_params() local983 f_err = clock - f_out; in calc_pll_params()985 f_err = f_out - clock + 1; in calc_pll_params()987 if (f_err < err_best) { in calc_pll_params()991 err_best = f_err; in calc_pll_params()