Working SDHOST/FatFS, boot partition mounts, some other minor fixes too.
[rpi-open-firmware.git] / bcm2708_chip / axi_dma_lite11.h
1 // This file was generated by the create_regs script
2 #define DMA11_BASE 0x7e007b00
3 #define DMA11_CS HW_REGISTER_RW( 0x7e007b00 )
4 #define DMA11_CS_MASK 0xf0ff017f
5 #define DMA11_CS_WIDTH 32
6 #define DMA11_CS_RESET 0000000000
7 #define DMA11_CS_RESET_BITS 31:31
8 #define DMA11_CS_RESET_SET 0x80000000
9 #define DMA11_CS_RESET_CLR 0x7fffffff
10 #define DMA11_CS_RESET_MSB 31
11 #define DMA11_CS_RESET_LSB 31
12 #define DMA11_CS_ABORT_BITS 30:30
13 #define DMA11_CS_ABORT_SET 0x40000000
14 #define DMA11_CS_ABORT_CLR 0xbfffffff
15 #define DMA11_CS_ABORT_MSB 30
16 #define DMA11_CS_ABORT_LSB 30
17 #define DMA11_CS_DISDEBUG_BITS 29:29
18 #define DMA11_CS_DISDEBUG_SET 0x20000000
19 #define DMA11_CS_DISDEBUG_CLR 0xdfffffff
20 #define DMA11_CS_DISDEBUG_MSB 29
21 #define DMA11_CS_DISDEBUG_LSB 29
22 #define DMA11_CS_WAIT_FOR_OUTSTANDING_WRITES_BITS 28:28
23 #define DMA11_CS_WAIT_FOR_OUTSTANDING_WRITES_SET 0x10000000
24 #define DMA11_CS_WAIT_FOR_OUTSTANDING_WRITES_CLR 0xefffffff
25 #define DMA11_CS_WAIT_FOR_OUTSTANDING_WRITES_MSB 28
26 #define DMA11_CS_WAIT_FOR_OUTSTANDING_WRITES_LSB 28
27 #define DMA11_CS_PANIC_PRIORITY_BITS 23:20
28 #define DMA11_CS_PANIC_PRIORITY_SET 0x00f00000
29 #define DMA11_CS_PANIC_PRIORITY_CLR 0xff0fffff
30 #define DMA11_CS_PANIC_PRIORITY_MSB 23
31 #define DMA11_CS_PANIC_PRIORITY_LSB 20
32 #define DMA11_CS_PRIORITY_BITS 19:16
33 #define DMA11_CS_PRIORITY_SET 0x000f0000
34 #define DMA11_CS_PRIORITY_CLR 0xfff0ffff
35 #define DMA11_CS_PRIORITY_MSB 19
36 #define DMA11_CS_PRIORITY_LSB 16
37 #define DMA11_CS_ERROR_BITS 8:8
38 #define DMA11_CS_ERROR_SET 0x00000100
39 #define DMA11_CS_ERROR_CLR 0xfffffeff
40 #define DMA11_CS_ERROR_MSB 8
41 #define DMA11_CS_ERROR_LSB 8
42 #define DMA11_CS_WAITING_FOR_OUTSTANDING_WRITES_BITS 6:6
43 #define DMA11_CS_WAITING_FOR_OUTSTANDING_WRITES_SET 0x00000040
44 #define DMA11_CS_WAITING_FOR_OUTSTANDING_WRITES_CLR 0xffffffbf
45 #define DMA11_CS_WAITING_FOR_OUTSTANDING_WRITES_MSB 6
46 #define DMA11_CS_WAITING_FOR_OUTSTANDING_WRITES_LSB 6
47 #define DMA11_CS_DREQ_STOPS_DMA_BITS 5:5
48 #define DMA11_CS_DREQ_STOPS_DMA_SET 0x00000020
49 #define DMA11_CS_DREQ_STOPS_DMA_CLR 0xffffffdf
50 #define DMA11_CS_DREQ_STOPS_DMA_MSB 5
51 #define DMA11_CS_DREQ_STOPS_DMA_LSB 5
52 #define DMA11_CS_PAUSED_BITS 4:4
53 #define DMA11_CS_PAUSED_SET 0x00000010
54 #define DMA11_CS_PAUSED_CLR 0xffffffef
55 #define DMA11_CS_PAUSED_MSB 4
56 #define DMA11_CS_PAUSED_LSB 4
57 #define DMA11_CS_DREQ_BITS 3:3
58 #define DMA11_CS_DREQ_SET 0x00000008
59 #define DMA11_CS_DREQ_CLR 0xfffffff7
60 #define DMA11_CS_DREQ_MSB 3
61 #define DMA11_CS_DREQ_LSB 3
62 #define DMA11_CS_INT_BITS 2:2
63 #define DMA11_CS_INT_SET 0x00000004
64 #define DMA11_CS_INT_CLR 0xfffffffb
65 #define DMA11_CS_INT_MSB 2
66 #define DMA11_CS_INT_LSB 2
67 #define DMA11_CS_END_BITS 1:1
68 #define DMA11_CS_END_SET 0x00000002
69 #define DMA11_CS_END_CLR 0xfffffffd
70 #define DMA11_CS_END_MSB 1
71 #define DMA11_CS_END_LSB 1
72 #define DMA11_CS_ACTIVE_BITS 0:0
73 #define DMA11_CS_ACTIVE_SET 0x00000001
74 #define DMA11_CS_ACTIVE_CLR 0xfffffffe
75 #define DMA11_CS_ACTIVE_MSB 0
76 #define DMA11_CS_ACTIVE_LSB 0
77 #define DMA11_CONBLK_AD HW_REGISTER_RW( 0x7e007b04 )
78 #define DMA11_CONBLK_AD_MASK 0xffffffe0
79 #define DMA11_CONBLK_AD_WIDTH 32
80 #define DMA11_CONBLK_AD_RESET 0000000000
81 #define DMA11_CONBLK_AD_SCB_ADDR_BITS 31:5
82 #define DMA11_CONBLK_AD_SCB_ADDR_SET 0xffffffe0
83 #define DMA11_CONBLK_AD_SCB_ADDR_CLR 0x0000001f
84 #define DMA11_CONBLK_AD_SCB_ADDR_MSB 31
85 #define DMA11_CONBLK_AD_SCB_ADDR_LSB 5
86 #define DMA11_TI HW_REGISTER_RO( 0x7e007b08 )
87 #define DMA11_TI_MASK 0x03fffff9
88 #define DMA11_TI_WIDTH 26
89 #define DMA11_TI_WAITS_BITS 25:21
90 #define DMA11_TI_WAITS_SET 0x03e00000
91 #define DMA11_TI_WAITS_CLR 0xfc1fffff
92 #define DMA11_TI_WAITS_MSB 25
93 #define DMA11_TI_WAITS_LSB 21
94 #define DMA11_TI_PERMAP_BITS 20:16
95 #define DMA11_TI_PERMAP_SET 0x001f0000
96 #define DMA11_TI_PERMAP_CLR 0xffe0ffff
97 #define DMA11_TI_PERMAP_MSB 20
98 #define DMA11_TI_PERMAP_LSB 16
99 #define DMA11_TI_BURST_LENGTH_BITS 15:12
100 #define DMA11_TI_BURST_LENGTH_SET 0x0000f000
101 #define DMA11_TI_BURST_LENGTH_CLR 0xffff0fff
102 #define DMA11_TI_BURST_LENGTH_MSB 15
103 #define DMA11_TI_BURST_LENGTH_LSB 12
104 #define DMA11_TI_SRC_IGNORE_BITS 11:11
105 #define DMA11_TI_SRC_IGNORE_SET 0x00000800
106 #define DMA11_TI_SRC_IGNORE_CLR 0xfffff7ff
107 #define DMA11_TI_SRC_IGNORE_MSB 11
108 #define DMA11_TI_SRC_IGNORE_LSB 11
109 #define DMA11_TI_SRC_DREQ_BITS 10:10
110 #define DMA11_TI_SRC_DREQ_SET 0x00000400
111 #define DMA11_TI_SRC_DREQ_CLR 0xfffffbff
112 #define DMA11_TI_SRC_DREQ_MSB 10
113 #define DMA11_TI_SRC_DREQ_LSB 10
114 #define DMA11_TI_SRC_WIDTH_BITS 9:9
115 #define DMA11_TI_SRC_WIDTH_SET 0x00000200
116 #define DMA11_TI_SRC_WIDTH_CLR 0xfffffdff
117 #define DMA11_TI_SRC_WIDTH_MSB 9
118 #define DMA11_TI_SRC_WIDTH_LSB 9
119 #define DMA11_TI_SRC_INC_BITS 8:8
120 #define DMA11_TI_SRC_INC_SET 0x00000100
121 #define DMA11_TI_SRC_INC_CLR 0xfffffeff
122 #define DMA11_TI_SRC_INC_MSB 8
123 #define DMA11_TI_SRC_INC_LSB 8
124 #define DMA11_TI_DEST_IGNORE_BITS 7:7
125 #define DMA11_TI_DEST_IGNORE_SET 0x00000080
126 #define DMA11_TI_DEST_IGNORE_CLR 0xffffff7f
127 #define DMA11_TI_DEST_IGNORE_MSB 7
128 #define DMA11_TI_DEST_IGNORE_LSB 7
129 #define DMA11_TI_DEST_DREQ_BITS 6:6
130 #define DMA11_TI_DEST_DREQ_SET 0x00000040
131 #define DMA11_TI_DEST_DREQ_CLR 0xffffffbf
132 #define DMA11_TI_DEST_DREQ_MSB 6
133 #define DMA11_TI_DEST_DREQ_LSB 6
134 #define DMA11_TI_DEST_WIDTH_BITS 5:5
135 #define DMA11_TI_DEST_WIDTH_SET 0x00000020
136 #define DMA11_TI_DEST_WIDTH_CLR 0xffffffdf
137 #define DMA11_TI_DEST_WIDTH_MSB 5
138 #define DMA11_TI_DEST_WIDTH_LSB 5
139 #define DMA11_TI_DEST_INC_BITS 4:4
140 #define DMA11_TI_DEST_INC_SET 0x00000010
141 #define DMA11_TI_DEST_INC_CLR 0xffffffef
142 #define DMA11_TI_DEST_INC_MSB 4
143 #define DMA11_TI_DEST_INC_LSB 4
144 #define DMA11_TI_WAIT_RESP_BITS 3:3
145 #define DMA11_TI_WAIT_RESP_SET 0x00000008
146 #define DMA11_TI_WAIT_RESP_CLR 0xfffffff7
147 #define DMA11_TI_WAIT_RESP_MSB 3
148 #define DMA11_TI_WAIT_RESP_LSB 3
149 #define DMA11_TI_INTEN_BITS 0:0
150 #define DMA11_TI_INTEN_SET 0x00000001
151 #define DMA11_TI_INTEN_CLR 0xfffffffe
152 #define DMA11_TI_INTEN_MSB 0
153 #define DMA11_TI_INTEN_LSB 0
154 #define DMA11_SOURCE_AD HW_REGISTER_RO( 0x7e007b0c )
155 #define DMA11_SOURCE_AD_MASK 0xffffffff
156 #define DMA11_SOURCE_AD_WIDTH 32
157 #define DMA11_SOURCE_AD_S_ADDR_BITS 31:0
158 #define DMA11_SOURCE_AD_S_ADDR_SET 0xffffffff
159 #define DMA11_SOURCE_AD_S_ADDR_CLR 0x00000000
160 #define DMA11_SOURCE_AD_S_ADDR_MSB 31
161 #define DMA11_SOURCE_AD_S_ADDR_LSB 0
162 #define DMA11_DEST_AD HW_REGISTER_RO( 0x7e007b10 )
163 #define DMA11_DEST_AD_MASK 0xffffffff
164 #define DMA11_DEST_AD_WIDTH 32
165 #define DMA11_DEST_AD_D_ADDR_BITS 31:0
166 #define DMA11_DEST_AD_D_ADDR_SET 0xffffffff
167 #define DMA11_DEST_AD_D_ADDR_CLR 0x00000000
168 #define DMA11_DEST_AD_D_ADDR_MSB 31
169 #define DMA11_DEST_AD_D_ADDR_LSB 0
170 #define DMA11_TXFR_LEN HW_REGISTER_RO( 0x7e007b14 )
171 #define DMA11_TXFR_LEN_MASK 0x0000ffff
172 #define DMA11_TXFR_LEN_WIDTH 16
173 #define DMA11_TXFR_LEN_XLENGTH_BITS 15:0
174 #define DMA11_TXFR_LEN_XLENGTH_SET 0x0000ffff
175 #define DMA11_TXFR_LEN_XLENGTH_CLR 0xffff0000
176 #define DMA11_TXFR_LEN_XLENGTH_MSB 15
177 #define DMA11_TXFR_LEN_XLENGTH_LSB 0
178 #define DMA11_NEXTCONBK HW_REGISTER_RO( 0x7e007b1c )
179 #define DMA11_NEXTCONBK_MASK 0xffffffe0
180 #define DMA11_NEXTCONBK_WIDTH 32
181 #define DMA11_NEXTCONBK_ADDR_BITS 31:5
182 #define DMA11_NEXTCONBK_ADDR_SET 0xffffffe0
183 #define DMA11_NEXTCONBK_ADDR_CLR 0x0000001f
184 #define DMA11_NEXTCONBK_ADDR_MSB 31
185 #define DMA11_NEXTCONBK_ADDR_LSB 5
186 #define DMA11_DEBUG HW_REGISTER_RW( 0x7e007b20 )
187 #define DMA11_DEBUG_MASK 0x1ffffff7
188 #define DMA11_DEBUG_WIDTH 29
189 #define DMA11_DEBUG_RESET 0000000000
190 #define DMA11_DEBUG_LITE_BITS 28:28
191 #define DMA11_DEBUG_LITE_SET 0x10000000
192 #define DMA11_DEBUG_LITE_CLR 0xefffffff
193 #define DMA11_DEBUG_LITE_MSB 28
194 #define DMA11_DEBUG_LITE_LSB 28
195 #define DMA11_DEBUG_VERSION_BITS 27:25
196 #define DMA11_DEBUG_VERSION_SET 0x0e000000
197 #define DMA11_DEBUG_VERSION_CLR 0xf1ffffff
198 #define DMA11_DEBUG_VERSION_MSB 27
199 #define DMA11_DEBUG_VERSION_LSB 25
200 #define DMA11_DEBUG_DMA_STATE_BITS 24:16
201 #define DMA11_DEBUG_DMA_STATE_SET 0x01ff0000
202 #define DMA11_DEBUG_DMA_STATE_CLR 0xfe00ffff
203 #define DMA11_DEBUG_DMA_STATE_MSB 24
204 #define DMA11_DEBUG_DMA_STATE_LSB 16
205 #define DMA11_DEBUG_DMA_ID_BITS 15:8
206 #define DMA11_DEBUG_DMA_ID_SET 0x0000ff00
207 #define DMA11_DEBUG_DMA_ID_CLR 0xffff00ff
208 #define DMA11_DEBUG_DMA_ID_MSB 15
209 #define DMA11_DEBUG_DMA_ID_LSB 8
210 #define DMA11_DEBUG_OUTSTANDING_WRITES_BITS 7:4
211 #define DMA11_DEBUG_OUTSTANDING_WRITES_SET 0x000000f0
212 #define DMA11_DEBUG_OUTSTANDING_WRITES_CLR 0xffffff0f
213 #define DMA11_DEBUG_OUTSTANDING_WRITES_MSB 7
214 #define DMA11_DEBUG_OUTSTANDING_WRITES_LSB 4
215 #define DMA11_DEBUG_READ_ERROR_BITS 2:2
216 #define DMA11_DEBUG_READ_ERROR_SET 0x00000004
217 #define DMA11_DEBUG_READ_ERROR_CLR 0xfffffffb
218 #define DMA11_DEBUG_READ_ERROR_MSB 2
219 #define DMA11_DEBUG_READ_ERROR_LSB 2
220 #define DMA11_DEBUG_FIFO_ERROR_BITS 1:1
221 #define DMA11_DEBUG_FIFO_ERROR_SET 0x00000002
222 #define DMA11_DEBUG_FIFO_ERROR_CLR 0xfffffffd
223 #define DMA11_DEBUG_FIFO_ERROR_MSB 1
224 #define DMA11_DEBUG_FIFO_ERROR_LSB 1
225 #define DMA11_DEBUG_READ_LAST_NOT_SET_ERROR_BITS 0:0
226 #define DMA11_DEBUG_READ_LAST_NOT_SET_ERROR_SET 0x00000001
227 #define DMA11_DEBUG_READ_LAST_NOT_SET_ERROR_CLR 0xfffffffe
228 #define DMA11_DEBUG_READ_LAST_NOT_SET_ERROR_MSB 0
229 #define DMA11_DEBUG_READ_LAST_NOT_SET_ERROR_LSB 0
This page took 0.094724 seconds and 4 git commands to generate.