Searched refs:ROUND_UP_TO (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/video/fbdev/intelfb/ |
H A D | intelfb.h | 86 #define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) macro 88 #define ROUND_UP_TO_PAGE(x) ROUND_UP_TO((x), GTT_PAGE_SIZE)
|
H A D | intelfbdrv.c | 1161 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT_I9XX); in update_dinfo() 1163 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT); in update_dinfo() 1628 u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8); in intelfb_cursor()
|
H A D | intelfbhw.c | 970 m = ROUND_UP_TO(f_vco * n, pll->ref_clk) / pll->ref_clk; in calc_pll_params() 1759 nbytes = ROUND_UP_TO(w, 16) / 8; in intelfbhw_do_drawglyph() 1772 ndwords = ROUND_UP_TO(nbytes, 4) / 4; in intelfbhw_do_drawglyph() 1811 iw = ROUND_UP_TO(w, 8) / 8; in intelfbhw_do_drawglyph()
|
/openbmc/linux/drivers/staging/most/dim2/ |
H A D | hal.c | 48 #define ROUND_UP_TO(x, d) (DIV_ROUND_UP(x, (d)) * (d)) macro 761 ch->dbr_size = ROUND_UP_TO(hw_buffer_size, DBR_BLOCK_SIZE); in init_ctrl_async()
|