Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_internal.h38 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
39 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1)
40 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y))
/external/linux-kselftest/tools/testing/selftests/bpf/
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/u-boot/include/linux/
Dkernel.h54 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
55 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
56 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/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/u-boot/tools/
Dmxsboot.c17 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
18 #define round_down(x, y) ((x) & ~__round_mask(x, y))
/external/f2fs-tools/include/
Df2fs_fs.h502 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro
503 #define round_down(x, y) ((x) & ~__round_mask(x, y))