2 * PKUnity UNIGFX Registers
5 #define UDE_BASE (PKUNITY_UNIGFX_BASE + 0x1400)
6 #define UGE_BASE (PKUNITY_UNIGFX_BASE + 0x0000)
9 * command reg for UNIGFX DE
14 #define UDE_CFG __REG(UDE_BASE + 0x0000)
16 * framebuffer start address reg UDE_FSA
18 #define UDE_FSA __REG(UDE_BASE + 0x0004)
20 * line size reg UDE_LS
22 #define UDE_LS __REG(UDE_BASE + 0x0008)
24 * pitch size reg UDE_PS
26 #define UDE_PS __REG(UDE_BASE + 0x000C)
28 * horizontal active time reg UDE_HAT
30 #define UDE_HAT __REG(UDE_BASE + 0x0010)
32 * horizontal blank time reg UDE_HBT
34 #define UDE_HBT __REG(UDE_BASE + 0x0014)
36 * horizontal sync time reg UDE_HST
38 #define UDE_HST __REG(UDE_BASE + 0x0018)
40 * vertival active time reg UDE_VAT
42 #define UDE_VAT __REG(UDE_BASE + 0x001C)
44 * vertival blank time reg UDE_VBT
46 #define UDE_VBT __REG(UDE_BASE + 0x0020)
48 * vertival sync time reg UDE_VST
50 #define UDE_VST __REG(UDE_BASE + 0x0024)
52 * cursor position UDE_CXY
54 #define UDE_CXY __REG(UDE_BASE + 0x0028)
56 * cursor front color UDE_CC0
58 #define UDE_CC0 __REG(UDE_BASE + 0x002C)
60 * cursor background color UDE_CC1
62 #define UDE_CC1 __REG(UDE_BASE + 0x0030)
64 * video position UDE_VXY
66 #define UDE_VXY __REG(UDE_BASE + 0x0034)
68 * video start address reg UDE_VSA
70 #define UDE_VSA __REG(UDE_BASE + 0x0040)
72 * video size reg UDE_VS
74 #define UDE_VS __REG(UDE_BASE + 0x004C)
77 * command reg for UNIGFX GE
80 * src xy reg UGE_SRCXY
82 #define UGE_SRCXY __REG(UGE_BASE + 0x0000)
84 * dst xy reg UGE_DSTXY
86 #define UGE_DSTXY __REG(UGE_BASE + 0x0004)
90 #define UGE_PITCH __REG(UGE_BASE + 0x0008)
92 * src start reg UGE_SRCSTART
94 #define UGE_SRCSTART __REG(UGE_BASE + 0x000C)
96 * dst start reg UGE_DSTSTART
98 #define UGE_DSTSTART __REG(UGE_BASE + 0x0010)
100 * width height reg UGE_WIDHEIGHT
102 #define UGE_WIDHEIGHT __REG(UGE_BASE + 0x0014)
104 * rop alpah reg UGE_ROPALPHA
106 #define UGE_ROPALPHA __REG(UGE_BASE + 0x0018)
108 * front color UGE_FCOLOR
110 #define UGE_FCOLOR __REG(UGE_BASE + 0x001C)
112 * background color UGE_BCOLOR
114 #define UGE_BCOLOR __REG(UGE_BASE + 0x0020)
116 * src color key for high value UGE_SCH
118 #define UGE_SCH __REG(UGE_BASE + 0x0024)
120 * dst color key for high value UGE_DCH
122 #define UGE_DCH __REG(UGE_BASE + 0x0028)
124 * src color key for low value UGE_SCL
126 #define UGE_SCL __REG(UGE_BASE + 0x002C)
128 * dst color key for low value UGE_DCL
130 #define UGE_DCL __REG(UGE_BASE + 0x0030)
132 * clip 0 reg UGE_CLIP0
134 #define UGE_CLIP0 __REG(UGE_BASE + 0x0034)
136 * clip 1 reg UGE_CLIP1
138 #define UGE_CLIP1 __REG(UGE_BASE + 0x0038)
140 * command reg UGE_COMMAND
142 #define UGE_COMMAND __REG(UGE_BASE + 0x003C)
146 #define UGE_P0 __REG(UGE_BASE + 0x0040)
147 #define UGE_P1 __REG(UGE_BASE + 0x0044)
148 #define UGE_P2 __REG(UGE_BASE + 0x0048)
149 #define UGE_P3 __REG(UGE_BASE + 0x004C)
150 #define UGE_P4 __REG(UGE_BASE + 0x0050)
151 #define UGE_P5 __REG(UGE_BASE + 0x0054)
152 #define UGE_P6 __REG(UGE_BASE + 0x0058)
153 #define UGE_P7 __REG(UGE_BASE + 0x005C)
154 #define UGE_P8 __REG(UGE_BASE + 0x0060)
155 #define UGE_P9 __REG(UGE_BASE + 0x0064)
156 #define UGE_P10 __REG(UGE_BASE + 0x0068)
157 #define UGE_P11 __REG(UGE_BASE + 0x006C)
158 #define UGE_P12 __REG(UGE_BASE + 0x0070)
159 #define UGE_P13 __REG(UGE_BASE + 0x0074)
160 #define UGE_P14 __REG(UGE_BASE + 0x0078)
161 #define UGE_P15 __REG(UGE_BASE + 0x007C)
162 #define UGE_P16 __REG(UGE_BASE + 0x0080)
163 #define UGE_P17 __REG(UGE_BASE + 0x0084)
164 #define UGE_P18 __REG(UGE_BASE + 0x0088)
165 #define UGE_P19 __REG(UGE_BASE + 0x008C)
166 #define UGE_P20 __REG(UGE_BASE + 0x0090)
167 #define UGE_P21 __REG(UGE_BASE + 0x0094)
168 #define UGE_P22 __REG(UGE_BASE + 0x0098)
169 #define UGE_P23 __REG(UGE_BASE + 0x009C)
170 #define UGE_P24 __REG(UGE_BASE + 0x00A0)
171 #define UGE_P25 __REG(UGE_BASE + 0x00A4)
172 #define UGE_P26 __REG(UGE_BASE + 0x00A8)
173 #define UGE_P27 __REG(UGE_BASE + 0x00AC)
174 #define UGE_P28 __REG(UGE_BASE + 0x00B0)
175 #define UGE_P29 __REG(UGE_BASE + 0x00B4)
176 #define UGE_P30 __REG(UGE_BASE + 0x00B8)
177 #define UGE_P31 __REG(UGE_BASE + 0x00BC)
179 #define UDE_CFG_DST_MASK FMASK(2, 8)
180 #define UDE_CFG_DST8 FIELD(0x0, 2, 8)
181 #define UDE_CFG_DST16 FIELD(0x1, 2, 8)
182 #define UDE_CFG_DST24 FIELD(0x2, 2, 8)
183 #define UDE_CFG_DST32 FIELD(0x3, 2, 8)
186 * GDEN enable UDE_CFG_GDEN_ENABLE
188 #define UDE_CFG_GDEN_ENABLE FIELD(1, 1, 3)
190 * VDEN enable UDE_CFG_VDEN_ENABLE
192 #define UDE_CFG_VDEN_ENABLE FIELD(1, 1, 4)
194 * CDEN enable UDE_CFG_CDEN_ENABLE
196 #define UDE_CFG_CDEN_ENABLE FIELD(1, 1, 5)
198 * TIMEUP enable UDE_CFG_TIMEUP_ENABLE
200 #define UDE_CFG_TIMEUP_ENABLE FIELD(1, 1, 6)
This page took 0.0427 seconds and 5 git commands to generate.