1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __ASM_ARM_DMA_H
13 #define __ASM_ARM_DMA_H
15 typedef unsigned int dmach_t;
17 #include <linux/spinlock.h>
18 #include <asm/system.h>
19 #include <asm/scatterlist.h>
20 #include <asm/arch/dma.h>
22 #ifndef MAX_DMA_ADDRESS
23 #define MAX_DMA_ADDRESS 0xffffffff
26 typedef unsigned int dmamode_t;
28 #define DMA_MODE_MASK 3
30 #define DMA_MODE_READ 0
31 #define DMA_MODE_WRITE 1
32 #define DMA_MODE_CASCADE 2
33 #define DMA_AUTOINIT 4
35 #define clear_dma_ff(channel)
37 #define set_dma_addr(channel, addr) __set_dma_addr(channel, bus_to_virt(addr))
43 #define isa_dma_bridge_buggy (0)