Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/mm/
Dpkey-helpers.h180 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument
181 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) argument
/linux-6.6.21/tools/testing/selftests/net/
Dtcp_mmap.c130 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) argument
/linux-6.6.21/drivers/dma/ti/
Dk3-udma.c2846 static int udma_get_tr_counters(size_t len, unsigned long align_to, in udma_get_tr_counters() argument
2856 if (align_to > 3) in udma_get_tr_counters()
2857 align_to = 3; in udma_get_tr_counters()
2860 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters()
2862 if (align_to) { in udma_get_tr_counters()
2863 align_to--; in udma_get_tr_counters()