Home
last modified time | relevance | path

Searched refs:align_to (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dpkey-helpers.h173 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument
174 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) argument
H A Duffd-unit-tests.c26 #define ALIGN_UP(x, align_to) \ argument
27 ((__typeof__(x))((((unsigned long)(x)) + ((align_to)-1)) & ~((align_to)-1)))
/linux/tools/testing/selftests/net/
H A Dtcp_mmap.c130 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument
/linux/drivers/dma/ti/
H A Dk3-udma.c2853 static int udma_get_tr_counters(size_t len, unsigned long align_to, in udma_get_tr_counters() argument
2863 if (align_to > 3) in udma_get_tr_counters()
2864 align_to = 3; in udma_get_tr_counters()
2867 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters()
2869 if (align_to) { in udma_get_tr_counters()
2870 align_to--; in udma_get_tr_counters()