of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git] / arch / arm / mach-s3c64xx / include / mach / dma.h
blob096e14073bd9225f9218550ee5a9ce13053f4717
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
9 */
11 #ifndef __ASM_ARCH_DMA_H
12 #define __ASM_ARCH_DMA_H __FILE__
14 #define S3C64XX_DMA_CHAN(name) ((unsigned long)(name))
16 /* DMA0/SDMA0 */
17 #define DMACH_UART0 S3C64XX_DMA_CHAN("uart0_tx")
18 #define DMACH_UART0_SRC2 S3C64XX_DMA_CHAN("uart0_rx")
19 #define DMACH_UART1 S3C64XX_DMA_CHAN("uart1_tx")
20 #define DMACH_UART1_SRC2 S3C64XX_DMA_CHAN("uart1_rx")
21 #define DMACH_UART2 S3C64XX_DMA_CHAN("uart2_tx")
22 #define DMACH_UART2_SRC2 S3C64XX_DMA_CHAN("uart2_rx")
23 #define DMACH_UART3 S3C64XX_DMA_CHAN("uart3_tx")
24 #define DMACH_UART3_SRC2 S3C64XX_DMA_CHAN("uart3_rx")
25 #define DMACH_PCM0_TX S3C64XX_DMA_CHAN("pcm0_tx")
26 #define DMACH_PCM0_RX S3C64XX_DMA_CHAN("pcm0_rx")
27 #define DMACH_I2S0_OUT S3C64XX_DMA_CHAN("i2s0_tx")
28 #define DMACH_I2S0_IN S3C64XX_DMA_CHAN("i2s0_rx")
29 #define DMACH_SPI0_TX S3C64XX_DMA_CHAN("spi0_tx")
30 #define DMACH_SPI0_RX S3C64XX_DMA_CHAN("spi0_rx")
31 #define DMACH_HSI_I2SV40_TX S3C64XX_DMA_CHAN("i2s2_tx")
32 #define DMACH_HSI_I2SV40_RX S3C64XX_DMA_CHAN("i2s2_rx")
34 /* DMA1/SDMA1 */
35 #define DMACH_PCM1_TX S3C64XX_DMA_CHAN("pcm1_tx")
36 #define DMACH_PCM1_RX S3C64XX_DMA_CHAN("pcm1_rx")
37 #define DMACH_I2S1_OUT S3C64XX_DMA_CHAN("i2s1_tx")
38 #define DMACH_I2S1_IN S3C64XX_DMA_CHAN("i2s1_rx")
39 #define DMACH_SPI1_TX S3C64XX_DMA_CHAN("spi1_tx")
40 #define DMACH_SPI1_RX S3C64XX_DMA_CHAN("spi1_rx")
41 #define DMACH_AC97_PCMOUT S3C64XX_DMA_CHAN("ac97_out")
42 #define DMACH_AC97_PCMIN S3C64XX_DMA_CHAN("ac97_in")
43 #define DMACH_AC97_MICIN S3C64XX_DMA_CHAN("ac97_mic")
44 #define DMACH_PWM S3C64XX_DMA_CHAN("pwm")
45 #define DMACH_IRDA S3C64XX_DMA_CHAN("irda")
46 #define DMACH_EXTERNAL S3C64XX_DMA_CHAN("external")
47 #define DMACH_SECURITY_RX S3C64XX_DMA_CHAN("sec_rx")
48 #define DMACH_SECURITY_TX S3C64XX_DMA_CHAN("sec_tx")
50 enum dma_ch {
51 DMACH_MAX = 32
54 #include <linux/amba/pl08x.h>
56 #endif /* __ASM_ARCH_IRQ_H */