Go to the documentation of this file. 1 #ifndef __ASM_ARM_DMA_H
2 #define __ASM_ARM_DMA_H
7 #ifndef CONFIG_ZONE_DMA
8 #define MAX_DMA_ADDRESS 0xffffffffUL
10 #define MAX_DMA_ADDRESS ({ \
11 extern unsigned long arm_dma_zone_size; \
13 (PAGE_OFFSET + arm_dma_zone_size) : 0xffffffffUL; })
16 #ifdef CONFIG_ISA_DMA_API
22 #include <asm/scatterlist.h>
24 #include <mach/isa-dma.h>
29 #define DMA_MODE_MASK 0xcc
31 #define DMA_MODE_READ 0x44
32 #define DMA_MODE_WRITE 0x48
33 #define DMA_MODE_CASCADE 0xc0
34 #define DMA_AUTOINIT 0x10
53 #define clear_dma_ff(chan)
107 #define set_dma_addr(chan, addr) \
108 __set_dma_addr(chan, bus_to_virt(addr))
148 #define isa_dma_bridge_buggy (0)