Searched refs:ROUND_UP_TO (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/video/intel/ |
D | intelfb.h | 87 #define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) macro 89 #define ROUND_UP_TO_PAGE(x) ROUND_UP_TO((x), PAGE_SIZE)
|
D | intelfbhw.c | 737 div_min = ROUND_UP_TO(MIN_VCO_FREQ, clock) / clock; in calc_pll_params() 743 p_min = ROUND_UP_TO(div_min, p_inc); in calc_pll_params() 763 m = ROUND_UP_TO(f_vco * n, PLL_REFCLK) / PLL_REFCLK; in calc_pll_params() 1494 fw_bytes = ROUND_UP_TO(w, 8) / 8; in intelfbhw_do_drawglyph() 1497 bytes_per_src_line = ROUND_UP_TO(fw_bytes, 2); in intelfbhw_do_drawglyph() 1510 ndwords = ROUND_UP_TO(nbytes, 4) / 4; in intelfbhw_do_drawglyph()
|
D | intelfbdrv.c | 1171 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT); in update_dinfo() 1890 fw = ROUND_UP_TO(fontwidth(p), 8) / 8; in fbcon_intelfb_putc() 1958 fw = ROUND_UP_TO(fontwidth(p), 8) / 8; in fbcon_intelfb_putcs()
|