]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/alpha/include/asm/dma-mapping.h
1 #ifndef _ALPHA_DMA_MAPPING_H
2 #define _ALPHA_DMA_MAPPING_H
4 #include <linux/dma-attrs.h>
6 extern struct dma_map_ops
*dma_ops
;
8 static inline struct dma_map_ops
*get_dma_ops(struct device
*dev
)
13 #include <asm-generic/dma-mapping-common.h>
15 static inline int dma_set_mask(struct device
*dev
, u64 mask
)
17 return get_dma_ops(dev
)->set_dma_mask(dev
, mask
);
20 #define dma_cache_sync(dev, va, size, dir) ((void)0)
22 #endif /* _ALPHA_DMA_MAPPING_H */