Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/video/fbdev/
Dasiliantfb.c114 unsigned best_error = 0xffffffff; in asiliant_calc_dclk2() local
143 if (new_error < best_error) { in asiliant_calc_dclk2()
146 best_error = new_error; in asiliant_calc_dclk2()
155 if (new_error < best_error) { in asiliant_calc_dclk2()
158 best_error = new_error; in asiliant_calc_dclk2()
Dgxt4500.c240 int pll_period, best_error, t, intf; in calc_pll() local
246 best_error = 1000000; in calc_pll()
263 if (t >= 0 && t < best_error) { in calc_pll()
268 best_error = t; in calc_pll()
273 if (best_error == 1000000) in calc_pll()
Dgbefb.c457 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local
471 best_error = 1000000000; in compute_gbe_timing()
484 if (error < best_error && in compute_gbe_timing()
489 best_error = error; in compute_gbe_timing()
Dtdfxfb.c290 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local
293 best_error = freq; in do_calc_pll()
319 if (error < best_error) { in do_calc_pll()
320 best_error = error; in do_calc_pll()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_display.c1127 uint32_t best_error = 0xffffffff; in radeon_compute_pll_legacy() local
1232 if ((best_vco == 0 && error < best_error) || in radeon_compute_pll_legacy()
1234 ((best_error > 100 && error < best_error - 100) || in radeon_compute_pll_legacy()
1235 (abs(error - best_error) < 100 && vco_diff < best_vco_diff)))) { in radeon_compute_pll_legacy()
1241 best_error = error; in radeon_compute_pll_legacy()
1250 best_error = error; in radeon_compute_pll_legacy()
1263 best_error = error; in radeon_compute_pll_legacy()