xref: /openbsd-src/sys/dev/pci/drm/include/linux/dma-mapping.h (revision 4e1ee0786f11cc571bd0be17d38e46f635c719fc)
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(x, y)		0
14 #define dma_set_mask_and_coherent(x, y)	0
15 #define dma_addressing_limited(x)	false
16 
17 #endif
18