1 #ifndef _ASM_LINUX_DMA_MAPPING_H
2 #define _ASM_LINUX_DMA_MAPPING_H
4 /* These definitions mirror those in pci.h, so they can be used
5 * interchangeably with their PCI_ counterparts */
6 enum dma_data_direction {
13 #define DMA_64BIT_MASK 0xffffffffffffffffULL
14 #define DMA_32BIT_MASK 0x00000000ffffffffULL
16 #include <asm/dma-mapping.h>
18 /* Backwards compat, remove in 2.7.x */
19 #define dma_sync_single dma_sync_single_for_cpu
20 #define dma_sync_sg dma_sync_sg_for_cpu
22 extern u64 dma_get_required_mask(struct device *dev);