xref: /openbmc/linux/kernel/dma/Kconfig (revision ac8b6f14)
1
2config HAS_DMA
3	bool
4	depends on !NO_DMA
5	default y
6
7config NEED_SG_DMA_LENGTH
8	bool
9
10config NEED_DMA_MAP_STATE
11	bool
12
13config ARCH_DMA_ADDR_T_64BIT
14	def_bool 64BIT || PHYS_ADDR_T_64BIT
15
16config ARCH_HAS_DMA_COHERENCE_H
17	bool
18
19config HAVE_GENERIC_DMA_COHERENT
20	bool
21
22config ARCH_HAS_SYNC_DMA_FOR_DEVICE
23	bool
24
25config ARCH_HAS_SYNC_DMA_FOR_CPU
26	bool
27	select NEED_DMA_MAP_STATE
28
29config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
30	bool
31
32config ARCH_HAS_DMA_COHERENT_TO_PFN
33	bool
34
35config ARCH_HAS_DMA_MMAP_PGPROT
36	bool
37
38config DMA_DIRECT_OPS
39	bool
40	depends on HAS_DMA
41
42config DMA_NONCOHERENT_CACHE_SYNC
43	bool
44	depends on DMA_DIRECT_OPS
45
46config DMA_VIRT_OPS
47	bool
48	depends on HAS_DMA
49
50config SWIOTLB
51	bool
52	select DMA_DIRECT_OPS
53	select NEED_DMA_MAP_STATE
54