0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef __I810_REGS_H__
0030 #define __I810_REGS_H__
0031
0032
0033 #define FENCE 0x02000
0034 #define PGTBL_CTL 0x02020
0035 #define PGTBL_ER 0x02024
0036 #define LRING 0x02030
0037 #define IRING 0x02040
0038 #define HWS_PGA 0x02080
0039 #define IPEIR 0x02088
0040 #define IPEHR 0x0208C
0041 #define INSTDONE 0x02090
0042 #define NOPID 0x02094
0043 #define HWSTAM 0x02098
0044 #define IER 0x020A0
0045 #define IIR 0x020A4
0046 #define IMR 0x020A8
0047 #define ISR 0x020AC
0048 #define EIR 0x020B0
0049 #define EMR 0x020B4
0050 #define ESR 0x020B8
0051 #define INSTPM 0x020C0
0052 #define INSTPS 0x020C4
0053 #define BBP_PTR 0x020C8
0054 #define ABB_SRT 0x020CC
0055 #define ABB_END 0x020D0
0056 #define DMA_FADD 0x020D4
0057 #define FW_BLC 0x020D8
0058 #define MEM_MODE 0x020DC
0059
0060
0061 #define DRT 0x03000
0062 #define DRAMCL 0x03001
0063 #define DRAMCH 0x03002
0064
0065
0066
0067 #define UI_SC_CTL 0x04008
0068
0069
0070 #define HVSYNC 0x05000
0071 #define GPIOA 0x05010
0072 #define GPIOB 0x05014
0073 #define GPIOC 0x0501C
0074
0075
0076 #define DCLK_0D 0x06000
0077 #define DCLK_1D 0x06004
0078 #define DCLK_2D 0x06008
0079 #define LCD_CLKD 0x0600C
0080 #define DCLK_0DS 0x06010
0081 #define PWR_CLKC 0x06014
0082
0083
0084 #define GTT 0x10000
0085
0086
0087 #define OVOADDR 0x30000
0088 #define DOVOSTA 0x30008
0089 #define GAMMA 0x30010
0090 #define OBUF_0Y 0x30100
0091 #define OBUF_1Y 0x30104
0092 #define OBUF_0U 0x30108
0093 #define OBUF_0V 0x3010C
0094 #define OBUF_1U 0x30110
0095 #define OBUF_1V 0x30114
0096 #define OVOSTRIDE 0x30118
0097 #define YRGB_VPH 0x3011C
0098 #define UV_VPH 0x30120
0099 #define HORZ_PH 0x30124
0100 #define INIT_PH 0x30128
0101 #define DWINPOS 0x3012C
0102 #define DWINSZ 0x30130
0103 #define SWID 0x30134
0104 #define SWIDQW 0x30138
0105 #define SHEIGHT 0x3013F
0106 #define YRGBSCALE 0x30140
0107 #define UVSCALE 0x30144
0108 #define OVOCLRCO 0x30148
0109 #define OVOCLRC1 0x3014C
0110 #define DCLRKV 0x30150
0111 #define DLCRKM 0x30154
0112 #define SCLRKVH 0x30158
0113 #define SCLRKVL 0x3015C
0114 #define SCLRKM 0x30160
0115 #define OVOCONF 0x30164
0116 #define OVOCMD 0x30168
0117 #define AWINPOS 0x30170
0118 #define AWINZ 0x30174
0119
0120
0121 #define BR00 0x40000
0122 #define BRO1 0x40004
0123 #define BR02 0x40008
0124 #define BR03 0x4000C
0125 #define BR04 0x40010
0126 #define BR05 0x40014
0127 #define BR06 0x40018
0128 #define BR07 0x4001C
0129 #define BR08 0x40020
0130 #define BR09 0x40024
0131 #define BR10 0x40028
0132 #define BR11 0x4002C
0133 #define BR12 0x40030
0134 #define BR13 0x40034
0135 #define BR14 0x40038
0136 #define BR15 0x4003C
0137 #define BR16 0x40040
0138 #define BR17 0x40044
0139 #define BR18 0x40048
0140 #define BR19 0x4004C
0141 #define SSLADD 0x40074
0142 #define DSLH 0x40078
0143 #define DSLRADD 0x4007C
0144
0145
0146
0147
0148 #define HTOTAL 0x60000
0149 #define HBLANK 0x60004
0150 #define HSYNC 0x60008
0151 #define VTOTAL 0x6000C
0152 #define VBLANK 0x60010
0153 #define VSYNC 0x60014
0154 #define LCDTV_C 0x60018
0155 #define OVRACT 0x6001C
0156 #define BCLRPAT 0x60020
0157
0158
0159 #define DISP_SL 0x70000
0160 #define DISP_SLC 0x70004
0161 #define PIXCONF 0x70008
0162 #define PIXCONF1 0x70009
0163 #define BLTCNTL 0x7000C
0164 #define SWF 0x70014
0165 #define DPLYBASE 0x70020
0166 #define DPLYSTAS 0x70024
0167 #define CURCNTR 0x70080
0168 #define CURBASE 0x70084
0169 #define CURPOS 0x70088
0170
0171
0172
0173
0174
0175 #define SMRAM 0x10
0176
0177
0178 #define GR_INDEX 0x3CE
0179 #define GR_DATA 0x3CF
0180
0181 #define GR10 0x10
0182 #define GR11 0x11
0183
0184
0185 #define CR_INDEX_MDA 0x3B4
0186 #define CR_INDEX_CGA 0x3D4
0187 #define CR_DATA_MDA 0x3B5
0188 #define CR_DATA_CGA 0x3D5
0189
0190 #define CR30 0x30
0191 #define CR31 0x31
0192 #define CR32 0x32
0193 #define CR33 0x33
0194 #define CR35 0x35
0195 #define CR39 0x39
0196 #define CR40 0x40
0197 #define CR41 0x41
0198 #define CR42 0x42
0199 #define CR70 0x70
0200 #define CR80 0x80
0201 #define CR81 0x82
0202
0203
0204
0205
0206 #define ST00 0x3C2
0207 #define ST01_MDA 0x3BA
0208 #define ST01_CGA 0x3DA
0209 #define FRC_READ 0x3CA
0210 #define FRC_WRITE_MDA 0x3BA
0211 #define FRC_WRITE_CGA 0x3DA
0212 #define MSR_READ 0x3CC
0213 #define MSR_WRITE 0x3C2
0214
0215
0216 #define SR_INDEX 0x3C4
0217 #define SR_DATA 0x3C5
0218
0219 #define SR01 0x01
0220 #define SR02 0x02
0221 #define SR03 0x03
0222 #define SR04 0x04
0223 #define SR07 0x07
0224
0225
0226 #define GR00 0x00
0227 #define GR01 0x01
0228 #define GR02 0x02
0229 #define GR03 0x03
0230 #define GR04 0x04
0231 #define GR05 0x05
0232 #define GR06 0x06
0233 #define GR07 0x07
0234 #define GR08 0x08
0235
0236
0237 #define ATTR_WRITE 0x3C0
0238 #define ATTR_READ 0x3C1
0239
0240
0241
0242
0243 #define CLUT_DATA 0x3C9
0244 #define CLUT_INDEX_READ 0x3C7
0245 #define CLUT_INDEX_WRITE 0x3C8
0246 #define DACMASK 0x3C6
0247
0248
0249 #define CR00 0x00
0250 #define CR01 0x01
0251 #define CR02 0x02
0252 #define CR03 0x03
0253 #define CR04 0x04
0254 #define CR05 0x05
0255 #define CR06 0x06
0256 #define CR07 0x07
0257 #define CR08 0x08
0258 #define CR09 0x09
0259 #define CR0A 0x0A
0260 #define CR0B 0x0B
0261 #define CR0C 0x0C
0262 #define CR0D 0x0D
0263 #define CR0E 0x0E
0264 #define CR0F 0x0F
0265 #define CR10 0x10
0266 #define CR11 0x11
0267 #define CR12 0x12
0268 #define CR13 0x13
0269 #define CR14 0x14
0270 #define CR15 0x15
0271 #define CR16 0x16
0272 #define CR17 0x17
0273 #define CR18 0x18
0274
0275 #endif