blob: 1115f2a645d1805de87396e49fc27de9b7700136 [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001#ifndef __ASM_AVR32_DMA_MAPPING_H
2#define __ASM_AVR32_DMA_MAPPING_H
3
Ralf Baechled3fa72e2006-12-06 20:38:56 -08004extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
5 int direction);
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07006
Christoph Hellwiga34a5172016-01-20 15:01:29 -08007extern struct dma_map_ops avr32_dma_ops;
8
9static inline struct dma_map_ops *get_dma_ops(struct device *dev)
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070010{
Christoph Hellwiga34a5172016-01-20 15:01:29 -080011 return &avr32_dma_ops;
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070012}
13
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070014#endif /* __ASM_AVR32_DMA_MAPPING_H */