Lines Matching refs:name
72 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument
73 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \
76 type *name = (type *)ALIGN((uintptr_t)__##name, align)
77 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument
78 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1)
79 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument
80 ALLOC_ALIGN_BUFFER_PAD(type, name, size, ARCH_DMA_MINALIGN, pad)
81 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument
82 ALLOC_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN)
89 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument
90 static char __##name[ALIGN(size * sizeof(type), align)] \
93 static type *name = (type *)__##name
94 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument
95 DEFINE_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN)