Home
last modified time | relevance | path

Searched refs:__ALIGN_MASK (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/prebuilt-intermediates/linux/
Dkernel.h8 #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/
Dmksunxiboot.c47 #define ALIGN(x, a) __ALIGN_MASK((x), (typeof(x))(a)-1)
48 #define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) macro
Dimx8mimage.c35 #define ALIGN(x,a) __ALIGN_MASK((x), (__typeof__(x))(a) - 1, a)
36 #define __ALIGN_MASK(x,mask,mask2) (((x) + (mask)) / (mask2) * (mask2)) macro
Difwitool.c17 #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/
Dkernel.h46 #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1)
48 #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) macro
/external/iproute2/tc/
Dm_xt_old.c44 #define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)
45 #define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) macro