Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.14-rc8 25 lines 598 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_DMA_MAPPING_H 3#define _ASM_DMA_MAPPING_H 4 5#include <asm/cache.h> 6#include <asm/cacheflush.h> 7 8extern unsigned long __nongprelbss dma_coherent_mem_start; 9extern unsigned long __nongprelbss dma_coherent_mem_end; 10 11extern const struct dma_map_ops frv_dma_ops; 12 13static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 14{ 15 return &frv_dma_ops; 16} 17 18static inline 19void dma_cache_sync(struct device *dev, void *vaddr, size_t size, 20 enum dma_data_direction direction) 21{ 22 flush_write_buffers(); 23} 24 25#endif /* _ASM_DMA_MAPPING_H */