Home
last modified time | relevance | path

Searched refs:best_error (Results 1 – 5 of 5) sorted by relevance

/drivers/video/fbdev/
Dasiliantfb.c115 unsigned best_error = 0xffffffff; in asiliant_calc_dclk2() local
144 if (new_error < best_error) { in asiliant_calc_dclk2()
147 best_error = new_error; in asiliant_calc_dclk2()
156 if (new_error < best_error) { in asiliant_calc_dclk2()
159 best_error = new_error; in asiliant_calc_dclk2()
Dgxt4500.c239 int pll_period, best_error, t, intf; in calc_pll() local
245 best_error = 1000000; in calc_pll()
262 if (t >= 0 && t < best_error) { in calc_pll()
267 best_error = t; in calc_pll()
272 if (best_error == 1000000) in calc_pll()
Dgbefb.c459 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local
473 best_error = 1000000000; in compute_gbe_timing()
486 if (error < best_error && in compute_gbe_timing()
491 best_error = error; in compute_gbe_timing()
Dtdfxfb.c291 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local
294 best_error = freq; in do_calc_pll()
320 if (error < best_error) { in do_calc_pll()
321 best_error = error; in do_calc_pll()
/drivers/gpu/drm/radeon/
Dradeon_display.c1136 uint32_t best_error = 0xffffffff; in radeon_compute_pll_legacy() local
1241 if ((best_vco == 0 && error < best_error) || in radeon_compute_pll_legacy()
1243 ((best_error > 100 && error < best_error - 100) || in radeon_compute_pll_legacy()
1244 (abs(error - best_error) < 100 && vco_diff < best_vco_diff)))) { in radeon_compute_pll_legacy()
1250 best_error = error; in radeon_compute_pll_legacy()
1259 best_error = error; in radeon_compute_pll_legacy()
1272 best_error = error; in radeon_compute_pll_legacy()