Searched refs:__ALIGN_MASK (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/prebuilt-intermediates/linux/ |
D | kernel.h | 8 #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1) 11 #ifndef __ALIGN_MASK 12 #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) macro
|
/external/u-boot/tools/ |
D | mksunxiboot.c | 47 #define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a)-1) 48 #define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) macro
|
D | imx8mimage.c | 35 #define ALIGN(x,a) __ALIGN_MASK((x), (__typeof__(x))(a) - 1, a) 36 #define __ALIGN_MASK(x,mask,mask2) (((x) + (mask)) / (mask2) * (mask2)) macro
|
D | ifwitool.c | 17 #define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a) - 1) 18 #define __ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask)) macro
|
/external/u-boot/include/linux/ |
D | kernel.h | 46 #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1) 48 #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) macro
|
/external/iproute2/tc/ |
D | m_xt_old.c | 44 #define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1) 45 #define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) macro
|