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

/drivers/video/matrox/
H A Dmatroxfb_base.c453 int rounding; local
459 case 4: rounding = 128;
461 case 8: rounding = 64; /* doc says 64; 32 is OK for G400 */
463 case 16: rounding = 32;
465 case 24: rounding = 64; /* doc says 64; 32 is OK for G400 */
467 default: rounding = 16;
470 rounding = 32;
474 rounding *= 2;
476 over = xres % rounding;
478 xres += rounding
[all...]
/drivers/atm/
H A Dambassador.h655 /* rate rounding */
661 } rounding; typedef in typeref:enum:__anon134
H A Dhorizon.h505 } rounding; typedef in typeref:enum:__anon140
H A Dhorizon.c602 static int make_rate (const hrz_dev * dev, u32 c, rounding r,
605 // note: rounding the rate down means rounding 'p' up
636 // take care of rounding
669 // take care of rounding
687 // take care of rounding
709 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol,
728 // intolerant, try rounding instead
2198 // after rounding. The actual allocation depends on what we can
2209 // amount, rounding dow
[all...]
H A Dambassador.c173 delay/spacing = latency = (20+2)/3 = 7 (buffers) (rounding up)
889 static int make_rate (unsigned int rate, rounding r,
906 // remove top bit and shift (rounding if feeling clever) by 9-e
941 // rounding presents a minor problem... we first decide which way
942 // we are rounding (based on given rounding direction and possibly
1068 rounding r;

Completed in 156 milliseconds