summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/dma-mapping.h
blob: 1e06dac6d3e4d29c1a568682c2c40d31368a6e4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Public domain. */

#ifndef _LINUX_DMA_MAPPING_H
#define _LINUX_DMA_MAPPING_H

#include <linux/sizes.h>
#include <linux/scatterlist.h>

#define DMA_BIT_MASK(n)	(((n) == 64) ? ~0ULL : (1ULL<<(n)) -1)

#define dma_set_coherent_mask(x, y)	0
#define dma_set_max_seg_size(x, y)	0
#define dma_set_mask_and_coherent(x, y)	0
#define dma_addressing_limited(x)	false

#endif