Searched refs:ROUND_UP_TO (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/video/fbdev/intelfb/ |
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)
|
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()
|
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()
|
/Linux-v6.6/drivers/staging/most/dim2/ |
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()
|