diff options
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/pxa-regs.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa-regs.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa-regs.h b/arch/arm/mach-pxa/include/mach/pxa-regs.h index 31d615aa7723..7d8db197615c 100644 --- a/arch/arm/mach-pxa/include/mach/pxa-regs.h +++ b/arch/arm/mach-pxa/include/mach/pxa-regs.h | |||
@@ -65,65 +65,6 @@ | |||
65 | #define _PCMCIA1Attr _PCMCIAAttr (1) /* PCMCIA 1 Attribute */ | 65 | #define _PCMCIA1Attr _PCMCIAAttr (1) /* PCMCIA 1 Attribute */ |
66 | #define _PCMCIA1Mem _PCMCIAMem (1) /* PCMCIA 1 Memory */ | 66 | #define _PCMCIA1Mem _PCMCIAMem (1) /* PCMCIA 1 Memory */ |
67 | 67 | ||
68 | |||
69 | |||
70 | /* | ||
71 | * DMA Controller | ||
72 | */ | ||
73 | #define DCSR(x) __REG2(0x40000000, (x) << 2) | ||
74 | |||
75 | #define DCSR_RUN (1 << 31) /* Run Bit (read / write) */ | ||
76 | #define DCSR_NODESC (1 << 30) /* No-Descriptor Fetch (read / write) */ | ||
77 | #define DCSR_STOPIRQEN (1 << 29) /* Stop Interrupt Enable (read / write) */ | ||
78 | #define DCSR_REQPEND (1 << 8) /* Request Pending (read-only) */ | ||
79 | #define DCSR_STOPSTATE (1 << 3) /* Stop State (read-only) */ | ||
80 | #define DCSR_ENDINTR (1 << 2) /* End Interrupt (read / write) */ | ||
81 | #define DCSR_STARTINTR (1 << 1) /* Start Interrupt (read / write) */ | ||
82 | #define DCSR_BUSERR (1 << 0) /* Bus Error Interrupt (read / write) */ | ||
83 | |||
84 | #if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx) | ||
85 | #define DCSR_EORIRQEN (1 << 28) /* End of Receive Interrupt Enable (R/W) */ | ||
86 | #define DCSR_EORJMPEN (1 << 27) /* Jump to next descriptor on EOR */ | ||
87 | #define DCSR_EORSTOPEN (1 << 26) /* STOP on an EOR */ | ||
88 | #define DCSR_SETCMPST (1 << 25) /* Set Descriptor Compare Status */ | ||
89 | #define DCSR_CLRCMPST (1 << 24) /* Clear Descriptor Compare Status */ | ||
90 | #define DCSR_CMPST (1 << 10) /* The Descriptor Compare Status */ | ||
91 | #define DCSR_EORINTR (1 << 9) /* The end of Receive */ | ||
92 | #endif | ||
93 | |||
94 | #define DALGN __REG(0x400000a0) /* DMA Alignment Register */ | ||
95 | #define DINT __REG(0x400000f0) /* DMA Interrupt Register */ | ||
96 | |||
97 | #define DRCMR(n) (*(((n) < 64) ? \ | ||
98 | &__REG2(0x40000100, ((n) & 0x3f) << 2) : \ | ||
99 | &__REG2(0x40001100, ((n) & 0x3f) << 2))) | ||
100 | |||
101 | #define DRCMR_MAPVLD (1 << 7) /* Map Valid (read / write) */ | ||
102 | #define DRCMR_CHLNUM 0x1f /* mask for Channel Number (read / write) */ | ||
103 | |||
104 | #define DDADR(x) __REG2(0x40000200, (x) << 4) | ||
105 | #define DSADR(x) __REG2(0x40000204, (x) << 4) | ||
106 | #define DTADR(x) __REG2(0x40000208, (x) << 4) | ||
107 | #define DCMD(x) __REG2(0x4000020c, (x) << 4) | ||
108 | |||
109 | #define DDADR_DESCADDR 0xfffffff0 /* Address of next descriptor (mask) */ | ||
110 | #define DDADR_STOP (1 << 0) /* Stop (read / write) */ | ||
111 | |||
112 | #define DCMD_INCSRCADDR (1 << 31) /* Source Address Increment Setting. */ | ||
113 | #define DCMD_INCTRGADDR (1 << 30) /* Target Address Increment Setting. */ | ||
114 | #define DCMD_FLOWSRC (1 << 29) /* Flow Control by the source. */ | ||
115 | #define DCMD_FLOWTRG (1 << 28) /* Flow Control by the target. */ | ||
116 | #define DCMD_STARTIRQEN (1 << 22) /* Start Interrupt Enable */ | ||
117 | #define DCMD_ENDIRQEN (1 << 21) /* End Interrupt Enable */ | ||
118 | #define DCMD_ENDIAN (1 << 18) /* Device Endian-ness. */ | ||
119 | #define DCMD_BURST8 (1 << 16) /* 8 byte burst */ | ||
120 | #define DCMD_BURST16 (2 << 16) /* 16 byte burst */ | ||
121 | #define DCMD_BURST32 (3 << 16) /* 32 byte burst */ | ||
122 | #define DCMD_WIDTH1 (1 << 14) /* 1 byte width */ | ||
123 | #define DCMD_WIDTH2 (2 << 14) /* 2 byte width (HalfWord) */ | ||
124 | #define DCMD_WIDTH4 (3 << 14) /* 4 byte width (Word) */ | ||
125 | #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */ | ||
126 | |||
127 | /* | 68 | /* |
128 | * Real Time Clock | 69 | * Real Time Clock |
129 | */ | 70 | */ |