Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
Dia_css_ctc2.host.c46 int rounding = (dx + 1) >> 1; in ctc2_slope() local
58 rounding = -rounding; in ctc2_slope()
59 slope = (int)(dy_shift + rounding) / dx; in ctc2_slope()
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c451 int rounding; in matroxfb_test_and_set_rounding() local
457 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()
/drivers/cpufreq/
DKconfig322 clock rate rounding through the clock framework can use this
324 harmless for CPUs that don't support rate rounding. The driver
326 itself if the CPU in question is not capable of rate rounding.
/drivers/atm/
Dhorizon.c572 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()
Dhorizon.h490 } rounding; typedef
Dambassador.h646 } rounding; typedef
Dambassador.c874 static int make_rate (unsigned int rate, rounding r, in make_rate()
1053 rounding r; in amb_open()