Home
last modified time | relevance | path

Searched refs:Ftarget (Results 1 – 1 of 1) sorted by relevance

/drivers/video/
Dasiliantfb.c113 unsigned Ftarget = 1000000 * (1000000 / pixclock); in asiliant_calc_dclk2() local
125 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; in asiliant_calc_dclk2()
127 while (Ftarget < 100000000) { in asiliant_calc_dclk2()
129 Ftarget <<= 1; in asiliant_calc_dclk2()
132 ratio = Ftarget / Fref; in asiliant_calc_dclk2()
133 remainder = Ftarget % Fref; in asiliant_calc_dclk2()
142 unsigned new_error = Ftarget * n >= Fref * m ? in asiliant_calc_dclk2()
143 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n)); in asiliant_calc_dclk2()
154 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ? in asiliant_calc_dclk2()
155 ((Ftarget * n) - (Fref * (m & ~3))) : ((Fref * (m & ~3)) - (Ftarget * n)); in asiliant_calc_dclk2()
[all …]