diff options
Diffstat (limited to 'firmware/export')
-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 |