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

/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
1598 f_cur=REFFREQ*(n+2);
1599 if (f_cur<freq) {
1600 f_cur=f_cur/3;
1601 if (freq-f_cur<best_error) {
1602 best_error=freq-f_cur;
1611 f_cur=REFFREQ*(n+2)/(m+2)/(1<<k);
1612 if (abs(f_cur-freq)<best_error) {
1613 best_error=abs(f_cur
[all...]

Completed in 4 milliseconds