PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ee_regs.h
Go to the documentation of this file.
1
6#ifndef __EE_REGS_H__
7#define __EE_REGS_H__
8
9#include <tamtypes.h>
10
11#define A_EE_SBUS_REG_BASE (0x1000F200)
12#define A_EE_PGIF_REG_BASE (0x1000F300)
13
14#define A_EE_T0_COUNT (0x10000000)
15#define A_EE_T0_MODE (0x10000010)
16#define A_EE_T0_COMP (0x10000020)
17#define A_EE_T0_HOLD (0x10000030)
18#define A_EE_T1_COUNT (0x10000800)
19#define A_EE_T1_MODE (0x10000810)
20#define A_EE_T1_COMP (0x10000820)
21#define A_EE_T1_HOLD (0x10000830)
22#define A_EE_T2_COUNT (0x10001000)
23#define A_EE_T2_MODE (0x10001010)
24#define A_EE_T2_COMP (0x10001020)
25#define A_EE_T3_COUNT (0x10001800)
26#define A_EE_T3_MODE (0x10001810)
27#define A_EE_T3_COMP (0x10001820)
28#define A_EE_IPU_CMD (0x10002000)
29#define A_EE_IPU_CTRL (0x10002010)
30#define A_EE_IPU_BP (0x10002020)
31#define A_EE_IPU_TOP (0x10002030)
32#define A_EE_GIF_CTRL (0x10003000)
33#define A_EE_GIF_MODE (0x10003010)
34#define A_EE_GIF_STAT (0x10003020)
35#define A_EE_GIF_TAG0 (0x10003040)
36#define A_EE_GIF_TAG1 (0x10003050)
37#define A_EE_GIF_TAG2 (0x10003060)
38#define A_EE_GIF_TAG3 (0x10003070)
39#define A_EE_GIF_CNT (0x10003080)
40#define A_EE_GIF_P3CNT (0x10003090)
41#define A_EE_GIF_P3TAG (0x100030a0)
42#define A_EE_VIF0_STAT (0x10003800)
43#define A_EE_VIF0_FBRST (0x10003810)
44#define A_EE_VIF0_ERR (0x10003820)
45#define A_EE_VIF0_MARK (0x10003830)
46#define A_EE_VIF0_CYCLE (0x10003840)
47#define A_EE_VIF0_MODE (0x10003850)
48#define A_EE_VIF0_NUM (0x10003860)
49#define A_EE_VIF0_MASK (0x10003870)
50#define A_EE_VIF0_CODE (0x10003880)
51#define A_EE_VIF0_ITOPS (0x10003890)
52#define A_EE_VIF0_ITOP (0x100038d0)
53#define A_EE_VIF0_R0 (0x10003900)
54#define A_EE_VIF0_R1 (0x10003910)
55#define A_EE_VIF0_R2 (0x10003920)
56#define A_EE_VIF0_R3 (0x10003930)
57#define A_EE_VIF0_C0 (0x10003940)
58#define A_EE_VIF0_C1 (0x10003950)
59#define A_EE_VIF0_C2 (0x10003960)
60#define A_EE_VIF0_C3 (0x10003970)
61#define A_EE_VIF1_STAT (0x10003c00)
62#define A_EE_VIF1_FBRST (0x10003c10)
63#define A_EE_VIF1_ERR (0x10003c20)
64#define A_EE_VIF1_MARK (0x10003c30)
65#define A_EE_VIF1_CYCLE (0x10003c40)
66#define A_EE_VIF1_MODE (0x10003c50)
67#define A_EE_VIF1_NUM (0x10003c60)
68#define A_EE_VIF1_MASK (0x10003c70)
69#define A_EE_VIF1_CODE (0x10003c80)
70#define A_EE_VIF1_ITOPS (0x10003c90)
71#define A_EE_VIF1_BASE (0x10003ca0)
72#define A_EE_VIF1_OFST (0x10003cb0)
73#define A_EE_VIF1_TOPS (0x10003cc0)
74#define A_EE_VIF1_ITOP (0x10003cd0)
75#define A_EE_VIF1_TOP (0x10003ce0)
76#define A_EE_VIF1_R0 (0x10003d00)
77#define A_EE_VIF1_R1 (0x10003d10)
78#define A_EE_VIF1_R2 (0x10003d20)
79#define A_EE_VIF1_R3 (0x10003d30)
80#define A_EE_VIF1_C0 (0x10003d40)
81#define A_EE_VIF1_C1 (0x10003d50)
82#define A_EE_VIF1_C2 (0x10003d60)
83#define A_EE_VIF1_C3 (0x10003d70)
84#define A_EE_VIF0_FIFO (0x10004000)
85#define A_EE_VIF1_FIFO (0x10005000)
86#define A_EE_GIF_FIFO (0x10006000)
87#define A_EE_IPU_out_FIFO (0x10007000)
88#define A_EE_IPU_in_FIFO (0x10007010)
89#define A_EE_D0_CHCR (0x10008000)
90#define A_EE_D0_MADR (0x10008010)
91#define A_EE_D0_QWC (0x10008020)
92#define A_EE_D0_TADR (0x10008030)
93#define A_EE_D0_ASR0 (0x10008040)
94#define A_EE_D0_ASR1 (0x10008050)
95#define A_EE_D1_CHCR (0x10009000)
96#define A_EE_D1_MADR (0x10009010)
97#define A_EE_D1_QWC (0x10009020)
98#define A_EE_D1_TADR (0x10009030)
99#define A_EE_D1_ASR0 (0x10009040)
100#define A_EE_D1_ASR1 (0x10009050)
101#define A_EE_D2_CHCR (0x1000a000)
102#define A_EE_D2_MADR (0x1000a010)
103#define A_EE_D2_QWC (0x1000a020)
104#define A_EE_D2_TADR (0x1000a030)
105#define A_EE_D2_ASR0 (0x1000a040)
106#define A_EE_D2_ASR1 (0x1000a050)
107#define A_EE_D3_CHCR (0x1000b000)
108#define A_EE_D3_MADR (0x1000b010)
109#define A_EE_D3_QWC (0x1000b020)
110#define A_EE_D4_CHCR (0x1000b400)
111#define A_EE_D4_MADR (0x1000b410)
112#define A_EE_D4_QWC (0x1000b420)
113#define A_EE_D4_TADR (0x1000b430)
114#define A_EE_D5_CHCR (0x1000c000)
115#define A_EE_D5_MADR (0x1000C010)
116#define A_EE_D5_QWC (0x1000C020)
117#define A_EE_D6_CHCR (0x1000C400)
118#define A_EE_D6_MADR (0x1000C410)
119#define A_EE_D6_QWC (0x1000C420)
120#define A_EE_D6_TADR (0x1000C430)
121#define A_EE_D7_CHCR (0x1000C800)
122#define A_EE_D7_MADR (0x1000C810)
123#define A_EE_D7_QWC (0x1000C820)
124#define A_EE_D8_CHCR (0x1000D000)
125#define A_EE_D8_MADR (0x1000D010)
126#define A_EE_D8_QWC (0x1000D020)
127#define A_EE_D8_SADR (0x1000D080)
128#define A_EE_D9_CHCR (0x1000D400)
129#define A_EE_D9_MADR (0x1000D410)
130#define A_EE_D9_QWC (0x1000D420)
131#define A_EE_D9_TADR (0x1000D430)
132#define A_EE_D9_SADR (0x1000D480)
133#define A_EE_D_CTRL (0x1000e000)
134#define A_EE_D_STAT (0x1000e010)
135#define A_EE_D_PCR (0x1000e020)
136#define A_EE_D_SQWC (0x1000e030)
137#define A_EE_D_RBSR (0x1000e040)
138#define A_EE_D_RBOR (0x1000e050)
139#define A_EE_D_STADR (0x1000e060)
140#define A_EE_I_STAT (0x1000f000)
141#define A_EE_I_MASK (0x1000f010)
142#define A_EE_SIO_LCR (0x1000F100)
143#define A_EE_SIO_LSR (0x1000F110)
144#define A_EE_SIO_IER (0x1000F120)
145#define A_EE_SIO_ISR (0x1000F130)
146#define A_EE_SIO_FCR (0x1000F140)
147#define A_EE_SIO_BRC (0x1000F150)
148#define A_EE_SIO_REG60 (0x1000F160)
149#define A_EE_SIO_REG70 (0x1000F170)
150#define A_EE_SIO_TXFIFO (0x1000F180)
151#define A_EE_SIO_REG90 (0x1000F190)
152#define A_EE_SIO_REGA0 (0x1000F1A0)
153#define A_EE_SIO_REGB0 (0x1000F1B0)
154#define A_EE_SIO_RXFIFO (0x1000F1C0)
155#define A_EE_SBUS_MADDR (0x1000F200)
156#define A_EE_SBUS_SADDR (0x1000F210)
157#define A_EE_SBUS_MSFLAG (0x1000F220)
158#define A_EE_SBUS_SMFLAG (0x1000F230)
159#define A_EE_SBUS_REG40 (0x1000F240)
160#define A_EE_SBUS_REG50 (0x1000F250)
161#define A_EE_SBUS_REG60 (0x1000F260)
162#define A_EE_SBUS_REG70 (0x1000F270)
163#define A_EE_SBUS_REG80 (0x1000F280)
164#define A_EE_SBUS_REG90 (0x1000F290)
165#define A_EE_SBUS_REGA0 (0x1000F2A0)
166#define A_EE_SBUS_REGB0 (0x1000F2B0)
167#define A_EE_SBUS_REGC0 (0x1000F2C0)
168#define A_EE_SBUS_REGD0 (0x1000F2D0)
169#define A_EE_SBUS_REGE0 (0x1000F2E0)
170#define A_EE_SBUS_REGF0 (0x1000F2F0)
171#define A_EE_PGIF_GPU_STAT (0x1000F300)
172#define A_EE_PGIF_REG10 (0x1000F310)
173#define A_EE_PGIF_REG20 (0x1000F320)
174#define A_EE_PGIF_REG30 (0x1000F330)
175#define A_EE_PGIF_REG40 (0x1000F340)
176#define A_EE_PGIF_REG50 (0x1000F350)
177#define A_EE_PGIF_REG60 (0x1000F360)
178#define A_EE_PGIF_REG70 (0x1000F370)
179#define A_EE_PGIF_CFIFO_STAT (0x1000F380)
180#define A_EE_PGIF_REG90 (0x1000F390)
181#define A_EE_PGIF_REGA0 (0x1000F3A0)
182#define A_EE_PGIF_REGB0 (0x1000F3B0)
183#define A_EE_PGIF_CFIFO_DATA (0x1000F3C0)
184#define A_EE_PGIF_REGD0 (0x1000F3D0)
185#define A_EE_PGIF_REGE0 (0x1000F3E0)
186#define A_EE_PGIF_REGF0 (0x1000F3F0)
187#define A_EE_D_ENABLER (0x1000f520)
188#define A_EE_D_ENABLEW (0x1000f590)
189#define A_EE_GS_PMODE (0x12000000)
190#define A_EE_GS_SMODE1 (0x12000010)
191#define A_EE_GS_SMODE2 (0x12000020)
192#define A_EE_GS_SRFSH (0x12000030)
193#define A_EE_GS_SYNCH1 (0x12000040)
194#define A_EE_GS_SYNCH2 (0x12000050)
195#define A_EE_GS_SYNCV (0x12000060)
196#define A_EE_GS_DISPFB1 (0x12000070)
197#define A_EE_GS_DISPLAY1 (0x12000080)
198#define A_EE_GS_DISPFB2 (0x12000090)
199#define A_EE_GS_DISPLAY2 (0x120000a0)
200#define A_EE_GS_EXTBUF (0x120000b0)
201#define A_EE_GS_EXTDATA (0x120000c0)
202#define A_EE_GS_EXTWRITE (0x120000d0)
203#define A_EE_GS_BGCOLOR (0x120000e0)
204#define A_EE_GS_CSR (0x12001000)
205#define A_EE_GS_IMR (0x12001010)
206#define A_EE_GS_BUSDIR (0x12001040)
207#define A_EE_GS_SIGLBLID (0x12001080)
208
210#define R_EE_T0_COUNT ((vu32 *)A_EE_T0_COUNT)
212#define R_EE_T0_MODE ((vu32 *)A_EE_T0_MODE)
214#define R_EE_T0_COMP ((vu32 *)A_EE_T0_COMP)
216#define R_EE_T0_HOLD ((vu32 *)A_EE_T0_HOLD)
218#define R_EE_T1_COUNT ((vu32 *)A_EE_T1_COUNT)
220#define R_EE_T1_MODE ((vu32 *)A_EE_T1_MODE)
222#define R_EE_T1_COMP ((vu32 *)A_EE_T1_COMP)
224#define R_EE_T1_HOLD ((vu32 *)A_EE_T1_HOLD)
226#define R_EE_T2_COUNT ((vu32 *)A_EE_T2_COUNT)
228#define R_EE_T2_MODE ((vu32 *)A_EE_T2_MODE)
230#define R_EE_T2_COMP ((vu32 *)A_EE_T2_COMP)
232#define R_EE_T3_COUNT ((vu32 *)A_EE_T3_COUNT)
234#define R_EE_T3_MODE ((vu32 *)A_EE_T3_MODE)
236#define R_EE_T3_COMP ((vu32 *)A_EE_T3_COMP)
238#define R_EE_IPU_CMD ((vu64 *)A_EE_IPU_CMD)
240#define R_EE_IPU_CTRL ((vu32 *)A_EE_IPU_CTRL)
242#define R_EE_IPU_BP ((vu32 *)A_EE_IPU_BP)
244#define R_EE_IPU_TOP ((vu64 *)A_EE_IPU_TOP)
246#define R_EE_GIF_CTRL ((vu32 *)A_EE_GIF_CTRL)
248#define R_EE_GIF_MODE ((vu32 *)A_EE_GIF_MODE)
250#define R_EE_GIF_STAT ((vu32 *)A_EE_GIF_STAT)
252#define R_EE_GIF_TAG0 ((vu32 *)A_EE_GIF_TAG0)
254#define R_EE_GIF_TAG1 ((vu32 *)A_EE_GIF_TAG1)
256#define R_EE_GIF_TAG2 ((vu32 *)A_EE_GIF_TAG2)
258#define R_EE_GIF_TAG3 ((vu32 *)A_EE_GIF_TAG3)
260#define R_EE_GIF_CNT ((vu32 *)A_EE_GIF_CNT)
262#define R_EE_GIF_P3CNT ((vu32 *)A_EE_GIF_P3CNT)
264#define R_EE_GIF_P3TAG ((vu32 *)A_EE_GIF_P3TAG)
266#define R_EE_VIF0_STAT ((vu32 *)A_EE_VIF0_STAT)
268#define R_EE_VIF0_FBRST ((vu32 *)A_EE_VIF0_FBRST)
270#define R_EE_VIF0_ERR ((vu32 *)A_EE_VIF0_ERR)
272#define R_EE_VIF0_MARK ((vu32 *)A_EE_VIF0_MARK)
274#define R_EE_VIF0_CYCLE ((vu32 *)A_EE_VIF0_CYCLE)
276#define R_EE_VIF0_MODE ((vu32 *)A_EE_VIF0_MODE)
278#define R_EE_VIF0_NUM ((vu32 *)A_EE_VIF0_NUM)
280#define R_EE_VIF0_MASK ((vu32 *)A_EE_VIF0_MASK)
282#define R_EE_VIF0_CODE ((vu32 *)A_EE_VIF0_CODE)
284#define R_EE_VIF0_ITOPS ((vu32 *)A_EE_VIF0_ITOPS)
286#define R_EE_VIF0_ITOP ((vu32 *)A_EE_VIF0_ITOP)
288#define R_EE_VIF0_R0 ((vu32 *)A_EE_VIF0_R0)
290#define R_EE_VIF0_R1 ((vu32 *)A_EE_VIF0_R1)
292#define R_EE_VIF0_R2 ((vu32 *)A_EE_VIF0_R2)
294#define R_EE_VIF0_R3 ((vu32 *)A_EE_VIF0_R3)
296#define R_EE_VIF0_C0 ((vu32 *)A_EE_VIF0_C0)
298#define R_EE_VIF0_C1 ((vu32 *)A_EE_VIF0_C1)
300#define R_EE_VIF0_C2 ((vu32 *)A_EE_VIF0_C2)
302#define R_EE_VIF0_C3 ((vu32 *)A_EE_VIF0_C3)
304#define R_EE_VIF1_STAT ((vu32 *)A_EE_VIF1_STAT)
306#define R_EE_VIF1_FBRST ((vu32 *)A_EE_VIF1_FBRST)
308#define R_EE_VIF1_ERR ((vu32 *)A_EE_VIF1_ERR)
310#define R_EE_VIF1_MARK ((vu32 *)A_EE_VIF1_MARK)
312#define R_EE_VIF1_CYCLE ((vu32 *)A_EE_VIF1_CYCLE)
314#define R_EE_VIF1_MODE ((vu32 *)A_EE_VIF1_MODE)
316#define R_EE_VIF1_NUM ((vu32 *)A_EE_VIF1_NUM)
318#define R_EE_VIF1_MASK ((vu32 *)A_EE_VIF1_MASK)
320#define R_EE_VIF1_CODE ((vu32 *)A_EE_VIF1_CODE)
322#define R_EE_VIF1_ITOPS ((vu32 *)A_EE_VIF1_ITOPS)
324#define R_EE_VIF1_BASE ((vu32 *)A_EE_VIF1_BASE)
326#define R_EE_VIF1_OFST ((vu32 *)A_EE_VIF1_OFST)
328#define R_EE_VIF1_TOPS ((vu32 *)A_EE_VIF1_TOPS)
330#define R_EE_VIF1_ITOP ((vu32 *)A_EE_VIF1_ITOP)
332#define R_EE_VIF1_TOP ((vu32 *)A_EE_VIF1_TOP)
334#define R_EE_VIF1_R0 ((vu32 *)A_EE_VIF1_R0)
336#define R_EE_VIF1_R1 ((vu32 *)A_EE_VIF1_R1)
338#define R_EE_VIF1_R2 ((vu32 *)A_EE_VIF1_R2)
340#define R_EE_VIF1_R3 ((vu32 *)A_EE_VIF1_R3)
342#define R_EE_VIF1_C0 ((vu32 *)A_EE_VIF1_C0)
344#define R_EE_VIF1_C1 ((vu32 *)A_EE_VIF1_C1)
346#define R_EE_VIF1_C2 ((vu32 *)A_EE_VIF1_C2)
348#define R_EE_VIF1_C3 ((vu32 *)A_EE_VIF1_C3)
350#define R_EE_VIF0_FIFO ((vu32 *)A_EE_VIF0_FIFO)
352#define R_EE_VIF1_FIFO ((vu32 *)A_EE_VIF1_FIFO)
354#define R_EE_GIF_FIFO ((vu32 *)A_EE_GIF_FIFO)
356#define R_EE_IPU_out_FIFO ((vu32 *)A_EE_IPU_out_FIFO)
358#define R_EE_IPU_in_FIFO ((vu32 *)A_EE_IPU_in_FIFO)
360#define R_EE_D0_CHCR ((vu32 *)A_EE_D0_CHCR)
362#define R_EE_D0_MADR ((vu32 *)A_EE_D0_MADR)
364#define R_EE_D0_QWC ((vu32 *)A_EE_D0_QWC)
366#define R_EE_D0_TADR ((vu32 *)A_EE_D0_TADR)
368#define R_EE_D0_ASR0 ((vu32 *)A_EE_D0_ASR0)
370#define R_EE_D0_ASR1 ((vu32 *)A_EE_D0_ASR1)
372#define R_EE_D1_CHCR ((vu32 *)A_EE_D1_CHCR)
374#define R_EE_D1_MADR ((vu32 *)A_EE_D1_MADR)
376#define R_EE_D1_QWC ((vu32 *)A_EE_D1_QWC)
378#define R_EE_D1_TADR ((vu32 *)A_EE_D1_TADR)
380#define R_EE_D1_ASR0 ((vu32 *)A_EE_D1_ASR0)
382#define R_EE_D1_ASR1 ((vu32 *)A_EE_D1_ASR1)
384#define R_EE_D2_CHCR ((vu32 *)A_EE_D2_CHCR)
386#define R_EE_D2_MADR ((vu32 *)A_EE_D2_MADR)
388#define R_EE_D2_QWC ((vu32 *)A_EE_D2_QWC)
390#define R_EE_D2_TADR ((vu32 *)A_EE_D2_TADR)
392#define R_EE_D2_ASR0 ((vu32 *)A_EE_D2_ASR0)
394#define R_EE_D2_ASR1 ((vu32 *)A_EE_D2_ASR1)
396#define R_EE_D3_CHCR ((vu32 *)A_EE_D3_CHCR)
398#define R_EE_D3_MADR ((vu32 *)A_EE_D3_MADR)
400#define R_EE_D3_QWC ((vu32 *)A_EE_D3_QWC)
402#define R_EE_D4_CHCR ((vu32 *)A_EE_D4_CHCR)
404#define R_EE_D4_MADR ((vu32 *)A_EE_D4_MADR)
406#define R_EE_D4_QWC ((vu32 *)A_EE_D4_QWC)
408#define R_EE_D4_TADR ((vu32 *)A_EE_D4_TADR)
410#define R_EE_D5_CHCR ((vu32 *)A_EE_D5_CHCR)
412#define R_EE_D5_MADR ((vu32 *)A_EE_D5_MADR)
414#define R_EE_D5_QWC ((vu32 *)A_EE_D5_QWC)
416#define R_EE_D6_CHCR ((vu32 *)A_EE_D6_CHCR)
418#define R_EE_D6_MADR ((vu32 *)A_EE_D6_MADR)
420#define R_EE_D6_QWC ((vu32 *)A_EE_D6_QWC)
422#define R_EE_D6_TADR ((vu32 *)A_EE_D6_TADR)
424#define R_EE_D7_CHCR ((vu32 *)A_EE_D7_CHCR)
426#define R_EE_D7_MADR ((vu32 *)A_EE_D7_MADR)
428#define R_EE_D7_QWC ((vu32 *)A_EE_D7_QWC)
430#define R_EE_D8_CHCR ((vu32 *)A_EE_D8_CHCR)
432#define R_EE_D8_MADR ((vu32 *)A_EE_D8_MADR)
434#define R_EE_D8_QWC ((vu32 *)A_EE_D8_QWC)
436#define R_EE_D8_SADR ((vu32 *)A_EE_D8_SADR)
438#define R_EE_D9_CHCR ((vu32 *)A_EE_D9_CHCR)
440#define R_EE_D9_MADR ((vu32 *)A_EE_D9_MADR)
442#define R_EE_D9_QWC ((vu32 *)A_EE_D9_QWC)
444#define R_EE_D9_TADR ((vu32 *)A_EE_D9_TADR)
446#define R_EE_D9_SADR ((vu32 *)A_EE_D9_SADR)
448#define R_EE_D_CTRL ((vu32 *)A_EE_D_CTRL)
450#define R_EE_D_STAT ((vu32 *)A_EE_D_STAT)
452#define R_EE_D_PCR ((vu32 *)A_EE_D_PCR)
454#define R_EE_D_SQWC ((vu32 *)A_EE_D_SQWC)
456#define R_EE_D_RBSR ((vu32 *)A_EE_D_RBSR)
458#define R_EE_D_RBOR ((vu32 *)A_EE_D_RBOR)
460#define R_EE_D_STADR ((vu32 *)A_EE_D_STADR)
462#define R_EE_I_STAT ((vu32 *)A_EE_I_STAT)
464#define R_EE_I_MASK ((vu32 *)A_EE_I_MASK)
465
466
468#define R_EE_SIO_LCR ((vu32 *)A_EE_SIO_LCR)
470#define R_EE_SIO_LSR ((vu32 *)A_EE_SIO_LSR)
472#define R_EE_SIO_IER ((vu32 *)A_EE_SIO_IER)
474#define R_EE_SIO_ISR ((vu32 *)A_EE_SIO_ISR)
476#define R_EE_SIO_FCR ((vu32 *)A_EE_SIO_FCR)
478#define R_EE_SIO_BRC ((vu32 *)A_EE_SIO_BRC)
480#define R_EE_SIO_REG60 ((vu8 *)A_EE_SIO_REG60)
482#define R_EE_SIO_REG70 ((vu8 *)A_EE_SIO_REG70)
484#define R_EE_SIO_TXFIFO ((vu8 *)A_EE_SIO_TXFIFO)
486#define R_EE_SIO_REG90 ((vu8 *)A_EE_SIO_REG90)
488#define R_EE_SIO_REGA0 ((vu8 *)A_EE_SIO_REGA0)
490#define R_EE_SIO_REGB0 ((vu8 *)A_EE_SIO_REGB0)
492#define R_EE_SIO_RXFIFO ((vu8 *)A_EE_SIO_RXFIFO)
493
495#define R_EE_SBUS_MADDR ((vu32 *)A_EE_SBUS_REG00)
497#define R_EE_SBUS_SADDR ((vu32 *)A_EE_SBUS_REG10)
499#define R_EE_SBUS_MSFLAG ((vu32 *)A_EE_SBUS_MSFLAG)
501#define R_EE_SBUS_SMFLAG ((vu32 *)A_EE_SBUS_SMFLAG)
503#define R_EE_SBUS_REG40 ((vu32 *)A_EE_SBUS_REG40)
505#define R_EE_SBUS_REG50 ((vu32 *)A_EE_SBUS_REG50)
507#define R_EE_SBUS_REG60 ((vu32 *)A_EE_SBUS_REG60)
509#define R_EE_SBUS_REG70 ((vu32 *)A_EE_SBUS_REG70)
511#define R_EE_SBUS_REG80 ((vu32 *)A_EE_SBUS_REG80)
513#define R_EE_SBUS_REG90 ((vu32 *)A_EE_SBUS_REG90)
515#define R_EE_SBUS_REGA0 ((vu32 *)A_EE_SBUS_REGA0)
517#define R_EE_SBUS_REGB0 ((vu32 *)A_EE_SBUS_REGB0)
519#define R_EE_SBUS_REGC0 ((vu32 *)A_EE_SBUS_REGC0)
521#define R_EE_SBUS_REGD0 ((vu32 *)A_EE_SBUS_REGD0)
523#define R_EE_SBUS_REGE0 ((vu32 *)A_EE_SBUS_REGE0)
525#define R_EE_SBUS_REGF0 ((vu32 *)A_EE_SBUS_REGF0)
526
528#define R_EE_PGIF_GPU_STAT ((vu32 *)A_EE_PGIF_GPU_STAT)
530#define R_EE_PGIF_REG10 ((vu32 *)A_EE_PGIF_REG10)
532#define R_EE_PGIF_REG20 ((vu32 *)A_EE_PGIF_REG20)
534#define R_EE_PGIF_REG30 ((vu32 *)A_EE_PGIF_REG30)
536#define R_EE_PGIF_REG40 ((vu32 *)A_EE_PGIF_REG40)
538#define R_EE_PGIF_REG50 ((vu32 *)A_EE_PGIF_REG50)
540#define R_EE_PGIF_REG60 ((vu32 *)A_EE_PGIF_REG60)
542#define R_EE_PGIF_REG70 ((vu32 *)A_EE_PGIF_REG70)
544#define R_EE_PGIF_CFIFO_STAT ((vu32 *)A_EE_PGIF_CFIFO_STAT)
546#define R_EE_PGIF_REG90 ((vu32 *)A_EE_PGIF_REG90)
548#define R_EE_PGIF_REGA0 ((vu32 *)A_EE_PGIF_REGA0)
550#define R_EE_PGIF_REGB0 ((vu32 *)A_EE_PGIF_REGB0)
552#define R_EE_PGIF_CFIFO_DATA ((vu32 *)A_EE_PGIF_CFIFO_DATA)
554#define R_EE_PGIF_REGD0 ((vu32 *)A_EE_PGIF_REGD0)
556#define R_EE_PGIF_REGE0 ((vu32 *)A_EE_PGIF_REGE0)
558#define R_EE_PGIF_REGF0 ((vu32 *)A_EE_PGIF_REGF0)
560#define R_EE_D_ENABLER ((vu32 *)A_EE_D_ENABLER)
562#define R_EE_D_ENABLEW ((vu32 *)A_EE_D_ENABLEW)
563
564/* EE GS Registers */
565
567#define R_EE_GS_PMODE ((vu64 *)A_EE_GS_PMODE)
569#define R_EE_GS_SMODE1 ((vu64 *)A_EE_GS_SMODE1)
571#define R_EE_GS_SMODE2 ((vu64 *)A_EE_GS_SMODE2)
573#define R_EE_GS_SRFSH ((vu64 *)A_EE_GS_SRFSH)
575#define R_EE_GS_SYNCH1 ((vu64 *)A_EE_GS_SYNCH1)
577#define R_EE_GS_SYNCH2 ((vu64 *)A_EE_GS_SYNCH2)
579#define R_EE_GS_SYNCV ((vu64 *)A_EE_GS_SYNCV)
581#define R_EE_GS_DISPFB1 ((vu64 *)A_EE_GS_DISPFB1)
583#define R_EE_GS_DISPLAY1 ((vu64 *)A_EE_GS_DISPLAY1)
585#define R_EE_GS_DISPFB2 ((vu64 *)A_EE_GS_DISPFB2)
587#define R_EE_GS_DISPLAY2 ((vu64 *)A_EE_GS_DISPLAY2)
589#define R_EE_GS_EXTBUF ((vu64 *)A_EE_GS_EXTBUF)
591#define R_EE_GS_EXTDATA ((vu64 *)A_EE_GS_EXTDATA)
593#define R_EE_GS_EXTWRITE ((vu64 *)A_EE_GS_EXTWRITE)
595#define R_EE_GS_BGCOLOR ((vu64 *)A_EE_GS_BGCOLOR)
597#define R_EE_GS_CSR ((vu64 *)A_EE_GS_CSR)
599#define R_EE_GS_IMR ((vu64 *)A_EE_GS_IMR)
601#define R_EE_GS_BUSDIR ((vu64 *)A_EE_GS_BUSDIR)
603#define R_EE_GS_SIGLBLID ((vu64 *)A_EE_GS_SIGLBLID)
604
605#define RD_EE_T0_COUNT(x) (*R_EE_T0_COUNT)
606#define RD_EE_T0_MODE(x) (*R_EE_T0_MODE)
607#define RD_EE_T0_COMP(x) (*R_EE_T0_COMP)
608#define RD_EE_T0_HOLD(x) (*R_EE_T0_HOLD)
609#define RD_EE_T1_COUNT(x) (*R_EE_T1_COUNT)
610#define RD_EE_T1_MODE(x) (*R_EE_T1_MODE)
611#define RD_EE_T1_COMP(x) (*R_EE_T1_COMP)
612#define RD_EE_T1_HOLD(x) (*R_EE_T1_HOLD)
613#define RD_EE_T2_COUNT(x) (*R_EE_T2_COUNT)
614#define RD_EE_T2_MODE(x) (*R_EE_T2_MODE)
615#define RD_EE_T2_COMP(x) (*R_EE_T2_COMP)
616#define RD_EE_T3_COUNT(x) (*R_EE_T3_COUNT)
617#define RD_EE_T3_MODE(x) (*R_EE_T3_MODE)
618#define RD_EE_T3_COMP(x) (*R_EE_T3_COMP)
619#define RD_EE_IPU_CMD(x) (*R_EE_IPU_CMD)
620#define RD_EE_IPU_CTRL(x) (*R_EE_IPU_CTRL)
621#define RD_EE_IPU_BP(x) (*R_EE_IPU_BP)
622/* No getter for R_EE_IPU_TOP */
623/* No getter for R_EE_GIF_CTRL */
624/* No getter for R_EE_GIF_MODE */
625#define RD_EE_GIF_STAT(x) (*R_EE_GIF_STAT)
626#define RD_EE_GIF_TAG0(x) (*R_EE_GIF_TAG0)
627#define RD_EE_GIF_TAG1(x) (*R_EE_GIF_TAG1)
628#define RD_EE_GIF_TAG2(x) (*R_EE_GIF_TAG2)
629#define RD_EE_GIF_TAG3(x) (*R_EE_GIF_TAG3)
630#define RD_EE_GIF_CNT(x) (*R_EE_GIF_CNT)
631#define RD_EE_GIF_P3CNT(x) (*R_EE_GIF_P3CNT)
632#define RD_EE_GIF_P3TAG(x) (*R_EE_GIF_P3TAG)
633#define RD_EE_VIF0_STAT(x) (*R_EE_VIF0_STAT)
634/* No getter for R_EE_VIF0_FBRST */
635#define RD_EE_VIF0_ERR(x) (*R_EE_VIF0_ERR)
636#define RD_EE_VIF0_MARK(x) (*R_EE_VIF0_MARK)
637#define RD_EE_VIF0_CYCLE(x) (*R_EE_VIF0_CYCLE)
638#define RD_EE_VIF0_MODE(x) (*R_EE_VIF0_MODE)
639#define RD_EE_VIF0_NUM(x) (*R_EE_VIF0_NUM)
640#define RD_EE_VIF0_MASK(x) (*R_EE_VIF0_MASK)
641#define RD_EE_VIF0_CODE(x) (*R_EE_VIF0_CODE)
642#define RD_EE_VIF0_ITOPS(x) (*R_EE_VIF0_ITOPS)
643#define RD_EE_VIF0_ITOP(x) (*R_EE_VIF0_ITOP)
644#define RD_EE_VIF0_R0(x) (*R_EE_VIF0_R0)
645#define RD_EE_VIF0_R1(x) (*R_EE_VIF0_R1)
646#define RD_EE_VIF0_R2(x) (*R_EE_VIF0_R2)
647#define RD_EE_VIF0_R3(x) (*R_EE_VIF0_R3)
648#define RD_EE_VIF0_C0(x) (*R_EE_VIF0_C0)
649#define RD_EE_VIF0_C1(x) (*R_EE_VIF0_C1)
650#define RD_EE_VIF0_C2(x) (*R_EE_VIF0_C2)
651#define RD_EE_VIF0_C3(x) (*R_EE_VIF0_C3)
652#define RD_EE_VIF1_STAT(x) (*R_EE_VIF1_STAT)
653/* No getter for RD_EE_VIF1_FBRST */
654#define RD_EE_VIF1_ERR(x) (*R_EE_VIF1_ERR)
655#define RD_EE_VIF1_MARK(x) (*R_EE_VIF1_MARK)
656#define RD_EE_VIF1_CYCLE(x) (*R_EE_VIF1_CYCLE)
657#define RD_EE_VIF1_MODE(x) (*R_EE_VIF1_MODE)
658#define RD_EE_VIF1_NUM(x) (*R_EE_VIF1_NUM)
659#define RD_EE_VIF1_MASK(x) (*R_EE_VIF1_MASK)
660#define RD_EE_VIF1_CODE(x) (*R_EE_VIF1_CODE)
661#define RD_EE_VIF1_ITOPS(x) (*R_EE_VIF1_ITOPS)
662#define RD_EE_VIF1_BASE(x) (*R_EE_VIF1_BASE)
663#define RD_EE_VIF1_OFST(x) (*R_EE_VIF1_OFST)
664#define RD_EE_VIF1_TOPS(x) (*R_EE_VIF1_TOPS)
665#define RD_EE_VIF1_ITOP(x) (*R_EE_VIF1_ITOP)
666#define RD_EE_VIF1_TOP(x) (*R_EE_VIF1_TOP)
667#define RD_EE_VIF1_R0(x) (*R_EE_VIF1_R0)
668#define RD_EE_VIF1_R1(x) (*R_EE_VIF1_R1)
669#define RD_EE_VIF1_R2(x) (*R_EE_VIF1_R2)
670#define RD_EE_VIF1_R3(x) (*R_EE_VIF1_R3)
671#define RD_EE_VIF1_C0(x) (*R_EE_VIF1_C0)
672#define RD_EE_VIF1_C1(x) (*R_EE_VIF1_C1)
673#define RD_EE_VIF1_C2(x) (*R_EE_VIF1_C2)
674#define RD_EE_VIF1_C3(x) (*R_EE_VIF1_C3)
675/* No getter for R_EE_VIF0_FIFO */
676#define RD_EE_VIF1_FIFO(x) (*R_EE_VIF1_FIFO)
677/* No getter for R_EE_GIF_FIFO */
678#define RD_EE_IPU_out_FIFO(x) (*R_EE_IPU_out_FIFO)
679/* No getter for R_EE_IPU_in_FIFO */
680#define RD_EE_D0_CHCR(x) (*R_EE_D0_CHCR)
681#define RD_EE_D0_MADR(x) (*R_EE_D0_MADR)
682#define RD_EE_D0_QWC(x) (*R_EE_D0_QWC)
683#define RD_EE_D0_TADR(x) (*R_EE_D0_TADR)
684#define RD_EE_D0_ASR0(x) (*R_EE_D0_ASR0)
685#define RD_EE_D0_ASR1(x) (*R_EE_D0_ASR1)
686#define RD_EE_D1_CHCR(x) (*R_EE_D1_CHCR)
687#define RD_EE_D1_MADR(x) (*R_EE_D1_MADR)
688#define RD_EE_D1_QWC(x) (*R_EE_D1_QWC)
689#define RD_EE_D1_TADR(x) (*R_EE_D1_TADR)
690#define RD_EE_D1_ASR0(x) (*R_EE_D1_ASR0)
691#define RD_EE_D1_ASR1(x) (*R_EE_D1_ASR1)
692#define RD_EE_D2_CHCR(x) (*R_EE_D2_CHCR)
693#define RD_EE_D2_MADR(x) (*R_EE_D2_MADR)
694#define RD_EE_D2_QWC(x) (*R_EE_D2_QWC)
695#define RD_EE_D2_TADR(x) (*R_EE_D2_TADR)
696#define RD_EE_D2_ASR0(x) (*R_EE_D2_ASR0)
697#define RD_EE_D2_ASR1(x) (*R_EE_D2_ASR1)
698#define RD_EE_D3_CHCR(x) (*R_EE_D3_CHCR)
699#define RD_EE_D3_MADR(x) (*R_EE_D3_MADR)
700#define RD_EE_D3_QWC(x) (*R_EE_D3_QWC)
701#define RD_EE_D4_CHCR(x) (*R_EE_D4_CHCR)
702#define RD_EE_D4_MADR(x) (*R_EE_D4_MADR)
703#define RD_EE_D4_QWC(x) (*R_EE_D4_QWC)
704#define RD_EE_D4_TADR(x) (*R_EE_D4_TADR)
705#define RD_EE_D5_CHCR(x) (*R_EE_D5_CHCR)
706#define RD_EE_D5_MADR(x) (*R_EE_D5_MADR)
707#define RD_EE_D5_QWC(x) (*R_EE_D5_QWC)
708#define RD_EE_D6_CHCR(x) (*R_EE_D6_CHCR)
709#define RD_EE_D6_MADR(x) (*R_EE_D6_MADR)
710#define RD_EE_D6_QWC(x) (*R_EE_D6_QWC)
711#define RD_EE_D6_TADR(x) (*R_EE_D6_TADR)
712#define RD_EE_D7_CHCR(x) (*R_EE_D7_CHCR)
713#define RD_EE_D7_MADR(x) (*R_EE_D7_MADR)
714#define RD_EE_D7_QWC(x) (*R_EE_D7_QWC)
715#define RD_EE_D8_CHCR(x) (*R_EE_D8_CHCR)
716#define RD_EE_D8_MADR(x) (*R_EE_D8_MADR)
717#define RD_EE_D8_QWC(x) (*R_EE_D8_QWC)
718#define RD_EE_D8_SADR(x) (*R_EE_D8_SADR)
719#define RD_EE_D9_CHCR(x) (*R_EE_D9_CHCR)
720#define RD_EE_D9_MADR(x) (*R_EE_D9_MADR)
721#define RD_EE_D9_QWC(x) (*R_EE_D9_QWC)
722#define RD_EE_D9_TADR(x) (*R_EE_D9_TADR)
723#define RD_EE_D9_SADR(x) (*R_EE_D9_SADR)
724#define RD_EE_D_CTRL(x) (*R_EE_D_CTRL)
725#define RD_EE_D_STAT(x) (*R_EE_D_STAT)
726#define RD_EE_D_PCR(x) (*R_EE_D_PCR)
727#define RD_EE_D_SQWC(x) (*R_EE_D_SQWC)
728#define RD_EE_D_RBSR(x) (*R_EE_D_RBSR)
729#define RD_EE_D_RBOR(x) (*R_EE_D_RBOR)
730#define RD_EE_D_STADR(x) (*R_EE_D_STADR)
731#define RD_EE_I_STAT(x) (*R_EE_I_STAT)
732#define RD_EE_I_MASK(x) (*R_EE_I_MASK)
733/* No getter for R_EE_SIO_LCR */
734/* No getter for R_EE_SIO_LSR */
735/* No getter for R_EE_SIO_IER */
736/* No getter for R_EE_SIO_ISR */
737/* No getter for R_EE_SIO_FCR */
738/* No getter for R_EE_SIO_BRC */
739/* No getter for R_EE_SIO_REG60 */
740/* No getter for R_EE_SIO_REG70 */
741/* No getter for R_EE_SIO_TXFIFO */
742/* No getter for R_EE_SIO_REG90 */
743/* No getter for R_EE_SIO_REGA0 */
744/* No getter for R_EE_SIO_REGB0 */
745/* No getter for R_EE_SIO_RXFIFO */
746/* No getter for R_EE_SBUS_MADDR */
747/* No getter for R_EE_SBUS_SADDR */
748/* No getter for R_EE_SBUS_MSFLAG */
749/* No getter for R_EE_SBUS_SMFLAG */
750/* No getter for R_EE_SBUS_REG40 */
751/* No getter for R_EE_SBUS_REG50 */
752/* No getter for R_EE_SBUS_REG60 */
753/* No getter for R_EE_SBUS_REG70 */
754/* No getter for R_EE_SBUS_REG80 */
755/* No getter for R_EE_SBUS_REG90 */
756/* No getter for R_EE_SBUS_REGA0 */
757/* No getter for R_EE_SBUS_REGB0 */
758/* No getter for R_EE_SBUS_REGC0 */
759/* No getter for R_EE_SBUS_REGD0 */
760/* No getter for R_EE_SBUS_REGE0 */
761/* No getter for R_EE_SBUS_REGF0 */
762/* No getter for R_EE_PGIF_GPU_STAT */
763/* No getter for R_EE_PGIF_REG10 */
764/* No getter for R_EE_PGIF_REG20 */
765/* No getter for R_EE_PGIF_REG30 */
766/* No getter for R_EE_PGIF_REG40 */
767/* No getter for R_EE_PGIF_REG50 */
768/* No getter for R_EE_PGIF_REG60 */
769/* No getter for R_EE_PGIF_REG70 */
770/* No getter for R_EE_PGIF_CFIFO_STAT */
771/* No getter for R_EE_PGIF_REG90 */
772/* No getter for R_EE_PGIF_REGA0 */
773/* No getter for R_EE_PGIF_REGB0 */
774/* No getter for R_EE_PGIF_CFIFO_DATA */
775/* No getter for R_EE_PGIF_REGD0 */
776/* No getter for R_EE_PGIF_REGE0 */
777/* No getter for R_EE_PGIF_REGF0 */
778#define RD_EE_D_ENABLER(x) (*R_EE_D_ENABLER)
779#define RD_EE_D_ENABLEW(x) (*R_EE_D_ENABLEW)
780/* No getter for R_EE_GS_PMODE */
781#define RD_EE_GS_SMODE1(x) (*R_EE_GS_SMODE1)
782/* No getter for R_EE_GS_SMODE2 */
783#define RD_EE_GS_SRFSH(x) (*R_EE_GS_SRFSH)
784#define RD_EE_GS_SYNCH1(x) (*R_EE_GS_SYNCH1)
785#define RD_EE_GS_SYNCH2(x) (*R_EE_GS_SYNCH2)
786#define RD_EE_GS_SYNCV(x) (*R_EE_GS_SYNCV)
787/* No getter for R_EE_GS_DISPFB1 */
788/* No getter for R_EE_GS_DISPLAY1 */
789/* No getter for R_EE_GS_DISPFB2 */
790/* No getter for R_EE_GS_DISPLAY2 */
791/* No getter for R_EE_GS_EXTBUF */
792/* No getter for R_EE_GS_EXTDATA */
793/* No getter for R_EE_GS_EXTWRITE */
794/* No getter for R_EE_GS_BGCOLOR */
795/* No getter for R_EE_GS_CSR */
796/* No getter for R_EE_GS_IMR */
797/* No getter for R_EE_GS_BUSDIR */
798#define RD_EE_GS_SIGLBLID(x) (*R_EE_GS_SIGLBLID)
799
800#define WR_EE_T0_COUNT(x) (*R_EE_T0_COUNT = (x))
801#define WR_EE_T0_MODE(x) (*R_EE_T0_MODE = (x))
802#define WR_EE_T0_COMP(x) (*R_EE_T0_COMP = (x))
803#define WR_EE_T0_HOLD(x) (*R_EE_T0_HOLD = (x))
804#define WR_EE_T1_COUNT(x) (*R_EE_T1_COUNT = (x))
805#define WR_EE_T1_MODE(x) (*R_EE_T1_MODE = (x))
806#define WR_EE_T1_COMP(x) (*R_EE_T1_COMP = (x))
807#define WR_EE_T1_HOLD(x) (*R_EE_T1_HOLD = (x))
808#define WR_EE_T2_COUNT(x) (*R_EE_T2_COUNT = (x))
809#define WR_EE_T2_MODE(x) (*R_EE_T2_MODE = (x))
810#define WR_EE_T2_COMP(x) (*R_EE_T2_COMP = (x))
811#define WR_EE_T3_COUNT(x) (*R_EE_T3_COUNT = (x))
812#define WR_EE_T3_MODE(x) (*R_EE_T3_MODE = (x))
813#define WR_EE_T3_COMP(x) (*R_EE_T3_COMP = (x))
814#define WR_EE_IPU_CMD(x) (*R_EE_IPU_CMD = (x))
815#define WR_EE_IPU_CTRL(x) (*R_EE_IPU_CTRL = (x))
816/* No setter for R_EE_IPU_BP */
817#define WR_EE_IPU_TOP(x) (*R_EE_IPU_TOP = (x))
818#define WR_EE_GIF_CTRL(x) (*R_EE_GIF_CTRL = (x))
819#define WR_EE_GIF_MODE(x) (*R_EE_GIF_MODE = (x))
820/* No setter for R_EE_GIF_STAT */
821/* No setter for R_EE_GIF_TAG0 */
822/* No setter for R_EE_GIF_TAG1 */
823/* No setter for R_EE_GIF_TAG2 */
824/* No setter for R_EE_GIF_TAG3 */
825/* No setter for R_EE_GIF_CNT */
826/* No setter for R_EE_GIF_P3CNT */
827/* No setter for R_EE_GIF_P3TAG */
828/* No setter for R_EE_VIF0_STAT */
829#define WR_EE_VIF0_FBRST(x) (*R_EE_VIF0_FBRST = (x))
830#define WR_EE_VIF0_ERR(x) (*R_EE_VIF0_ERR = (x))
831#define WR_EE_VIF0_MARK(x) (*R_EE_VIF0_MARK = (x))
832/* No setter for R_EE_VIF0_CYCLE */
833/* No setter for R_EE_VIF0_MODE */
834/* No setter for R_EE_VIF0_NUM */
835/* No setter for R_EE_VIF0_MASK */
836/* No setter for R_EE_VIF0_CODE */
837/* No setter for R_EE_VIF0_ITOPS */
838/* No setter for R_EE_VIF0_ITOP */
839/* No setter for R_EE_VIF0_R0 */
840/* No setter for R_EE_VIF0_R1 */
841/* No setter for R_EE_VIF0_R2 */
842/* No setter for R_EE_VIF0_R3 */
843/* No setter for R_EE_VIF0_C0 */
844/* No setter for R_EE_VIF0_C1 */
845/* No setter for R_EE_VIF0_C2 */
846/* No setter for R_EE_VIF0_C3 */
847/* No setter for R_EE_VIF1_STAT */
848#define WR_EE_VIF1_FBRST(x) (*R_EE_VIF1_FBRST = (x))
849#define WR_EE_VIF1_ERR(x) (*R_EE_VIF1_ERR = (x))
850#define WR_EE_VIF1_MARK(x) (*R_EE_VIF1_MARK = (x))
851/* No setter for R_EE_VIF1_CYCLE */
852/* No setter for R_EE_VIF1_MODE */
853/* No setter for R_EE_VIF1_NUM */
854/* No setter for R_EE_VIF1_MASK */
855/* No setter for R_EE_VIF1_CODE */
856/* No setter for R_EE_VIF1_ITOPS */
857/* No setter for R_EE_VIF1_BASE */
858/* No setter for R_EE_VIF1_OFST */
859/* No setter for R_EE_VIF1_TOPS */
860/* No setter for R_EE_VIF1_ITOP */
861/* No setter for R_EE_VIF1_TOP */
862/* No setter for R_EE_VIF1_R0 */
863/* No setter for R_EE_VIF1_R1 */
864/* No setter for R_EE_VIF1_R2 */
865/* No setter for R_EE_VIF1_R3 */
866/* No setter for R_EE_VIF1_C0 */
867/* No setter for R_EE_VIF1_C1 */
868/* No setter for R_EE_VIF1_C2 */
869/* No setter for R_EE_VIF1_C3 */
870#define WR_EE_VIF0_FIFO(x) (*R_EE_VIF0_FIFO = (x))
871#define WR_EE_VIF1_FIFO(x) (*R_EE_VIF1_FIFO = (x))
872#define WR_EE_GIF_FIFO(x) (*R_EE_GIF_FIFO = (x))
873#define WR_EE_IPU_out_FIFO(x) (*R_EE_IPU_out_FIFO = (x))
874/* No setter for R_EE_IPU_in_FIFO */
875#define WR_EE_D0_CHCR(x) (*R_EE_D0_CHCR = (x))
876#define WR_EE_D0_MADR(x) (*R_EE_D0_MADR = (x))
877#define WR_EE_D0_QWC(x) (*R_EE_D0_QWC = (x))
878#define WR_EE_D0_TADR(x) (*R_EE_D0_TADR = (x))
879#define WR_EE_D0_ASR0(x) (*R_EE_D0_ASR0 = (x))
880#define WR_EE_D0_ASR1(x) (*R_EE_D0_ASR1 = (x))
881#define WR_EE_D1_CHCR(x) (*R_EE_D1_CHCR = (x))
882#define WR_EE_D1_MADR(x) (*R_EE_D1_MADR = (x))
883#define WR_EE_D1_QWC(x) (*R_EE_D1_QWC = (x))
884#define WR_EE_D1_TADR(x) (*R_EE_D1_TADR = (x))
885#define WR_EE_D1_ASR0(x) (*R_EE_D1_ASR0 = (x))
886#define WR_EE_D1_ASR1(x) (*R_EE_D1_ASR1 = (x))
887#define WR_EE_D2_CHCR(x) (*R_EE_D2_CHCR = (x))
888#define WR_EE_D2_MADR(x) (*R_EE_D2_MADR = (x))
889#define WR_EE_D2_QWC(x) (*R_EE_D2_QWC = (x))
890#define WR_EE_D2_TADR(x) (*R_EE_D2_TADR = (x))
891#define WR_EE_D2_ASR0(x) (*R_EE_D2_ASR0 = (x))
892#define WR_EE_D2_ASR1(x) (*R_EE_D2_ASR1 = (x))
893#define WR_EE_D3_CHCR(x) (*R_EE_D3_CHCR = (x))
894#define WR_EE_D3_MADR(x) (*R_EE_D3_MADR = (x))
895#define WR_EE_D3_QWC(x) (*R_EE_D3_QWC = (x))
896#define WR_EE_D4_CHCR(x) (*R_EE_D4_CHCR = (x))
897#define WR_EE_D4_MADR(x) (*R_EE_D4_MADR = (x))
898#define WR_EE_D4_QWC(x) (*R_EE_D4_QWC = (x))
899#define WR_EE_D4_TADR(x) (*R_EE_D4_TADR = (x))
900#define WR_EE_D5_CHCR(x) (*R_EE_D5_CHCR = (x))
901#define WR_EE_D5_MADR(x) (*R_EE_D5_MADR = (x))
902#define WR_EE_D5_QWC(x) (*R_EE_D5_QWC = (x))
903#define WR_EE_D6_CHCR(x) (*R_EE_D6_CHCR = (x))
904#define WR_EE_D6_MADR(x) (*R_EE_D6_MADR = (x))
905#define WR_EE_D6_QWC(x) (*R_EE_D6_QWC = (x))
906#define WR_EE_D6_TADR(x) (*R_EE_D6_TADR = (x))
907#define WR_EE_D7_CHCR(x) (*R_EE_D7_CHCR = (x))
908#define WR_EE_D7_MADR(x) (*R_EE_D7_MADR = (x))
909#define WR_EE_D7_QWC(x) (*R_EE_D7_QWC = (x))
910#define WR_EE_D8_CHCR(x) (*R_EE_D8_CHCR = (x))
911#define WR_EE_D8_MADR(x) (*R_EE_D8_MADR = (x))
912#define WR_EE_D8_QWC(x) (*R_EE_D8_QWC = (x))
913#define WR_EE_D8_SADR(x) (*R_EE_D8_SADR = (x))
914#define WR_EE_D9_CHCR(x) (*R_EE_D9_CHCR = (x))
915#define WR_EE_D9_MADR(x) (*R_EE_D9_MADR = (x))
916#define WR_EE_D9_QWC(x) (*R_EE_D9_QWC = (x))
917#define WR_EE_D9_TADR(x) (*R_EE_D9_TADR = (x))
918#define WR_EE_D9_SADR(x) (*R_EE_D9_SADR = (x))
919#define WR_EE_D_CTRL(x) (*R_EE_D_CTRL = (x))
920#define WR_EE_D_STAT(x) (*R_EE_D_STAT = (x))
921#define WR_EE_D_PCR(x) (*R_EE_D_PCR = (x))
922#define WR_EE_D_SQWC(x) (*R_EE_D_SQWC = (x))
923#define WR_EE_D_RBSR(x) (*R_EE_D_RBSR = (x))
924#define WR_EE_D_RBOR(x) (*R_EE_D_RBOR = (x))
925#define WR_EE_D_STADR(x) (*R_EE_D_STADR = (x))
926#define WR_EE_I_STAT(x) (*R_EE_I_STAT = (x))
927#define WR_EE_I_MASK(x) (*R_EE_I_MASK = (x))
928/* No setter for R_EE_SIO_LCR */
929/* No setter for R_EE_SIO_LSR */
930/* No setter for R_EE_SIO_IER */
931/* No setter for R_EE_SIO_ISR */
932/* No setter for R_EE_SIO_FCR */
933/* No setter for R_EE_SIO_BRC */
934/* No setter for R_EE_SIO_REG60 */
935/* No setter for R_EE_SIO_REG70 */
936/* No setter for R_EE_SIO_TXFIFO */
937/* No setter for R_EE_SIO_REG90 */
938/* No setter for R_EE_SIO_REGA0 */
939/* No setter for R_EE_SIO_REGB0 */
940/* No setter for R_EE_SIO_RXFIFO */
941/* No setter for R_EE_SBUS_MADDR */
942/* No setter for R_EE_SBUS_SADDR */
943/* No setter for R_EE_SBUS_MSFLAG */
944/* No setter for R_EE_SBUS_SMFLAG */
945/* No setter for R_EE_SBUS_REG40 */
946/* No setter for R_EE_SBUS_REG50 */
947/* No setter for R_EE_SBUS_REG60 */
948/* No setter for R_EE_SBUS_REG70 */
949/* No setter for R_EE_SBUS_REG80 */
950/* No setter for R_EE_SBUS_REG90 */
951/* No setter for R_EE_SBUS_REGA0 */
952/* No setter for R_EE_SBUS_REGB0 */
953/* No setter for R_EE_SBUS_REGC0 */
954/* No setter for R_EE_SBUS_REGD0 */
955/* No setter for R_EE_SBUS_REGE0 */
956/* No setter for R_EE_SBUS_REGF0 */
957/* No setter for R_EE_PGIF_GPU_STAT */
958/* No setter for R_EE_PGIF_REG10 */
959/* No setter for R_EE_PGIF_REG20 */
960/* No setter for R_EE_PGIF_REG30 */
961/* No setter for R_EE_PGIF_REG40 */
962/* No setter for R_EE_PGIF_REG50 */
963/* No setter for R_EE_PGIF_REG60 */
964/* No setter for R_EE_PGIF_REG70 */
965/* No setter for R_EE_PGIF_CFIFO_STAT */
966/* No setter for R_EE_PGIF_REG90 */
967/* No setter for R_EE_PGIF_REGA0 */
968/* No setter for R_EE_PGIF_REGB0 */
969/* No setter for R_EE_PGIF_CFIFO_DATA */
970/* No setter for R_EE_PGIF_REGD0 */
971/* No setter for R_EE_PGIF_REGE0 */
972/* No setter for R_EE_PGIF_REGF0 */
973#define WR_EE_D_ENABLER(x) (*R_EE_D_ENABLER = (x))
974#define WR_EE_D_ENABLEW(x) (*R_EE_D_ENABLEW = (x))
975#define WR_EE_GS_PMODE(x) (*R_EE_GS_PMODE = (x))
976/* No setter for R_EE_GS_SMODE1 */
977#define WR_EE_GS_SMODE2(x) (*R_EE_GS_SMODE2 = (x))
978/* No setter for R_EE_GS_SRFSH */
979/* No setter for R_EE_GS_SYNCH1 */
980/* No setter for R_EE_GS_SYNCH2 */
981/* No setter for R_EE_GS_SYNCV */
982#define WR_EE_GS_DISPFB1(x) (*R_EE_GS_DISPFB1 = (x))
983#define WR_EE_GS_DISPLAY1(x) (*R_EE_GS_DISPLAY1 = (x))
984#define WR_EE_GS_DISPFB2(x) (*R_EE_GS_DISPFB2 = (x))
985#define WR_EE_GS_DISPLAY2(x) (*R_EE_GS_DISPLAY2 = (x))
986#define WR_EE_GS_EXTBUF(x) (*R_EE_GS_EXTBUF = (x))
987#define WR_EE_GS_EXTDATA(x) (*R_EE_GS_EXTDATA = (x))
988#define WR_EE_GS_EXTWRITE(x) (*R_EE_GS_EXTWRITE = (x))
989#define WR_EE_GS_BGCOLOR(x) (*R_EE_GS_BGCOLOR = (x))
990#define WR_EE_GS_CSR(x) (*R_EE_GS_CSR = (x))
991#define WR_EE_GS_IMR(x) (*R_EE_GS_IMR = (x))
992#define WR_EE_GS_BUSDIR(x) (*R_EE_GS_BUSDIR = (x))
993/* No setter for R_EE_GS_SIGLBLID */
994
995#define EE_CHCR_MOD_NORM (0)
996#define EE_CHCR_MOD_CHAIN (1)
997#define EE_CHCR_MOD_INTER (2)
998
999#define EE_CHCR_MOD (3 << 2)
1000#define EE_CHCR_ASP (3 << 4)
1001#define EE_CHCR_TTE (1 << 6)
1002#define EE_CHCR_TIE (1 << 7)
1003#define EE_CHCR_STR (1 << 8)
1004
1005#define EE_I_STAT_GS (1 << 0)
1006#define EE_I_STAT_SBUS (1 << 1)
1007#define EE_I_STAT_VSS (1 << 2)
1008#define EE_I_STAT_VSE (1 << 3)
1009
1010#endif /* __EE_REGS_H__ */