Go to the documentation of this file.
20 #if !defined (_W100FB_H)
24 #define mmCHIP_ID 0x0000
25 #define mmREVISION_ID 0x0004
26 #define mmWRAP_BUF_A 0x0008
27 #define mmWRAP_BUF_B 0x000C
28 #define mmWRAP_TOP_DIR 0x0010
29 #define mmWRAP_START_DIR 0x0014
30 #define mmCIF_CNTL 0x0018
31 #define mmCFGREG_BASE 0x001C
32 #define mmCIF_IO 0x0020
33 #define mmCIF_READ_DBG 0x0024
34 #define mmCIF_WRITE_DBG 0x0028
35 #define cfgIND_ADDR_A_0 0x0000
36 #define cfgIND_ADDR_A_1 0x0001
37 #define cfgIND_ADDR_A_2 0x0002
38 #define cfgIND_DATA_A 0x0003
39 #define cfgREG_BASE 0x0004
40 #define cfgINTF_CNTL 0x0005
41 #define cfgSTATUS 0x0006
42 #define cfgCPU_DEFAULTS 0x0007
43 #define cfgIND_ADDR_B_0 0x0008
44 #define cfgIND_ADDR_B_1 0x0009
45 #define cfgIND_ADDR_B_2 0x000A
46 #define cfgIND_DATA_B 0x000B
47 #define cfgPM4_RPTR 0x000C
48 #define cfgSCRATCH 0x000D
49 #define cfgPM4_WRPTR_0 0x000E
50 #define cfgPM4_WRPTR_1 0x000F
54 #define mmSCRATCH_UMSK 0x0280
55 #define mmSCRATCH_ADDR 0x0284
56 #define mmGEN_INT_CNTL 0x0200
57 #define mmGEN_INT_STATUS 0x0204
61 #define mmLCD_FORMAT 0x0410
62 #define mmGRAPHIC_CTRL 0x0414
63 #define mmGRAPHIC_OFFSET 0x0418
64 #define mmGRAPHIC_PITCH 0x041C
65 #define mmCRTC_TOTAL 0x0420
66 #define mmACTIVE_H_DISP 0x0424
67 #define mmACTIVE_V_DISP 0x0428
68 #define mmGRAPHIC_H_DISP 0x042C
69 #define mmGRAPHIC_V_DISP 0x0430
70 #define mmVIDEO_CTRL 0x0434
71 #define mmGRAPHIC_KEY 0x0438
72 #define mmBRIGHTNESS_CNTL 0x045C
73 #define mmDISP_INT_CNTL 0x0488
74 #define mmCRTC_SS 0x048C
75 #define mmCRTC_LS 0x0490
76 #define mmCRTC_REV 0x0494
77 #define mmCRTC_DCLK 0x049C
78 #define mmCRTC_GS 0x04A0
79 #define mmCRTC_VPOS_GS 0x04A4
80 #define mmCRTC_GCLK 0x04A8
81 #define mmCRTC_GOE 0x04AC
82 #define mmCRTC_FRAME 0x04B0
83 #define mmCRTC_FRAME_VPOS 0x04B4
84 #define mmGPIO_DATA 0x04B8
85 #define mmGPIO_CNTL1 0x04BC
86 #define mmGPIO_CNTL2 0x04C0
87 #define mmLCDD_CNTL1 0x04C4
88 #define mmLCDD_CNTL2 0x04C8
89 #define mmGENLCD_CNTL1 0x04CC
90 #define mmGENLCD_CNTL2 0x04D0
91 #define mmDISP_DEBUG 0x04D4
92 #define mmDISP_DB_BUF_CNTL 0x04D8
93 #define mmDISP_CRC_SIG 0x04DC
94 #define mmCRTC_DEFAULT_COUNT 0x04E0
95 #define mmLCD_BACKGROUND_COLOR 0x04E4
96 #define mmCRTC_PS2 0x04E8
97 #define mmCRTC_PS2_VPOS 0x04EC
98 #define mmCRTC_PS1_ACTIVE 0x04F0
99 #define mmCRTC_PS1_NACTIVE 0x04F4
100 #define mmCRTC_GCLK_EXT 0x04F8
101 #define mmCRTC_ALW 0x04FC
102 #define mmCRTC_ALW_VPOS 0x0500
103 #define mmCRTC_PSK 0x0504
104 #define mmCRTC_PSK_HPOS 0x0508
105 #define mmCRTC_CV4_START 0x050C
106 #define mmCRTC_CV4_END 0x0510
107 #define mmCRTC_CV4_HPOS 0x0514
108 #define mmCRTC_ECK 0x051C
109 #define mmREFRESH_CNTL 0x0520
110 #define mmGENLCD_CNTL3 0x0524
111 #define mmGPIO_DATA2 0x0528
112 #define mmGPIO_CNTL3 0x052C
113 #define mmGPIO_CNTL4 0x0530
114 #define mmCHIP_STRAP 0x0534
115 #define mmDISP_DEBUG2 0x0538
116 #define mmDEBUG_BUS_CNTL 0x053C
117 #define mmGAMMA_VALUE1 0x0540
118 #define mmGAMMA_VALUE2 0x0544
119 #define mmGAMMA_SLOPE 0x0548
120 #define mmGEN_STATUS 0x054C
121 #define mmHW_INT 0x0550
125 #define mmDST_OFFSET 0x1004
126 #define mmDST_PITCH 0x1008
127 #define mmDST_Y_X 0x1038
128 #define mmDST_WIDTH_HEIGHT 0x1198
129 #define mmDP_GUI_MASTER_CNTL 0x106C
130 #define mmBRUSH_OFFSET 0x108C
131 #define mmBRUSH_Y_X 0x1074
132 #define mmDP_BRUSH_FRGD_CLR 0x107C
133 #define mmSRC_OFFSET 0x11AC
134 #define mmSRC_PITCH 0x11B0
135 #define mmSRC_Y_X 0x1034
136 #define mmDEFAULT_PITCH_OFFSET 0x10A0
137 #define mmDEFAULT_SC_BOTTOM_RIGHT 0x10A8
138 #define mmDEFAULT2_SC_BOTTOM_RIGHT 0x10AC
139 #define mmSC_TOP_LEFT 0x11BC
140 #define mmSC_BOTTOM_RIGHT 0x11C0
141 #define mmSRC_SC_BOTTOM_RIGHT 0x11C4
142 #define mmGLOBAL_ALPHA 0x1210
143 #define mmFILTER_COEF 0x1214
144 #define mmMVC_CNTL_START 0x11E0
145 #define mmE2_ARITHMETIC_CNTL 0x1220
146 #define mmDP_CNTL 0x11C8
147 #define mmDP_CNTL_DST_DIR 0x11CC
148 #define mmDP_DATATYPE 0x12C4
149 #define mmDP_MIX 0x12C8
150 #define mmDP_WRITE_MSK 0x12CC
151 #define mmENG_CNTL 0x13E8
152 #define mmENG_PERF_CNT 0x13F0
156 #define mmIDCT_RUNS 0x0C00
157 #define mmIDCT_LEVELS 0x0C04
158 #define mmIDCT_CONTROL 0x0C3C
159 #define mmIDCT_AUTH_CONTROL 0x0C08
160 #define mmIDCT_AUTH 0x0C0C
164 #define mmMEM_CNTL 0x0180
165 #define mmMEM_ARB 0x0184
166 #define mmMC_FB_LOCATION 0x0188
167 #define mmMEM_EXT_CNTL 0x018C
168 #define mmMC_EXT_MEM_LOCATION 0x0190
169 #define mmMEM_EXT_TIMING_CNTL 0x0194
170 #define mmMEM_SDRAM_MODE_REG 0x0198
171 #define mmMEM_IO_CNTL 0x019C
172 #define mmMC_DEBUG 0x01A0
173 #define mmMC_BIST_CTRL 0x01A4
174 #define mmMC_BIST_COLLAR_READ 0x01A8
175 #define mmTC_MISMATCH 0x01AC
176 #define mmMC_PERF_MON_CNTL 0x01B0
177 #define mmMC_PERF_COUNTERS 0x01B4
181 #define mmBM_EXT_MEM_BANDWIDTH 0x0A00
182 #define mmBM_OFFSET 0x0A04
183 #define mmBM_MEM_EXT_TIMING_CNTL 0x0A08
184 #define mmBM_MEM_EXT_CNTL 0x0A0C
185 #define mmBM_MEM_MODE_REG 0x0A10
186 #define mmBM_MEM_IO_CNTL 0x0A18
187 #define mmBM_CONFIG 0x0A1C
188 #define mmBM_STATUS 0x0A20
189 #define mmBM_DEBUG 0x0A24
190 #define mmBM_PERF_MON_CNTL 0x0A28
191 #define mmBM_PERF_COUNTERS 0x0A2C
192 #define mmBM_PERF2_MON_CNTL 0x0A30
193 #define mmBM_PERF2_COUNTERS 0x0A34
197 #define mmWAIT_UNTIL 0x1400
198 #define mmISYNC_CNTL 0x1404
199 #define mmRBBM_STATUS 0x0140
200 #define mmRBBM_CNTL 0x0144
201 #define mmNQWAIT_UNTIL 0x0150
205 #define mmCLK_PIN_CNTL 0x0080
206 #define mmPLL_REF_FB_DIV 0x0084
207 #define mmPLL_CNTL 0x0088
208 #define mmSCLK_CNTL 0x008C
209 #define mmPCLK_CNTL 0x0090
210 #define mmCLK_TEST_CNTL 0x0094
211 #define mmPWRMGT_CNTL 0x0098
212 #define mmPWRMGT_STATUS 0x009C
216 #define defWRAP_TOP_DIR 0x00000000
217 #define defWRAP_START_DIR 0x00000000
218 #define defCFGREG_BASE 0x00000000
219 #define defCIF_IO 0x000C0902
220 #define defINTF_CNTL 0x00000011
221 #define defCPU_DEFAULTS 0x00000006
222 #define defHW_INT 0x00000000
223 #define defMC_EXT_MEM_LOCATION 0x07ff0000
224 #define defTC_MISMATCH 0x00000000
226 #define W100_CFG_BASE 0x0
227 #define W100_CFG_LEN 0x10
228 #define W100_REG_BASE 0x10000
229 #define W100_REG_LEN 0x2000
230 #define MEM_INT_BASE_VALUE 0x100000
231 #define MEM_EXT_BASE_VALUE 0x800000
232 #define MEM_INT_SIZE 0x05ffff
233 #define MEM_WINDOW_BASE 0x100000
234 #define MEM_WINDOW_SIZE 0xf00000
236 #define WRAP_BUF_BASE_VALUE 0x80000
237 #define WRAP_BUF_TOP_VALUE 0xbffff
239 #define CHIP_ID_W100 0x57411002
240 #define CHIP_ID_W3200 0x56441002
241 #define CHIP_ID_W3220 0x57441002
749 #define TESTCLK_SRC_PLL 0x01
750 #define TESTCLK_SRC_SCLK 0x02
751 #define TESTCLK_SRC_PCLK 0x03
753 #define TESTCLK_SRC_XTAL 0x06
787 #define SRC_DATATYPE_EQU_DST 3
789 #define ROP3_SRCCOPY 0xcc
790 #define ROP3_PATCOPY 0xf0
792 #define GMC_BRUSH_SOLID_COLOR 13
793 #define GMC_BRUSH_NONE 15
795 #define DP_SRC_MEM_RECTANGULAR 2