Searched refs:Ftarget (Results 1 – 1 of 1) sorted by relevance
112 unsigned Ftarget; in asiliant_calc_dclk2() local124 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()[all …]