1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_DMA_MAPPING_H
3 #define _ASM_DMA_MAPPING_H
6 #include <asm/cacheflush.h>
8 extern unsigned long __nongprelbss dma_coherent_mem_start
;
9 extern unsigned long __nongprelbss dma_coherent_mem_end
;
11 extern const struct dma_map_ops frv_dma_ops
;
13 static inline const struct dma_map_ops
*get_arch_dma_ops(struct bus_type
*bus
)
19 void dma_cache_sync(struct device
*dev
, void *vaddr
, size_t size
,
20 enum dma_data_direction direction
)
22 flush_write_buffers();
25 #endif /* _ASM_DMA_MAPPING_H */