1cf65a0f6SChristoph Hellwig 2cf65a0f6SChristoph Hellwigconfig HAS_DMA 3cf65a0f6SChristoph Hellwig bool 4cf65a0f6SChristoph Hellwig depends on !NO_DMA 5cf65a0f6SChristoph Hellwig default y 6cf65a0f6SChristoph Hellwig 7cf65a0f6SChristoph Hellwigconfig NEED_SG_DMA_LENGTH 8cf65a0f6SChristoph Hellwig bool 9cf65a0f6SChristoph Hellwig 10cf65a0f6SChristoph Hellwigconfig NEED_DMA_MAP_STATE 11cf65a0f6SChristoph Hellwig bool 12cf65a0f6SChristoph Hellwig 13cf65a0f6SChristoph Hellwigconfig ARCH_DMA_ADDR_T_64BIT 14cf65a0f6SChristoph Hellwig def_bool 64BIT || PHYS_ADDR_T_64BIT 15cf65a0f6SChristoph Hellwig 16f3ecc0ffSChristoph Hellwigconfig ARCH_HAS_DMA_COHERENCE_H 17f3ecc0ffSChristoph Hellwig bool 18f3ecc0ffSChristoph Hellwig 19cf65a0f6SChristoph Hellwigconfig HAVE_GENERIC_DMA_COHERENT 20cf65a0f6SChristoph Hellwig bool 21cf65a0f6SChristoph Hellwig 22cf65a0f6SChristoph Hellwigconfig ARCH_HAS_SYNC_DMA_FOR_DEVICE 23cf65a0f6SChristoph Hellwig bool 24cf65a0f6SChristoph Hellwig 25cf65a0f6SChristoph Hellwigconfig ARCH_HAS_SYNC_DMA_FOR_CPU 26cf65a0f6SChristoph Hellwig bool 27cf65a0f6SChristoph Hellwig select NEED_DMA_MAP_STATE 28cf65a0f6SChristoph Hellwig 29684f7e91SChristoph Hellwigconfig ARCH_HAS_SYNC_DMA_FOR_CPU_ALL 30684f7e91SChristoph Hellwig bool 31684f7e91SChristoph Hellwig 3258b04406SChristoph Hellwigconfig ARCH_HAS_DMA_COHERENT_TO_PFN 3358b04406SChristoph Hellwig bool 3458b04406SChristoph Hellwig 3558b04406SChristoph Hellwigconfig ARCH_HAS_DMA_MMAP_PGPROT 3658b04406SChristoph Hellwig bool 3758b04406SChristoph Hellwig 38cf65a0f6SChristoph Hellwigconfig DMA_DIRECT_OPS 39cf65a0f6SChristoph Hellwig bool 40cf65a0f6SChristoph Hellwig depends on HAS_DMA 41cf65a0f6SChristoph Hellwig 42cf65a0f6SChristoph Hellwigconfig DMA_NONCOHERENT_CACHE_SYNC 43cf65a0f6SChristoph Hellwig bool 44bc3ec75dSChristoph Hellwig depends on DMA_DIRECT_OPS 45cf65a0f6SChristoph Hellwig 46cf65a0f6SChristoph Hellwigconfig DMA_VIRT_OPS 47cf65a0f6SChristoph Hellwig bool 48cf65a0f6SChristoph Hellwig depends on HAS_DMA 49cf65a0f6SChristoph Hellwig 50cf65a0f6SChristoph Hellwigconfig SWIOTLB 51cf65a0f6SChristoph Hellwig bool 52cf65a0f6SChristoph Hellwig select DMA_DIRECT_OPS 53cf65a0f6SChristoph Hellwig select NEED_DMA_MAP_STATE 54*f0edfea8SChristoph Hellwig 55*f0edfea8SChristoph Hellwigconfig DMA_REMAP 56*f0edfea8SChristoph Hellwig depends on MMU 57*f0edfea8SChristoph Hellwig bool 58