1*cf65a0f6SChristoph Hellwig 2*cf65a0f6SChristoph Hellwigconfig HAS_DMA 3*cf65a0f6SChristoph Hellwig bool 4*cf65a0f6SChristoph Hellwig depends on !NO_DMA 5*cf65a0f6SChristoph Hellwig default y 6*cf65a0f6SChristoph Hellwig 7*cf65a0f6SChristoph Hellwigconfig NEED_SG_DMA_LENGTH 8*cf65a0f6SChristoph Hellwig bool 9*cf65a0f6SChristoph Hellwig 10*cf65a0f6SChristoph Hellwigconfig NEED_DMA_MAP_STATE 11*cf65a0f6SChristoph Hellwig bool 12*cf65a0f6SChristoph Hellwig 13*cf65a0f6SChristoph Hellwigconfig ARCH_DMA_ADDR_T_64BIT 14*cf65a0f6SChristoph Hellwig def_bool 64BIT || PHYS_ADDR_T_64BIT 15*cf65a0f6SChristoph Hellwig 16*cf65a0f6SChristoph Hellwigconfig HAVE_GENERIC_DMA_COHERENT 17*cf65a0f6SChristoph Hellwig bool 18*cf65a0f6SChristoph Hellwig 19*cf65a0f6SChristoph Hellwigconfig ARCH_HAS_SYNC_DMA_FOR_DEVICE 20*cf65a0f6SChristoph Hellwig bool 21*cf65a0f6SChristoph Hellwig 22*cf65a0f6SChristoph Hellwigconfig ARCH_HAS_SYNC_DMA_FOR_CPU 23*cf65a0f6SChristoph Hellwig bool 24*cf65a0f6SChristoph Hellwig select NEED_DMA_MAP_STATE 25*cf65a0f6SChristoph Hellwig 26*cf65a0f6SChristoph Hellwigconfig DMA_DIRECT_OPS 27*cf65a0f6SChristoph Hellwig bool 28*cf65a0f6SChristoph Hellwig depends on HAS_DMA 29*cf65a0f6SChristoph Hellwig 30*cf65a0f6SChristoph Hellwigconfig DMA_NONCOHERENT_OPS 31*cf65a0f6SChristoph Hellwig bool 32*cf65a0f6SChristoph Hellwig depends on HAS_DMA 33*cf65a0f6SChristoph Hellwig select DMA_DIRECT_OPS 34*cf65a0f6SChristoph Hellwig 35*cf65a0f6SChristoph Hellwigconfig DMA_NONCOHERENT_MMAP 36*cf65a0f6SChristoph Hellwig bool 37*cf65a0f6SChristoph Hellwig depends on DMA_NONCOHERENT_OPS 38*cf65a0f6SChristoph Hellwig 39*cf65a0f6SChristoph Hellwigconfig DMA_NONCOHERENT_CACHE_SYNC 40*cf65a0f6SChristoph Hellwig bool 41*cf65a0f6SChristoph Hellwig depends on DMA_NONCOHERENT_OPS 42*cf65a0f6SChristoph Hellwig 43*cf65a0f6SChristoph Hellwigconfig DMA_VIRT_OPS 44*cf65a0f6SChristoph Hellwig bool 45*cf65a0f6SChristoph Hellwig depends on HAS_DMA 46*cf65a0f6SChristoph Hellwig 47*cf65a0f6SChristoph Hellwigconfig SWIOTLB 48*cf65a0f6SChristoph Hellwig bool 49*cf65a0f6SChristoph Hellwig select DMA_DIRECT_OPS 50*cf65a0f6SChristoph Hellwig select NEED_DMA_MAP_STATE 51