Searched refs:rounding (Results 1 – 7 of 7) sorted by relevance
46 int rounding = (dx + 1) >> 1; in ctc2_slope() local58 rounding = -rounding; in ctc2_slope()59 slope = (int)(dy_shift + rounding) / dx; in ctc2_slope()
451 int rounding; in matroxfb_test_and_set_rounding() local457 case 4: rounding = 128; in matroxfb_test_and_set_rounding()459 case 8: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()461 case 16: rounding = 32; in matroxfb_test_and_set_rounding()463 case 24: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding()465 default: rounding = 16; in matroxfb_test_and_set_rounding()468 rounding = 32; in matroxfb_test_and_set_rounding()472 rounding *= 2; in matroxfb_test_and_set_rounding()474 over = xres % rounding; in matroxfb_test_and_set_rounding()476 xres += rounding-over; in matroxfb_test_and_set_rounding()
322 clock rate rounding through the clock framework can use this324 harmless for CPUs that don't support rate rounding. The driver326 itself if the CPU in question is not capable of rate rounding.
572 static int make_rate (const hrz_dev * dev, u32 c, rounding r, in make_rate()679 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol, in make_rate_with_tolerance()2225 rounding r; in hrz_open()2264 rounding pr; in hrz_open()2265 rounding sr; in hrz_open()
490 } rounding; typedef
646 } rounding; typedef
874 static int make_rate (unsigned int rate, rounding r, in make_rate()1053 rounding r; in amb_open()