Lines Matching refs:ALIGNMENT_DEFAULT
224 * \def ALIGNMENT_DEFAULT
228 #define ALIGNMENT_DEFAULT 8
229 #define RAM_ALIGN __attribute__((aligned(ALIGNMENT_DEFAULT)))
231 #define ALIGNMENT_DEFAULT 8
259 * \brief This macro aligns a given value depending on ::ALIGNMENT_DEFAULT.
261 * For example if #ALIGNMENT_DEFAULT equals 8, then:
266 #define ALIGN_SIZE(a) ((a)+ (((INT)ALIGNMENT_DEFAULT - ((INT)(a) & (ALIGNMENT_DEFAULT-1)) ) & (ALIGNMENT_DEFAULT-1)))
273 * \brief This macro aligns a given address depending on ::ALIGNMENT_DEFAULT.
275 #define ALIGN_PTR(a) ( (unsigned char*)(a) + (((INT)ALIGNMENT_DEFAULT - ((INT)(UINT64)(a) & (ALIGNMENT_DEFAULT-1)) ) & (ALIGNMENT_DEFAULT-1)) )
278 #define ALIGNMENT_EXTRES ( ALIGNMENT_DEFAULT )