Searched refs:ROUND_UP_TO (Results 1 – 3 of 3) sorted by relevance
85 #define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) macro87 #define ROUND_UP_TO_PAGE(x) ROUND_UP_TO((x), GTT_PAGE_SIZE)
1155 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT_I9XX); in update_dinfo()1157 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT); in update_dinfo()1624 u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8); in intelfb_cursor()
974 m = ROUND_UP_TO(f_vco * n, pll->ref_clk) / pll->ref_clk; in calc_pll_params()1764 nbytes = ROUND_UP_TO(w, 16) / 8; in intelfbhw_do_drawglyph()1777 ndwords = ROUND_UP_TO(nbytes, 4) / 4; in intelfbhw_do_drawglyph()1816 iw = ROUND_UP_TO(w, 8) / 8; in intelfbhw_do_drawglyph()