Searched refs:__round_mask (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/libdrm/dist/amdgpu/
H A Damdgpu_internal.h39 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
40 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1)
41 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y))
/xsrc/external/mit/libdrm/dist/omap/
H A Domap_drm.c44 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
45 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)

Completed in 2 milliseconds