x86/boot: Rename overlapping memcpy() to memmove()
[linux/fpc-iii.git] / arch / arm / mach-s3c24xx / include / mach / dma.h
blob9e8117198e0c8a710bb9d3695266f03dc51ffe08
1 /* arch/arm/mach-s3c2410/include/mach/dma.h
3 * Copyright (C) 2003-2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Samsung S3C24XX DMA support
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_DMA_H
14 #define __ASM_ARCH_DMA_H __FILE__
16 #include <linux/device.h>
18 /* We use `virtual` dma channels to hide the fact we have only a limited
19 * number of DMA channels, and not of all of them (dependent on the device)
20 * can be attached to any DMA source. We therefore let the DMA core handle
21 * the allocation of hardware channels to clients.
24 enum dma_ch {
25 DMACH_XD0 = 0,
26 DMACH_XD1,
27 DMACH_SDI,
28 DMACH_SPI0,
29 DMACH_SPI1,
30 DMACH_UART0,
31 DMACH_UART1,
32 DMACH_UART2,
33 DMACH_TIMER,
34 DMACH_I2S_IN,
35 DMACH_I2S_OUT,
36 DMACH_PCM_IN,
37 DMACH_PCM_OUT,
38 DMACH_MIC_IN,
39 DMACH_USB_EP1,
40 DMACH_USB_EP2,
41 DMACH_USB_EP3,
42 DMACH_USB_EP4,
43 DMACH_UART0_SRC2, /* s3c2412 second uart sources */
44 DMACH_UART1_SRC2,
45 DMACH_UART2_SRC2,
46 DMACH_UART3, /* s3c2443 has extra uart */
47 DMACH_UART3_SRC2,
48 DMACH_SPI0_TX, /* s3c2443/2416/2450 hsspi0 */
49 DMACH_SPI0_RX, /* s3c2443/2416/2450 hsspi0 */
50 DMACH_SPI1_TX, /* s3c2443/2450 hsspi1 */
51 DMACH_SPI1_RX, /* s3c2443/2450 hsspi1 */
52 DMACH_MAX, /* the end entry */
55 #endif /* __ASM_ARCH_DMA_H */