diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-03-19 11:02:36 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 06:39:06 -0400 |
commit | 023b40cd1018915beb5a519b55ea174683215f16 (patch) | |
tree | 0da747ebf53fd64e70609fe2ac810c3b8b2c67c6 /arch/arm/plat-s3c24xx/include | |
parent | 44dc94045f6ddbc07db3e0eb3448c2efc13ac2cf (diff) |
[ARM] S3C24XX: Fix indentation in <plat/dma-regs.h>
The <plat/dma-regs.h> pre-date the invention of the TAB character,
so fix the indentation of the register defines.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/include')
-rw-r--r-- | arch/arm/plat-s3c24xx/include/plat/regs-dma.h | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/regs-dma.h b/arch/arm/plat-s3c24xx/include/plat/regs-dma.h index d38e7b76c260..3bc0a216df97 100644 --- a/arch/arm/plat-s3c24xx/include/plat/regs-dma.h +++ b/arch/arm/plat-s3c24xx/include/plat/regs-dma.h | |||
@@ -12,81 +12,81 @@ | |||
12 | 12 | ||
13 | /* DMA Register definitions */ | 13 | /* DMA Register definitions */ |
14 | 14 | ||
15 | #define S3C2410_DMA_DISRC (0x00) | 15 | #define S3C2410_DMA_DISRC (0x00) |
16 | #define S3C2410_DMA_DISRCC (0x04) | 16 | #define S3C2410_DMA_DISRCC (0x04) |
17 | #define S3C2410_DMA_DIDST (0x08) | 17 | #define S3C2410_DMA_DIDST (0x08) |
18 | #define S3C2410_DMA_DIDSTC (0x0C) | 18 | #define S3C2410_DMA_DIDSTC (0x0C) |
19 | #define S3C2410_DMA_DCON (0x10) | 19 | #define S3C2410_DMA_DCON (0x10) |
20 | #define S3C2410_DMA_DSTAT (0x14) | 20 | #define S3C2410_DMA_DSTAT (0x14) |
21 | #define S3C2410_DMA_DCSRC (0x18) | 21 | #define S3C2410_DMA_DCSRC (0x18) |
22 | #define S3C2410_DMA_DCDST (0x1C) | 22 | #define S3C2410_DMA_DCDST (0x1C) |
23 | #define S3C2410_DMA_DMASKTRIG (0x20) | 23 | #define S3C2410_DMA_DMASKTRIG (0x20) |
24 | #define S3C2412_DMA_DMAREQSEL (0x24) | 24 | #define S3C2412_DMA_DMAREQSEL (0x24) |
25 | #define S3C2443_DMA_DMAREQSEL (0x24) | 25 | #define S3C2443_DMA_DMAREQSEL (0x24) |
26 | 26 | ||
27 | #define S3C2410_DISRCC_INC (1<<0) | 27 | #define S3C2410_DISRCC_INC (1<<0) |
28 | #define S3C2410_DISRCC_APB (1<<1) | 28 | #define S3C2410_DISRCC_APB (1<<1) |
29 | 29 | ||
30 | #define S3C2410_DMASKTRIG_STOP (1<<2) | 30 | #define S3C2410_DMASKTRIG_STOP (1<<2) |
31 | #define S3C2410_DMASKTRIG_ON (1<<1) | 31 | #define S3C2410_DMASKTRIG_ON (1<<1) |
32 | #define S3C2410_DMASKTRIG_SWTRIG (1<<0) | 32 | #define S3C2410_DMASKTRIG_SWTRIG (1<<0) |
33 | 33 | ||
34 | #define S3C2410_DCON_DEMAND (0<<31) | 34 | #define S3C2410_DCON_DEMAND (0<<31) |
35 | #define S3C2410_DCON_HANDSHAKE (1<<31) | 35 | #define S3C2410_DCON_HANDSHAKE (1<<31) |
36 | #define S3C2410_DCON_SYNC_PCLK (0<<30) | 36 | #define S3C2410_DCON_SYNC_PCLK (0<<30) |
37 | #define S3C2410_DCON_SYNC_HCLK (1<<30) | 37 | #define S3C2410_DCON_SYNC_HCLK (1<<30) |
38 | 38 | ||
39 | #define S3C2410_DCON_INTREQ (1<<29) | 39 | #define S3C2410_DCON_INTREQ (1<<29) |
40 | 40 | ||
41 | #define S3C2410_DCON_CH0_XDREQ0 (0<<24) | 41 | #define S3C2410_DCON_CH0_XDREQ0 (0<<24) |
42 | #define S3C2410_DCON_CH0_UART0 (1<<24) | 42 | #define S3C2410_DCON_CH0_UART0 (1<<24) |
43 | #define S3C2410_DCON_CH0_SDI (2<<24) | 43 | #define S3C2410_DCON_CH0_SDI (2<<24) |
44 | #define S3C2410_DCON_CH0_TIMER (3<<24) | 44 | #define S3C2410_DCON_CH0_TIMER (3<<24) |
45 | #define S3C2410_DCON_CH0_USBEP1 (4<<24) | 45 | #define S3C2410_DCON_CH0_USBEP1 (4<<24) |
46 | 46 | ||
47 | #define S3C2410_DCON_CH1_XDREQ1 (0<<24) | 47 | #define S3C2410_DCON_CH1_XDREQ1 (0<<24) |
48 | #define S3C2410_DCON_CH1_UART1 (1<<24) | 48 | #define S3C2410_DCON_CH1_UART1 (1<<24) |
49 | #define S3C2410_DCON_CH1_I2SSDI (2<<24) | 49 | #define S3C2410_DCON_CH1_I2SSDI (2<<24) |
50 | #define S3C2410_DCON_CH1_SPI (3<<24) | 50 | #define S3C2410_DCON_CH1_SPI (3<<24) |
51 | #define S3C2410_DCON_CH1_USBEP2 (4<<24) | 51 | #define S3C2410_DCON_CH1_USBEP2 (4<<24) |
52 | 52 | ||
53 | #define S3C2410_DCON_CH2_I2SSDO (0<<24) | 53 | #define S3C2410_DCON_CH2_I2SSDO (0<<24) |
54 | #define S3C2410_DCON_CH2_I2SSDI (1<<24) | 54 | #define S3C2410_DCON_CH2_I2SSDI (1<<24) |
55 | #define S3C2410_DCON_CH2_SDI (2<<24) | 55 | #define S3C2410_DCON_CH2_SDI (2<<24) |
56 | #define S3C2410_DCON_CH2_TIMER (3<<24) | 56 | #define S3C2410_DCON_CH2_TIMER (3<<24) |
57 | #define S3C2410_DCON_CH2_USBEP3 (4<<24) | 57 | #define S3C2410_DCON_CH2_USBEP3 (4<<24) |
58 | 58 | ||
59 | #define S3C2410_DCON_CH3_UART2 (0<<24) | 59 | #define S3C2410_DCON_CH3_UART2 (0<<24) |
60 | #define S3C2410_DCON_CH3_SDI (1<<24) | 60 | #define S3C2410_DCON_CH3_SDI (1<<24) |
61 | #define S3C2410_DCON_CH3_SPI (2<<24) | 61 | #define S3C2410_DCON_CH3_SPI (2<<24) |
62 | #define S3C2410_DCON_CH3_TIMER (3<<24) | 62 | #define S3C2410_DCON_CH3_TIMER (3<<24) |
63 | #define S3C2410_DCON_CH3_USBEP4 (4<<24) | 63 | #define S3C2410_DCON_CH3_USBEP4 (4<<24) |
64 | 64 | ||
65 | #define S3C2410_DCON_SRCSHIFT (24) | 65 | #define S3C2410_DCON_SRCSHIFT (24) |
66 | #define S3C2410_DCON_SRCMASK (7<<24) | 66 | #define S3C2410_DCON_SRCMASK (7<<24) |
67 | 67 | ||
68 | #define S3C2410_DCON_BYTE (0<<20) | 68 | #define S3C2410_DCON_BYTE (0<<20) |
69 | #define S3C2410_DCON_HALFWORD (1<<20) | 69 | #define S3C2410_DCON_HALFWORD (1<<20) |
70 | #define S3C2410_DCON_WORD (2<<20) | 70 | #define S3C2410_DCON_WORD (2<<20) |
71 | 71 | ||
72 | #define S3C2410_DCON_AUTORELOAD (0<<22) | 72 | #define S3C2410_DCON_AUTORELOAD (0<<22) |
73 | #define S3C2410_DCON_NORELOAD (1<<22) | 73 | #define S3C2410_DCON_NORELOAD (1<<22) |
74 | #define S3C2410_DCON_HWTRIG (1<<23) | 74 | #define S3C2410_DCON_HWTRIG (1<<23) |
75 | 75 | ||
76 | #ifdef CONFIG_CPU_S3C2440 | 76 | #ifdef CONFIG_CPU_S3C2440 |
77 | #define S3C2440_DIDSTC_CHKINT (1<<2) | 77 | #define S3C2440_DIDSTC_CHKINT (1<<2) |
78 | 78 | ||
79 | #define S3C2440_DCON_CH0_I2SSDO (5<<24) | 79 | #define S3C2440_DCON_CH0_I2SSDO (5<<24) |
80 | #define S3C2440_DCON_CH0_PCMIN (6<<24) | 80 | #define S3C2440_DCON_CH0_PCMIN (6<<24) |
81 | 81 | ||
82 | #define S3C2440_DCON_CH1_PCMOUT (5<<24) | 82 | #define S3C2440_DCON_CH1_PCMOUT (5<<24) |
83 | #define S3C2440_DCON_CH1_SDI (6<<24) | 83 | #define S3C2440_DCON_CH1_SDI (6<<24) |
84 | 84 | ||
85 | #define S3C2440_DCON_CH2_PCMIN (5<<24) | 85 | #define S3C2440_DCON_CH2_PCMIN (5<<24) |
86 | #define S3C2440_DCON_CH2_MICIN (6<<24) | 86 | #define S3C2440_DCON_CH2_MICIN (6<<24) |
87 | 87 | ||
88 | #define S3C2440_DCON_CH3_MICIN (5<<24) | 88 | #define S3C2440_DCON_CH3_MICIN (5<<24) |
89 | #define S3C2440_DCON_CH3_PCMOUT (6<<24) | 89 | #define S3C2440_DCON_CH3_PCMOUT (6<<24) |
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #ifdef CONFIG_CPU_S3C2412 | 92 | #ifdef CONFIG_CPU_S3C2412 |