2018-06-13 01:01:45 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-08-19 20:53:20 +08:00
|
|
|
config ARCH_HAS_DMA_COHERENCE_H
|
|
|
|
bool
|
|
|
|
|
2018-06-13 01:01:45 +08:00
|
|
|
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
|
|
|
|
|
2018-09-11 14:54:57 +08:00
|
|
|
config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
|
|
|
|
bool
|
|
|
|
|
2018-09-11 14:55:28 +08:00
|
|
|
config ARCH_HAS_DMA_COHERENT_TO_PFN
|
2018-06-13 01:01:45 +08:00
|
|
|
bool
|
|
|
|
|
2018-09-11 14:55:28 +08:00
|
|
|
config ARCH_HAS_DMA_MMAP_PGPROT
|
2018-06-13 01:01:45 +08:00
|
|
|
bool
|
2018-09-11 14:55:28 +08:00
|
|
|
|
|
|
|
config DMA_DIRECT_OPS
|
|
|
|
bool
|
|
|
|
depends on HAS_DMA
|
2018-06-13 01:01:45 +08:00
|
|
|
|
|
|
|
config DMA_NONCOHERENT_CACHE_SYNC
|
|
|
|
bool
|
2018-09-08 17:22:43 +08:00
|
|
|
depends on DMA_DIRECT_OPS
|
2018-06-13 01:01:45 +08:00
|
|
|
|
|
|
|
config DMA_VIRT_OPS
|
|
|
|
bool
|
|
|
|
depends on HAS_DMA
|
|
|
|
|
|
|
|
config SWIOTLB
|
|
|
|
bool
|
|
|
|
select DMA_DIRECT_OPS
|
|
|
|
select NEED_DMA_MAP_STATE
|