summaryrefslogtreecommitdiff
path: root/kernel/dma/Kconfig
blob: 1b1d63b3634b580cf6b29384e162f76b28e05102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

config HAS_DMA
	bool
	depends on !NO_DMA
	default y

config NEED_SG_DMA_LENGTH
	bool

config NEED_DMA_MAP_STATE
	bool

config ARCH_DMA_ADDR_T_64BIT
	def_bool 64BIT || PHYS_ADDR_T_64BIT

config HAVE_GENERIC_DMA_COHERENT
	bool

config ARCH_HAS_SYNC_DMA_FOR_DEVICE
	bool

config ARCH_HAS_SYNC_DMA_FOR_CPU
	bool
	select NEED_DMA_MAP_STATE

config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
	bool

config DMA_DIRECT_OPS
	bool
	depends on HAS_DMA

config DMA_NONCOHERENT_OPS
	bool
	depends on HAS_DMA
	select DMA_DIRECT_OPS

config DMA_NONCOHERENT_MMAP
	bool
	depends on DMA_NONCOHERENT_OPS

config DMA_NONCOHERENT_CACHE_SYNC
	bool
	depends on DMA_NONCOHERENT_OPS

config DMA_VIRT_OPS
	bool
	depends on HAS_DMA

config SWIOTLB
	bool
	select DMA_DIRECT_OPS
	select NEED_DMA_MAP_STATE