Lines Matching refs:Ftarget
112 unsigned Ftarget; in asiliant_calc_dclk2() local
124 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; in asiliant_calc_dclk2()
126 while (Ftarget < 100000000) { in asiliant_calc_dclk2()
128 Ftarget <<= 1; in asiliant_calc_dclk2()
131 ratio = Ftarget / Fref; in asiliant_calc_dclk2()
132 remainder = Ftarget % Fref; in asiliant_calc_dclk2()
141 unsigned new_error = Ftarget * n >= Fref * m ? in asiliant_calc_dclk2()
142 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n)); in asiliant_calc_dclk2()
153 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ? in asiliant_calc_dclk2()
154 ((Ftarget * n) - (Fref * (m & ~3))) : ((Fref * (m & ~3)) - (Ftarget * n)); in asiliant_calc_dclk2()
227 unsigned long Ftarget, ratio, remainder; in asiliantfb_check_var() local
234 Ftarget = 1000000 * ratio + (1000000 * remainder) / var->pixclock; in asiliantfb_check_var()
238 if (Ftarget > 220000000 || Ftarget < 3125000) { in asiliantfb_check_var()