1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_METAG_DMA_MAPPING_H
3 #define _ASM_METAG_DMA_MAPPING_H
5 extern const struct dma_map_ops metag_dma_ops;
7 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
13 * dma_alloc_attrs() always returns non-cacheable memory, so there's no need to
14 * do any flushing here.
17 dma_cache_sync(struct device *dev, void *vaddr, size_t size,
18 enum dma_data_direction direction)