diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/sh/include/cpu-sh3/cpu/dma.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/sh/include/cpu-sh3/cpu/dma.h')
-rw-r--r-- | arch/sh/include/cpu-sh3/cpu/dma.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/sh/include/cpu-sh3/cpu/dma.h b/arch/sh/include/cpu-sh3/cpu/dma.h index 0ea15f3f2363..24e28b91c9d5 100644 --- a/arch/sh/include/cpu-sh3/cpu/dma.h +++ b/arch/sh/include/cpu-sh3/cpu/dma.h | |||
@@ -20,27 +20,4 @@ | |||
20 | #define TS_32 0x00000010 | 20 | #define TS_32 0x00000010 |
21 | #define TS_128 0x00000018 | 21 | #define TS_128 0x00000018 |
22 | 22 | ||
23 | #define CHCR_TS_MASK 0x18 | ||
24 | #define CHCR_TS_SHIFT 3 | ||
25 | |||
26 | #define DMAOR_INIT DMAOR_DME | ||
27 | |||
28 | /* | ||
29 | * The SuperH DMAC supports a number of transmit sizes, we list them here, | ||
30 | * with their respective values as they appear in the CHCR registers. | ||
31 | */ | ||
32 | enum { | ||
33 | XMIT_SZ_8BIT, | ||
34 | XMIT_SZ_16BIT, | ||
35 | XMIT_SZ_32BIT, | ||
36 | XMIT_SZ_128BIT, | ||
37 | }; | ||
38 | |||
39 | static unsigned int ts_shift[] __maybe_unused = { | ||
40 | [XMIT_SZ_8BIT] = 0, | ||
41 | [XMIT_SZ_16BIT] = 1, | ||
42 | [XMIT_SZ_32BIT] = 2, | ||
43 | [XMIT_SZ_128BIT] = 4, | ||
44 | }; | ||
45 | |||
46 | #endif /* __ASM_CPU_SH3_DMA_H */ | 23 | #endif /* __ASM_CPU_SH3_DMA_H */ |