GNU Linux-libre 4.19.211-gnu1
[releases.git] / kernel / dma / Kconfig
1
2 config HAS_DMA
3         bool
4         depends on !NO_DMA
5         default y
6
7 config NEED_SG_DMA_LENGTH
8         bool
9
10 config NEED_DMA_MAP_STATE
11         bool
12
13 config ARCH_DMA_ADDR_T_64BIT
14         def_bool 64BIT || PHYS_ADDR_T_64BIT
15
16 config HAVE_GENERIC_DMA_COHERENT
17         bool
18
19 config ARCH_HAS_SYNC_DMA_FOR_DEVICE
20         bool
21
22 config ARCH_HAS_SYNC_DMA_FOR_CPU
23         bool
24         select NEED_DMA_MAP_STATE
25
26 config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
27         bool
28
29 config DMA_DIRECT_OPS
30         bool
31         depends on HAS_DMA
32
33 config DMA_NONCOHERENT_OPS
34         bool
35         depends on HAS_DMA
36         select DMA_DIRECT_OPS
37
38 config DMA_NONCOHERENT_MMAP
39         bool
40         depends on DMA_NONCOHERENT_OPS
41
42 config DMA_NONCOHERENT_CACHE_SYNC
43         bool
44         depends on DMA_NONCOHERENT_OPS
45
46 config DMA_VIRT_OPS
47         bool
48         depends on HAS_DMA
49
50 config SWIOTLB
51         bool
52         select DMA_DIRECT_OPS
53         select NEED_DMA_MAP_STATE