1 #ifndef _H8300_DMA_MAPPING_H
2 #define _H8300_DMA_MAPPING_H
4 extern struct dma_map_ops h8300_dma_map_ops;
6 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
8 return &h8300_dma_map_ops;
11 #include <asm-generic/dma-mapping-common.h>
13 static inline int dma_supported(struct device *dev, u64 mask)
18 static inline int dma_set_mask(struct device *dev, u64 mask)
23 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)