Searched refs:__round_mask (Results 1 – 7 of 7) sorted by relevance
/external/libdrm/amdgpu/ |
D | amdgpu_internal.h | 39 #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))
|
/external/igt-gpu-tools/lib/ |
D | igt_primes.c | 44 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 45 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 46 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/external/erofs-utils/include/erofs/ |
D | defs.h | 95 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 96 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 97 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_xdp_meta.c | 7 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) macro 8 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1)
|
/external/libkmsxx/kms++/src/omap/ |
D | omapframebuffer.cpp | 20 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 21 #define round_up(x, y) ((((x)-1) | __round_mask(x, y)) + 1)
|
/external/libdrm/omap/ |
D | omap_drm.c | 45 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 46 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 625 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 626 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|