21 #include <linux/export.h>
22 #include <linux/slab.h>
27 #include <asm/cacheflush.h>
32 static void *arm64_swiotlb_alloc_coherent(
struct device *
dev,
size_t size,
42 static void arm64_swiotlb_free_coherent(
struct device *dev,
size_t size,
50 .alloc = arm64_swiotlb_alloc_coherent,
51 .free = arm64_swiotlb_free_coherent,
66 dma_ops = &arm64_swiotlb_dma_ops;
70 #define PREALLOC_DMA_DEBUG_ENTRIES 4096
72 static int __init dma_debug_do_init(
void)