Lines Matching refs:rate_err
393 unsigned long O1, min_err, rate_err; in wm8650_find_pll_bits() local
407 rate_err = O1 % parent_rate; in wm8650_find_pll_bits()
408 if (rate_err < min_err) { in wm8650_find_pll_bits()
410 if (rate_err == 0) in wm8650_find_pll_bits()
413 min_err = rate_err; in wm8650_find_pll_bits()
457 unsigned long tclk, rate_err, best_err; in wm8750_find_pll_bits() local
469 rate_err = rate - tclk; in wm8750_find_pll_bits()
470 if (rate_err == 0) { in wm8750_find_pll_bits()
478 if (rate_err < best_err) { in wm8750_find_pll_bits()
479 best_err = rate_err; in wm8750_find_pll_bits()
505 unsigned long tclk, rate_err, best_err; in wm8850_find_pll_bits() local
518 rate_err = rate - tclk; in wm8850_find_pll_bits()
519 if (rate_err == 0) { in wm8850_find_pll_bits()
526 if (rate_err < best_err) { in wm8850_find_pll_bits()
527 best_err = rate_err; in wm8850_find_pll_bits()