diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-13 19:03:33 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-15 22:27:34 +0200 |
commit | 017667c2dc9843eb5082e991f421c773636dcf36 (patch) | |
tree | 60432008dd3bc012ac60cbfa771305f6d894dd84 /firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h | |
parent | 97b9ade63945fd8b8261fb0cf1dd0aa225c1a319 (diff) | |
download | rockbox-017667c2dc9843eb5082e991f421c773636dcf36.tar.gz rockbox-017667c2dc9843eb5082e991f421c773636dcf36.zip |
imx233: generate register headers for stmp3600, stmp3700 and imx233
Change-Id: Ia87086f4f4f4ecbb844ffd869407b14ea2509934
Diffstat (limited to 'firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h')
-rw-r--r-- | firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h | 348 |
1 files changed, 348 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h b/firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h new file mode 100644 index 0000000000..130ab2ca17 --- /dev/null +++ b/firmware/target/arm/imx233/regs/stmp3600/regs-icoll.h | |||
@@ -0,0 +1,348 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * This file was automatically generated by headergen, DO NOT EDIT it. | ||
9 | * headergen version: 2.1.7 | ||
10 | * XML versions: stmp3600:2.3.0 | ||
11 | * | ||
12 | * Copyright (C) 2013 by Amaury Pouly | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | #ifndef __HEADERGEN__STMP3600__ICOLL__H__ | ||
24 | #define __HEADERGEN__STMP3600__ICOLL__H__ | ||
25 | |||
26 | #define REGS_ICOLL_BASE (0x80000000) | ||
27 | |||
28 | #define REGS_ICOLL_VERSION "2.3.0" | ||
29 | |||
30 | /** | ||
31 | * Register: HW_ICOLL_VECTOR | ||
32 | * Address: 0 | ||
33 | * SCT: yes | ||
34 | */ | ||
35 | #define HW_ICOLL_VECTOR (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x0 + 0x0)) | ||
36 | #define HW_ICOLL_VECTOR_SET (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x0 + 0x4)) | ||
37 | #define HW_ICOLL_VECTOR_CLR (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x0 + 0x8)) | ||
38 | #define HW_ICOLL_VECTOR_TOG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x0 + 0xc)) | ||
39 | #define BP_ICOLL_VECTOR_IRQVECTOR 2 | ||
40 | #define BM_ICOLL_VECTOR_IRQVECTOR 0xfffffffc | ||
41 | #define BF_ICOLL_VECTOR_IRQVECTOR(v) (((v) << 2) & 0xfffffffc) | ||
42 | |||
43 | /** | ||
44 | * Register: HW_ICOLL_LEVELACK | ||
45 | * Address: 0x10 | ||
46 | * SCT: no | ||
47 | */ | ||
48 | #define HW_ICOLL_LEVELACK (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x10)) | ||
49 | #define BP_ICOLL_LEVELACK_IRQLEVELACK 0 | ||
50 | #define BM_ICOLL_LEVELACK_IRQLEVELACK 0xf | ||
51 | #define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL0 0x1 | ||
52 | #define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL1 0x2 | ||
53 | #define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL2 0x4 | ||
54 | #define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL3 0x8 | ||
55 | #define BF_ICOLL_LEVELACK_IRQLEVELACK(v) (((v) << 0) & 0xf) | ||
56 | #define BF_ICOLL_LEVELACK_IRQLEVELACK_V(v) ((BV_ICOLL_LEVELACK_IRQLEVELACK__##v << 0) & 0xf) | ||
57 | |||
58 | /** | ||
59 | * Register: HW_ICOLL_CTRL | ||
60 | * Address: 0x20 | ||
61 | * SCT: yes | ||
62 | */ | ||
63 | #define HW_ICOLL_CTRL (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x20 + 0x0)) | ||
64 | #define HW_ICOLL_CTRL_SET (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x20 + 0x4)) | ||
65 | #define HW_ICOLL_CTRL_CLR (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x20 + 0x8)) | ||
66 | #define HW_ICOLL_CTRL_TOG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x20 + 0xc)) | ||
67 | #define BP_ICOLL_CTRL_SFTRST 31 | ||
68 | #define BM_ICOLL_CTRL_SFTRST 0x80000000 | ||
69 | #define BV_ICOLL_CTRL_SFTRST__RUN 0x0 | ||
70 | #define BV_ICOLL_CTRL_SFTRST__IN_RESET 0x1 | ||
71 | #define BF_ICOLL_CTRL_SFTRST(v) (((v) << 31) & 0x80000000) | ||
72 | #define BF_ICOLL_CTRL_SFTRST_V(v) ((BV_ICOLL_CTRL_SFTRST__##v << 31) & 0x80000000) | ||
73 | #define BP_ICOLL_CTRL_CLKGATE 30 | ||
74 | #define BM_ICOLL_CTRL_CLKGATE 0x40000000 | ||
75 | #define BV_ICOLL_CTRL_CLKGATE__RUN 0x0 | ||
76 | #define BV_ICOLL_CTRL_CLKGATE__NO_CLOCKS 0x1 | ||
77 | #define BF_ICOLL_CTRL_CLKGATE(v) (((v) << 30) & 0x40000000) | ||
78 | #define BF_ICOLL_CTRL_CLKGATE_V(v) ((BV_ICOLL_CTRL_CLKGATE__##v << 30) & 0x40000000) | ||
79 | #define BP_ICOLL_CTRL_ENABLE2FIQ35 27 | ||
80 | #define BM_ICOLL_CTRL_ENABLE2FIQ35 0x8000000 | ||
81 | #define BV_ICOLL_CTRL_ENABLE2FIQ35__DISABLE 0x0 | ||
82 | #define BV_ICOLL_CTRL_ENABLE2FIQ35__ENABLE 0x1 | ||
83 | #define BF_ICOLL_CTRL_ENABLE2FIQ35(v) (((v) << 27) & 0x8000000) | ||
84 | #define BF_ICOLL_CTRL_ENABLE2FIQ35_V(v) ((BV_ICOLL_CTRL_ENABLE2FIQ35__##v << 27) & 0x8000000) | ||
85 | #define BP_ICOLL_CTRL_ENABLE2FIQ34 26 | ||
86 | #define BM_ICOLL_CTRL_ENABLE2FIQ34 0x4000000 | ||
87 | #define BV_ICOLL_CTRL_ENABLE2FIQ34__DISABLE 0x0 | ||
88 | #define BV_ICOLL_CTRL_ENABLE2FIQ34__ENABLE 0x1 | ||
89 | #define BF_ICOLL_CTRL_ENABLE2FIQ34(v) (((v) << 26) & 0x4000000) | ||
90 | #define BF_ICOLL_CTRL_ENABLE2FIQ34_V(v) ((BV_ICOLL_CTRL_ENABLE2FIQ34__##v << 26) & 0x4000000) | ||
91 | #define BP_ICOLL_CTRL_ENABLE2FIQ33 25 | ||
92 | #define BM_ICOLL_CTRL_ENABLE2FIQ33 0x2000000 | ||
93 | #define BV_ICOLL_CTRL_ENABLE2FIQ33__DISABLE 0x0 | ||
94 | #define BV_ICOLL_CTRL_ENABLE2FIQ33__ENABLE 0x1 | ||
95 | #define BF_ICOLL_CTRL_ENABLE2FIQ33(v) (((v) << 25) & 0x2000000) | ||
96 | #define BF_ICOLL_CTRL_ENABLE2FIQ33_V(v) ((BV_ICOLL_CTRL_ENABLE2FIQ33__##v << 25) & 0x2000000) | ||
97 | #define BP_ICOLL_CTRL_ENABLE2FIQ32 24 | ||
98 | #define BM_ICOLL_CTRL_ENABLE2FIQ32 0x1000000 | ||
99 | #define BV_ICOLL_CTRL_ENABLE2FIQ32__DISABLE 0x0 | ||
100 | #define BV_ICOLL_CTRL_ENABLE2FIQ32__ENABLE 0x1 | ||
101 | #define BF_ICOLL_CTRL_ENABLE2FIQ32(v) (((v) << 24) & 0x1000000) | ||
102 | #define BF_ICOLL_CTRL_ENABLE2FIQ32_V(v) ((BV_ICOLL_CTRL_ENABLE2FIQ32__##v << 24) & 0x1000000) | ||
103 | #define BP_ICOLL_CTRL_BYPASS_FSM 20 | ||
104 | #define BM_ICOLL_CTRL_BYPASS_FSM 0x100000 | ||
105 | #define BV_ICOLL_CTRL_BYPASS_FSM__NORMAL 0x0 | ||
106 | #define BV_ICOLL_CTRL_BYPASS_FSM__BYPASS 0x1 | ||
107 | #define BF_ICOLL_CTRL_BYPASS_FSM(v) (((v) << 20) & 0x100000) | ||
108 | #define BF_ICOLL_CTRL_BYPASS_FSM_V(v) ((BV_ICOLL_CTRL_BYPASS_FSM__##v << 20) & 0x100000) | ||
109 | #define BP_ICOLL_CTRL_NO_NESTING 19 | ||
110 | #define BM_ICOLL_CTRL_NO_NESTING 0x80000 | ||
111 | #define BV_ICOLL_CTRL_NO_NESTING__NORMAL 0x0 | ||
112 | #define BV_ICOLL_CTRL_NO_NESTING__NO_NEST 0x1 | ||
113 | #define BF_ICOLL_CTRL_NO_NESTING(v) (((v) << 19) & 0x80000) | ||
114 | #define BF_ICOLL_CTRL_NO_NESTING_V(v) ((BV_ICOLL_CTRL_NO_NESTING__##v << 19) & 0x80000) | ||
115 | #define BP_ICOLL_CTRL_ARM_RSE_MODE 18 | ||
116 | #define BM_ICOLL_CTRL_ARM_RSE_MODE 0x40000 | ||
117 | #define BV_ICOLL_CTRL_ARM_RSE_MODE__MUST_WRITE 0x0 | ||
118 | #define BV_ICOLL_CTRL_ARM_RSE_MODE__READ_SIDE_EFFECT 0x1 | ||
119 | #define BF_ICOLL_CTRL_ARM_RSE_MODE(v) (((v) << 18) & 0x40000) | ||
120 | #define BF_ICOLL_CTRL_ARM_RSE_MODE_V(v) ((BV_ICOLL_CTRL_ARM_RSE_MODE__##v << 18) & 0x40000) | ||
121 | #define BP_ICOLL_CTRL_FIQ_FINAL_ENABLE 17 | ||
122 | #define BM_ICOLL_CTRL_FIQ_FINAL_ENABLE 0x20000 | ||
123 | #define BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__DISABLE 0x0 | ||
124 | #define BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__ENABLE 0x1 | ||
125 | #define BF_ICOLL_CTRL_FIQ_FINAL_ENABLE(v) (((v) << 17) & 0x20000) | ||
126 | #define BF_ICOLL_CTRL_FIQ_FINAL_ENABLE_V(v) ((BV_ICOLL_CTRL_FIQ_FINAL_ENABLE__##v << 17) & 0x20000) | ||
127 | #define BP_ICOLL_CTRL_IRQ_FINAL_ENABLE 16 | ||
128 | #define BM_ICOLL_CTRL_IRQ_FINAL_ENABLE 0x10000 | ||
129 | #define BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__DISABLE 0x0 | ||
130 | #define BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__ENABLE 0x1 | ||
131 | #define BF_ICOLL_CTRL_IRQ_FINAL_ENABLE(v) (((v) << 16) & 0x10000) | ||
132 | #define BF_ICOLL_CTRL_IRQ_FINAL_ENABLE_V(v) ((BV_ICOLL_CTRL_IRQ_FINAL_ENABLE__##v << 16) & 0x10000) | ||
133 | |||
134 | /** | ||
135 | * Register: HW_ICOLL_STAT | ||
136 | * Address: 0x30 | ||
137 | * SCT: no | ||
138 | */ | ||
139 | #define HW_ICOLL_STAT (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x30)) | ||
140 | #define BP_ICOLL_STAT_VECTOR_NUMBER 0 | ||
141 | #define BM_ICOLL_STAT_VECTOR_NUMBER 0x3f | ||
142 | #define BF_ICOLL_STAT_VECTOR_NUMBER(v) (((v) << 0) & 0x3f) | ||
143 | |||
144 | /** | ||
145 | * Register: HW_ICOLL_VBASE | ||
146 | * Address: 0x160 | ||
147 | * SCT: yes | ||
148 | */ | ||
149 | #define HW_ICOLL_VBASE (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x160 + 0x0)) | ||
150 | #define HW_ICOLL_VBASE_SET (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x160 + 0x4)) | ||
151 | #define HW_ICOLL_VBASE_CLR (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x160 + 0x8)) | ||
152 | #define HW_ICOLL_VBASE_TOG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x160 + 0xc)) | ||
153 | #define BP_ICOLL_VBASE_TABLE_ADDRESS 2 | ||
154 | #define BM_ICOLL_VBASE_TABLE_ADDRESS 0xfffffffc | ||
155 | #define BF_ICOLL_VBASE_TABLE_ADDRESS(v) (((v) << 2) & 0xfffffffc) | ||
156 | |||
157 | /** | ||
158 | * Register: HW_ICOLL_DEBUG | ||
159 | * Address: 0x170 | ||
160 | * SCT: no | ||
161 | */ | ||
162 | #define HW_ICOLL_DEBUG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x170)) | ||
163 | #define BP_ICOLL_DEBUG_INSERVICE 28 | ||
164 | #define BM_ICOLL_DEBUG_INSERVICE 0xf0000000 | ||
165 | #define BV_ICOLL_DEBUG_INSERVICE__LEVEL0 0x1 | ||
166 | #define BV_ICOLL_DEBUG_INSERVICE__LEVEL1 0x2 | ||
167 | #define BV_ICOLL_DEBUG_INSERVICE__LEVEL2 0x4 | ||
168 | #define BV_ICOLL_DEBUG_INSERVICE__LEVEL3 0x8 | ||
169 | #define BF_ICOLL_DEBUG_INSERVICE(v) (((v) << 28) & 0xf0000000) | ||
170 | #define BF_ICOLL_DEBUG_INSERVICE_V(v) ((BV_ICOLL_DEBUG_INSERVICE__##v << 28) & 0xf0000000) | ||
171 | #define BP_ICOLL_DEBUG_LEVEL_REQUESTS 24 | ||
172 | #define BM_ICOLL_DEBUG_LEVEL_REQUESTS 0xf000000 | ||
173 | #define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL0 0x1 | ||
174 | #define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL1 0x2 | ||
175 | #define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL2 0x4 | ||
176 | #define BV_ICOLL_DEBUG_LEVEL_REQUESTS__LEVEL3 0x8 | ||
177 | #define BF_ICOLL_DEBUG_LEVEL_REQUESTS(v) (((v) << 24) & 0xf000000) | ||
178 | #define BF_ICOLL_DEBUG_LEVEL_REQUESTS_V(v) ((BV_ICOLL_DEBUG_LEVEL_REQUESTS__##v << 24) & 0xf000000) | ||
179 | #define BP_ICOLL_DEBUG_REQUESTS_BY_LEVEL 20 | ||
180 | #define BM_ICOLL_DEBUG_REQUESTS_BY_LEVEL 0xf00000 | ||
181 | #define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL0 0x1 | ||
182 | #define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL1 0x2 | ||
183 | #define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL2 0x4 | ||
184 | #define BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__LEVEL3 0x8 | ||
185 | #define BF_ICOLL_DEBUG_REQUESTS_BY_LEVEL(v) (((v) << 20) & 0xf00000) | ||
186 | #define BF_ICOLL_DEBUG_REQUESTS_BY_LEVEL_V(v) ((BV_ICOLL_DEBUG_REQUESTS_BY_LEVEL__##v << 20) & 0xf00000) | ||
187 | #define BP_ICOLL_DEBUG_FIQ 17 | ||
188 | #define BM_ICOLL_DEBUG_FIQ 0x20000 | ||
189 | #define BV_ICOLL_DEBUG_FIQ__NO_FIQ_REQUESTED 0x0 | ||
190 | #define BV_ICOLL_DEBUG_FIQ__FIQ_REQUESTED 0x1 | ||
191 | #define BF_ICOLL_DEBUG_FIQ(v) (((v) << 17) & 0x20000) | ||
192 | #define BF_ICOLL_DEBUG_FIQ_V(v) ((BV_ICOLL_DEBUG_FIQ__##v << 17) & 0x20000) | ||
193 | #define BP_ICOLL_DEBUG_IRQ 16 | ||
194 | #define BM_ICOLL_DEBUG_IRQ 0x10000 | ||
195 | #define BV_ICOLL_DEBUG_IRQ__NO_IRQ_REQUESTED 0x0 | ||
196 | #define BV_ICOLL_DEBUG_IRQ__IRQ_REQUESTED 0x1 | ||
197 | #define BF_ICOLL_DEBUG_IRQ(v) (((v) << 16) & 0x10000) | ||
198 | #define BF_ICOLL_DEBUG_IRQ_V(v) ((BV_ICOLL_DEBUG_IRQ__##v << 16) & 0x10000) | ||
199 | #define BP_ICOLL_DEBUG_VECTOR_FSM 0 | ||
200 | #define BM_ICOLL_DEBUG_VECTOR_FSM 0x3ff | ||
201 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_IDLE 0x0 | ||
202 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE1 0x1 | ||
203 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE2 0x2 | ||
204 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_PENDING 0x4 | ||
205 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE3 0x8 | ||
206 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE4 0x10 | ||
207 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING1 0x20 | ||
208 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING2 0x40 | ||
209 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_ISR_RUNNING3 0x80 | ||
210 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE5 0x100 | ||
211 | #define BV_ICOLL_DEBUG_VECTOR_FSM__FSM_MULTICYCLE6 0x200 | ||
212 | #define BF_ICOLL_DEBUG_VECTOR_FSM(v) (((v) << 0) & 0x3ff) | ||
213 | #define BF_ICOLL_DEBUG_VECTOR_FSM_V(v) ((BV_ICOLL_DEBUG_VECTOR_FSM__##v << 0) & 0x3ff) | ||
214 | |||
215 | /** | ||
216 | * Register: HW_ICOLL_DBGFLAG | ||
217 | * Address: 0x1a0 | ||
218 | * SCT: yes | ||
219 | */ | ||
220 | #define HW_ICOLL_DBGFLAG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x1a0 + 0x0)) | ||
221 | #define HW_ICOLL_DBGFLAG_SET (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x1a0 + 0x4)) | ||
222 | #define HW_ICOLL_DBGFLAG_CLR (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x1a0 + 0x8)) | ||
223 | #define HW_ICOLL_DBGFLAG_TOG (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x1a0 + 0xc)) | ||
224 | #define BP_ICOLL_DBGFLAG_FLAG 0 | ||
225 | #define BM_ICOLL_DBGFLAG_FLAG 0xffff | ||
226 | #define BF_ICOLL_DBGFLAG_FLAG(v) (((v) << 0) & 0xffff) | ||
227 | |||
228 | /** | ||
229 | * Register: HW_ICOLL_DBGREQUESTn | ||
230 | * Address: 0x1b0+n*0x10 | ||
231 | * SCT: no | ||
232 | */ | ||
233 | #define HW_ICOLL_DBGREQUESTn(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x1b0+(n)*0x10)) | ||
234 | #define BP_ICOLL_DBGREQUESTn_BITS 0 | ||
235 | #define BM_ICOLL_DBGREQUESTn_BITS 0xffffffff | ||
236 | #define BF_ICOLL_DBGREQUESTn_BITS(v) (((v) << 0) & 0xffffffff) | ||
237 | |||
238 | /** | ||
239 | * Register: HW_ICOLL_RAWn | ||
240 | * Address: 0x40+n*0x10 | ||
241 | * SCT: no | ||
242 | */ | ||
243 | #define HW_ICOLL_RAWn(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x40+(n)*0x10)) | ||
244 | #define BP_ICOLL_RAWn_RAW_IRQS 0 | ||
245 | #define BM_ICOLL_RAWn_RAW_IRQS 0xffffffff | ||
246 | #define BF_ICOLL_RAWn_RAW_IRQS(v) (((v) << 0) & 0xffffffff) | ||
247 | |||
248 | /** | ||
249 | * Register: HW_ICOLL_DBGREADn | ||
250 | * Address: 0x180+n*0x10 | ||
251 | * SCT: no | ||
252 | */ | ||
253 | #define HW_ICOLL_DBGREADn(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x180+(n)*0x10)) | ||
254 | #define BP_ICOLL_DBGREADn_VALUE 0 | ||
255 | #define BM_ICOLL_DBGREADn_VALUE 0xffffffff | ||
256 | #define BF_ICOLL_DBGREADn_VALUE(v) (((v) << 0) & 0xffffffff) | ||
257 | |||
258 | /** | ||
259 | * Register: HW_ICOLL_PRIORITYn | ||
260 | * Address: 0x60+n*0x10 | ||
261 | * SCT: yes | ||
262 | */ | ||
263 | #define HW_ICOLL_PRIORITYn(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x60+(n)*0x10 + 0x0)) | ||
264 | #define HW_ICOLL_PRIORITYn_SET(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x60+(n)*0x10 + 0x4)) | ||
265 | #define HW_ICOLL_PRIORITYn_CLR(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x60+(n)*0x10 + 0x8)) | ||
266 | #define HW_ICOLL_PRIORITYn_TOG(n) (*(volatile unsigned long *)(REGS_ICOLL_BASE + 0x60+(n)*0x10 + 0xc)) | ||
267 | #define BP_ICOLL_PRIORITYn_SOFTIRQ3 27 | ||
268 | #define BM_ICOLL_PRIORITYn_SOFTIRQ3 0x8000000 | ||
269 | #define BV_ICOLL_PRIORITYn_SOFTIRQ3__NO_INTERRUPT 0x0 | ||
270 | #define BV_ICOLL_PRIORITYn_SOFTIRQ3__FORCE_INTERRUPT 0x1 | ||
271 | #define BF_ICOLL_PRIORITYn_SOFTIRQ3(v) (((v) << 27) & 0x8000000) | ||
272 | #define BF_ICOLL_PRIORITYn_SOFTIRQ3_V(v) ((BV_ICOLL_PRIORITYn_SOFTIRQ3__##v << 27) & 0x8000000) | ||
273 | #define BP_ICOLL_PRIORITYn_ENABLE3 26 | ||
274 | #define BM_ICOLL_PRIORITYn_ENABLE3 0x4000000 | ||
275 | #define BV_ICOLL_PRIORITYn_ENABLE3__DISABLE 0x0 | ||
276 | #define BV_ICOLL_PRIORITYn_ENABLE3__ENABLE 0x1 | ||
277 | #define BF_ICOLL_PRIORITYn_ENABLE3(v) (((v) << 26) & 0x4000000) | ||
278 | #define BF_ICOLL_PRIORITYn_ENABLE3_V(v) ((BV_ICOLL_PRIORITYn_ENABLE3__##v << 26) & 0x4000000) | ||
279 | #define BP_ICOLL_PRIORITYn_PRIORITY3 24 | ||
280 | #define BM_ICOLL_PRIORITYn_PRIORITY3 0x3000000 | ||
281 | #define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL0 0x0 | ||
282 | #define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL1 0x1 | ||
283 | #define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL2 0x2 | ||
284 | #define BV_ICOLL_PRIORITYn_PRIORITY3__LEVEL3 0x3 | ||
285 | #define BF_ICOLL_PRIORITYn_PRIORITY3(v) (((v) << 24) & 0x3000000) | ||
286 | #define BF_ICOLL_PRIORITYn_PRIORITY3_V(v) ((BV_ICOLL_PRIORITYn_PRIORITY3__##v << 24) & 0x3000000) | ||
287 | #define BP_ICOLL_PRIORITYn_SOFTIRQ2 19 | ||
288 | #define BM_ICOLL_PRIORITYn_SOFTIRQ2 0x80000 | ||
289 | #define BV_ICOLL_PRIORITYn_SOFTIRQ2__NO_INTERRUPT 0x0 | ||
290 | #define BV_ICOLL_PRIORITYn_SOFTIRQ2__FORCE_INTERRUPT 0x1 | ||
291 | #define BF_ICOLL_PRIORITYn_SOFTIRQ2(v) (((v) << 19) & 0x80000) | ||
292 | #define BF_ICOLL_PRIORITYn_SOFTIRQ2_V(v) ((BV_ICOLL_PRIORITYn_SOFTIRQ2__##v << 19) & 0x80000) | ||
293 | #define BP_ICOLL_PRIORITYn_ENABLE2 18 | ||
294 | #define BM_ICOLL_PRIORITYn_ENABLE2 0x40000 | ||
295 | #define BV_ICOLL_PRIORITYn_ENABLE2__DISABLE 0x0 | ||
296 | #define BV_ICOLL_PRIORITYn_ENABLE2__ENABLE 0x1 | ||
297 | #define BF_ICOLL_PRIORITYn_ENABLE2(v) (((v) << 18) & 0x40000) | ||
298 | #define BF_ICOLL_PRIORITYn_ENABLE2_V(v) ((BV_ICOLL_PRIORITYn_ENABLE2__##v << 18) & 0x40000) | ||
299 | #define BP_ICOLL_PRIORITYn_PRIORITY2 16 | ||
300 | #define BM_ICOLL_PRIORITYn_PRIORITY2 0x30000 | ||
301 | #define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL0 0x0 | ||
302 | #define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL1 0x1 | ||
303 | #define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL2 0x2 | ||
304 | #define BV_ICOLL_PRIORITYn_PRIORITY2__LEVEL3 0x3 | ||
305 | #define BF_ICOLL_PRIORITYn_PRIORITY2(v) (((v) << 16) & 0x30000) | ||
306 | #define BF_ICOLL_PRIORITYn_PRIORITY2_V(v) ((BV_ICOLL_PRIORITYn_PRIORITY2__##v << 16) & 0x30000) | ||
307 | #define BP_ICOLL_PRIORITYn_SOFTIRQ1 11 | ||
308 | #define BM_ICOLL_PRIORITYn_SOFTIRQ1 0x800 | ||
309 | #define BV_ICOLL_PRIORITYn_SOFTIRQ1__NO_INTERRUPT 0x0 | ||
310 | #define BV_ICOLL_PRIORITYn_SOFTIRQ1__FORCE_INTERRUPT 0x1 | ||
311 | #define BF_ICOLL_PRIORITYn_SOFTIRQ1(v) (((v) << 11) & 0x800) | ||
312 | #define BF_ICOLL_PRIORITYn_SOFTIRQ1_V(v) ((BV_ICOLL_PRIORITYn_SOFTIRQ1__##v << 11) & 0x800) | ||
313 | #define BP_ICOLL_PRIORITYn_ENABLE1 10 | ||
314 | #define BM_ICOLL_PRIORITYn_ENABLE1 0x400 | ||
315 | #define BV_ICOLL_PRIORITYn_ENABLE1__DISABLE 0x0 | ||
316 | #define BV_ICOLL_PRIORITYn_ENABLE1__ENABLE 0x1 | ||
317 | #define BF_ICOLL_PRIORITYn_ENABLE1(v) (((v) << 10) & 0x400) | ||
318 | #define BF_ICOLL_PRIORITYn_ENABLE1_V(v) ((BV_ICOLL_PRIORITYn_ENABLE1__##v << 10) & 0x400) | ||
319 | #define BP_ICOLL_PRIORITYn_PRIORITY1 8 | ||
320 | #define BM_ICOLL_PRIORITYn_PRIORITY1 0x300 | ||
321 | #define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL0 0x0 | ||
322 | #define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL1 0x1 | ||
323 | #define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL2 0x2 | ||
324 | #define BV_ICOLL_PRIORITYn_PRIORITY1__LEVEL3 0x3 | ||
325 | #define BF_ICOLL_PRIORITYn_PRIORITY1(v) (((v) << 8) & 0x300) | ||
326 | #define BF_ICOLL_PRIORITYn_PRIORITY1_V(v) ((BV_ICOLL_PRIORITYn_PRIORITY1__##v << 8) & 0x300) | ||
327 | #define BP_ICOLL_PRIORITYn_SOFTIRQ0 3 | ||
328 | #define BM_ICOLL_PRIORITYn_SOFTIRQ0 0x8 | ||
329 | #define BV_ICOLL_PRIORITYn_SOFTIRQ0__NO_INTERRUPT 0x0 | ||
330 | #define BV_ICOLL_PRIORITYn_SOFTIRQ0__FORCE_INTERRUPT 0x1 | ||
331 | #define BF_ICOLL_PRIORITYn_SOFTIRQ0(v) (((v) << 3) & 0x8) | ||
332 | #define BF_ICOLL_PRIORITYn_SOFTIRQ0_V(v) ((BV_ICOLL_PRIORITYn_SOFTIRQ0__##v << 3) & 0x8) | ||
333 | #define BP_ICOLL_PRIORITYn_ENABLE0 2 | ||
334 | #define BM_ICOLL_PRIORITYn_ENABLE0 0x4 | ||
335 | #define BV_ICOLL_PRIORITYn_ENABLE0__DISABLE 0x0 | ||
336 | #define BV_ICOLL_PRIORITYn_ENABLE0__ENABLE 0x1 | ||
337 | #define BF_ICOLL_PRIORITYn_ENABLE0(v) (((v) << 2) & 0x4) | ||
338 | #define BF_ICOLL_PRIORITYn_ENABLE0_V(v) ((BV_ICOLL_PRIORITYn_ENABLE0__##v << 2) & 0x4) | ||
339 | #define BP_ICOLL_PRIORITYn_PRIORITY0 0 | ||
340 | #define BM_ICOLL_PRIORITYn_PRIORITY0 0x3 | ||
341 | #define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL0 0x0 | ||
342 | #define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL1 0x1 | ||
343 | #define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL2 0x2 | ||
344 | #define BV_ICOLL_PRIORITYn_PRIORITY0__LEVEL3 0x3 | ||
345 | #define BF_ICOLL_PRIORITYn_PRIORITY0(v) (((v) << 0) & 0x3) | ||
346 | #define BF_ICOLL_PRIORITYn_PRIORITY0_V(v) ((BV_ICOLL_PRIORITYn_PRIORITY0__##v << 0) & 0x3) | ||
347 | |||
348 | #endif /* __HEADERGEN__STMP3600__ICOLL__H__ */ | ||