diff options
author | Tomasz Malesinski <tomal@rockbox.org> | 2007-09-20 22:13:48 +0000 |
---|---|---|
committer | Tomasz Malesinski <tomal@rockbox.org> | 2007-09-20 22:13:48 +0000 |
commit | 026032f06d162a3ca82cd8ce5ec4f8562707daca (patch) | |
tree | e73f65643c40bfbb386c813d771f8fe4b6142201 /firmware/export/pnx0101.h | |
parent | d14d6246c09861cd7cdb9b54ff202a8e89aa3f16 (diff) | |
download | rockbox-026032f06d162a3ca82cd8ce5ec4f8562707daca.tar.gz rockbox-026032f06d162a3ca82cd8ce5ec4f8562707daca.zip |
PNX0101: new register names and polishing support for Clock Generation Unit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14792 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pnx0101.h')
-rw-r--r-- | firmware/export/pnx0101.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/firmware/export/pnx0101.h b/firmware/export/pnx0101.h index 766f3dd2ff..e344f0466e 100644 --- a/firmware/export/pnx0101.h +++ b/firmware/export/pnx0101.h | |||
@@ -220,6 +220,44 @@ struct pnx0101_timer { | |||
220 | #define INTREQ_WEACTVLO 0x02000000 | 220 | #define INTREQ_WEACTVLO 0x02000000 |
221 | #define INTREQ_ENABLE 0x00010000 | 221 | #define INTREQ_ENABLE 0x00010000 |
222 | 222 | ||
223 | /* General purpose DMA */ | ||
224 | |||
225 | struct pnx0101_dma_channel { | ||
226 | unsigned long source; | ||
227 | unsigned long dest; | ||
228 | unsigned long length; | ||
229 | unsigned long config; | ||
230 | unsigned long enable; | ||
231 | unsigned long pad1; | ||
232 | unsigned long pad2; | ||
233 | unsigned long count; | ||
234 | }; | ||
235 | |||
236 | #define DMACHANNEL ((volatile struct pnx0101_dma_channel *)0x80104800) | ||
237 | |||
238 | struct pnx0101_dma { | ||
239 | unsigned long enable; | ||
240 | unsigned long stat; | ||
241 | unsigned long irqmask; | ||
242 | unsigned long softint; | ||
243 | }; | ||
244 | |||
245 | #define DMA (*(volatile struct pnx0101_dma *)0x80104c00) | ||
246 | |||
247 | struct pnx0101_audio { | ||
248 | unsigned long pad1; | ||
249 | unsigned long siocr; | ||
250 | unsigned long pad2; | ||
251 | unsigned long pad3; | ||
252 | unsigned long pad4; | ||
253 | unsigned long pad5; | ||
254 | unsigned long ddacctrl; | ||
255 | unsigned long ddacstat; | ||
256 | unsigned long ddacset; | ||
257 | }; | ||
258 | |||
259 | #define AUDIO (*(volatile struct pnx0101_audio *)0x80200380) | ||
260 | |||
223 | #endif /* ASM */ | 261 | #endif /* ASM */ |
224 | 262 | ||
225 | #endif | 263 | #endif |