xref: /openbsd/sys/dev/pci/drm/include/linux/dma-mapping.h (revision 771fbea0)
1 /* Public domain. */
2 
3 #ifndef _LINUX_DMA_MAPPING_H
4 #define _LINUX_DMA_MAPPING_H
5 
6 #include <linux/sizes.h>
7 #include <linux/scatterlist.h>
8 
9 #define DMA_BIT_MASK(n)	(((n) == 64) ? ~0ULL : (1ULL<<(n)) -1)
10 
11 #define dma_set_coherent_mask(x, y)	0
12 #define dma_set_max_seg_size(x, y)	0
13 #define dma_set_mask_and_coherent(x, y)	0
14 #define dma_addressing_limited(x)	false
15 
16 #endif
17