Searched refs:best_error (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dradeon_crtc.c167 uint32_t best_error = 0xffffffff; local in function:RADEONComputePLL_old
256 if ((best_vco == 0 && error < best_error) ||
258 (error < best_error - 100 ||
259 (RD_ABS(error, best_error) < 100 && vco_diff < best_vco_diff )))) {
265 best_error = error;
274 best_error = error;
287 best_error = error;
/xsrc/external/mit/xf86-video-tdfx/dist/src/
H A Dtdfx_driver.c1581 int m, n, k, best_m, best_n, best_k, f_cur, best_error; local in function:CalcPLL
1585 best_error=freq;
1601 if (freq-f_cur<best_error) {
1602 best_error=freq-f_cur;
1612 if (abs(f_cur-freq)<best_error) {
1613 best_error=abs(f_cur-freq);

Completed in 6 milliseconds