Lines Matching +full:480 +full:m
137 unsigned m = n * ratio + (n * remainder) / Fref; in asiliant_calc_dclk2() local
139 /* 3 <= m <= 257 */ in asiliant_calc_dclk2()
140 if (m >= 3 && m <= 257) { 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()
145 best_m = m; in asiliant_calc_dclk2()
149 /* But if VLD = 4, then 4m <= 1028 */ in asiliant_calc_dclk2()
150 else if (m <= 1028) { in asiliant_calc_dclk2()
151 /* remember there are still only 8-bits of precision in m, so 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()
157 best_m = m; in asiliant_calc_dclk2()
163 best_m >>= 2; /* divide m by 4, and leave VCO loop divide at 4 */ in asiliant_calc_dclk2()
185 if ((p->var.xres == 640) && (p->var.yres == 480) && (p->var.pixclock == 39722)) { in asiliant_set_timing()
273 u8 dclk2_m; /* Holds m-2 value for register */ in asiliantfb_set_par()
436 {0xcc, 200 }, /* MCLK ratio M */
490 .yres = 480,
492 .yres_virtual = 480,