1 /* linux/arch/arm/mach-s3c6400/include/mach/dma.h
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
8 * S3C6400 - DMA support
11 #ifndef __ASM_ARCH_DMA_H
12 #define __ASM_ARCH_DMA_H __FILE__
14 #define S3C_DMA_CHANNELS (16)
16 /* see mach-s3c2410/dma.h for notes on dma channel numbers */
18 /* Note, for the S3C64XX architecture we keep the DMACH_
19 * defines in the order they are allocated to [S]DMA0/[S]DMA1
20 * so that is easy to do DHACH_ -> DMA controller conversion
56 DMACH_SECURITY_RX
, /* SDMA1 only */
57 DMACH_SECURITY_TX
, /* SDMA1 only */
58 DMACH_MAX
/* the end */
61 static __inline__
int s3c_dma_has_circular(void)
63 /* we will be supporting ciruclar buffers as soon as we have DMA
69 #define S3C2410_DMAF_CIRCULAR (1 << 0)
73 #endif /* __ASM_ARCH_IRQ_H */