Searched refs:best_error (Results 1 – 6 of 6) sorted by relevance
/drivers/video/ |
D | asiliantfb.c | 115 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()
|
D | gxt4500.c | 238 int pll_period, best_error, t, intf; in calc_pll() local 244 best_error = 1000000; in calc_pll() 261 if (t >= 0 && t < best_error) { in calc_pll() 266 best_error = t; in calc_pll() 271 if (best_error == 1000000) in calc_pll()
|
D | gbefb.c | 470 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 484 best_error = 1000000000; in compute_gbe_timing() 497 if (error < best_error && in compute_gbe_timing() 502 best_error = error; in compute_gbe_timing()
|
D | tdfxfb.c | 309 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local 312 best_error = freq; in do_calc_pll() 338 if (error < best_error) { in do_calc_pll() 339 best_error = error; in do_calc_pll()
|
/drivers/net/can/ |
D | dev.c | 108 long best_error = 1000000000, error = 0; in can_calc_bittiming() local 144 if (error > best_error) in can_calc_bittiming() 146 best_error = error; in can_calc_bittiming() 164 if (best_error) { in can_calc_bittiming() 166 error = (best_error * 1000) / bt->bitrate; in can_calc_bittiming()
|
/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 887 uint32_t best_error = 0xffffffff; in radeon_compute_pll_legacy() local 992 if ((best_vco == 0 && error < best_error) || in radeon_compute_pll_legacy() 994 ((best_error > 100 && error < best_error - 100) || in radeon_compute_pll_legacy() 995 (abs(error - best_error) < 100 && vco_diff < best_vco_diff)))) { in radeon_compute_pll_legacy() 1001 best_error = error; in radeon_compute_pll_legacy() 1010 best_error = error; in radeon_compute_pll_legacy() 1023 best_error = error; in radeon_compute_pll_legacy()
|