Home
last modified time | relevance | path

Searched refs:__round_mask (Results 1 – 7 of 7) sorted by relevance

/external/libdrm/amdgpu/
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))
/external/igt-gpu-tools/lib/
Digt_primes.c44 #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/
Ddefs.h95 #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/
Dtest_xdp_meta.c7 #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/
Domapframebuffer.cpp20 #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/
Domap_drm.c45 #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/
Df2fs_fs.h625 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
626 #define round_down(x, y) ((x) & ~__round_mask(x, y))