18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  linux/drivers/video/kyro/STG4000Reg.h
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright (C) 2002 STMicroelectronics
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
78c2ecf20Sopenharmony_ci * License.  See the file COPYING in the main directory of this archive
88c2ecf20Sopenharmony_ci * for more details.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef _STG4000REG_H
128c2ecf20Sopenharmony_ci#define _STG4000REG_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define DWFILL unsigned long :32
158c2ecf20Sopenharmony_ci#define WFILL unsigned short :16
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci/*
188c2ecf20Sopenharmony_ci * Macros that access memory mapped card registers in PCI space
198c2ecf20Sopenharmony_ci * Add an appropriate section for your OS or processor architecture.
208c2ecf20Sopenharmony_ci */
218c2ecf20Sopenharmony_ci#if defined(__KERNEL__)
228c2ecf20Sopenharmony_ci#include <asm/page.h>
238c2ecf20Sopenharmony_ci#include <asm/io.h>
248c2ecf20Sopenharmony_ci#define STG_WRITE_REG(reg,data) (writel(data,&pSTGReg->reg))
258c2ecf20Sopenharmony_ci#define STG_READ_REG(reg)      (readl(&pSTGReg->reg))
268c2ecf20Sopenharmony_ci#else
278c2ecf20Sopenharmony_ci#define STG_WRITE_REG(reg,data) (pSTGReg->reg = data)
288c2ecf20Sopenharmony_ci#define STG_READ_REG(reg)      (pSTGReg->reg)
298c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#define SET_BIT(n) (1<<(n))
328c2ecf20Sopenharmony_ci#define CLEAR_BIT(n) (tmp &= ~(1<<n))
338c2ecf20Sopenharmony_ci#define CLEAR_BITS_FRM_TO(frm, to) \
348c2ecf20Sopenharmony_ci{\
358c2ecf20Sopenharmony_ciint i; \
368c2ecf20Sopenharmony_ci    for(i = frm; i<= to; i++) \
378c2ecf20Sopenharmony_ci	{ \
388c2ecf20Sopenharmony_ci	    tmp &= ~(1<<i); \
398c2ecf20Sopenharmony_ci	} \
408c2ecf20Sopenharmony_ci}
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci#define CLEAR_BIT_2(n) (usTemp &= ~(1<<n))
438c2ecf20Sopenharmony_ci#define CLEAR_BITS_FRM_TO_2(frm, to) \
448c2ecf20Sopenharmony_ci{\
458c2ecf20Sopenharmony_ciint i; \
468c2ecf20Sopenharmony_ci    for(i = frm; i<= to; i++) \
478c2ecf20Sopenharmony_ci	{ \
488c2ecf20Sopenharmony_ci	    usTemp &= ~(1<<i); \
498c2ecf20Sopenharmony_ci	} \
508c2ecf20Sopenharmony_ci}
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci/* LUT select */
538c2ecf20Sopenharmony_citypedef enum _LUT_USES {
548c2ecf20Sopenharmony_ci	NO_LUT = 0, RESERVED, GRAPHICS, OVERLAY
558c2ecf20Sopenharmony_ci} LUT_USES;
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci/* Primary surface pixel format select */
588c2ecf20Sopenharmony_citypedef enum _PIXEL_FORMAT {
598c2ecf20Sopenharmony_ci	_8BPP = 0, _15BPP, _16BPP, _24BPP, _32BPP
608c2ecf20Sopenharmony_ci} PIXEL_FORMAT;
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci/* Overlay blending mode select */
638c2ecf20Sopenharmony_citypedef enum _BLEND_MODE {
648c2ecf20Sopenharmony_ci	GRAPHICS_MODE = 0, COLOR_KEY, PER_PIXEL_ALPHA, GLOBAL_ALPHA,
658c2ecf20Sopenharmony_ci	CK_PIXEL_ALPHA, CK_GLOBAL_ALPHA
668c2ecf20Sopenharmony_ci} OVRL_BLEND_MODE;
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci/* Overlay Pixel format select */
698c2ecf20Sopenharmony_citypedef enum _OVRL_PIX_FORMAT {
708c2ecf20Sopenharmony_ci	UYVY, VYUY, YUYV, YVYU
718c2ecf20Sopenharmony_ci} OVRL_PIX_FORMAT;
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci/* Register Table */
748c2ecf20Sopenharmony_citypedef struct {
758c2ecf20Sopenharmony_ci	/* 0h  */
768c2ecf20Sopenharmony_ci	volatile u32 Thread0Enable;	/* 0x0000 */
778c2ecf20Sopenharmony_ci	volatile u32 Thread1Enable;	/* 0x0004 */
788c2ecf20Sopenharmony_ci	volatile u32 Thread0Recover;	/* 0x0008 */
798c2ecf20Sopenharmony_ci	volatile u32 Thread1Recover;	/* 0x000C */
808c2ecf20Sopenharmony_ci	volatile u32 Thread0Step;	/* 0x0010 */
818c2ecf20Sopenharmony_ci	volatile u32 Thread1Step;	/* 0x0014 */
828c2ecf20Sopenharmony_ci	volatile u32 VideoInStatus;	/* 0x0018 */
838c2ecf20Sopenharmony_ci	volatile u32 Core2InSignStart;	/* 0x001C */
848c2ecf20Sopenharmony_ci	volatile u32 Core1ResetVector;	/* 0x0020 */
858c2ecf20Sopenharmony_ci	volatile u32 Core1ROMOffset;	/* 0x0024 */
868c2ecf20Sopenharmony_ci	volatile u32 Core1ArbiterPriority;	/* 0x0028 */
878c2ecf20Sopenharmony_ci	volatile u32 VideoInControl;	/* 0x002C */
888c2ecf20Sopenharmony_ci	volatile u32 VideoInReg0CtrlA;	/* 0x0030 */
898c2ecf20Sopenharmony_ci	volatile u32 VideoInReg0CtrlB;	/* 0x0034 */
908c2ecf20Sopenharmony_ci	volatile u32 VideoInReg1CtrlA;	/* 0x0038 */
918c2ecf20Sopenharmony_ci	volatile u32 VideoInReg1CtrlB;	/* 0x003C */
928c2ecf20Sopenharmony_ci	volatile u32 Thread0Kicker;	/* 0x0040 */
938c2ecf20Sopenharmony_ci	volatile u32 Core2InputSign;	/* 0x0044 */
948c2ecf20Sopenharmony_ci	volatile u32 Thread0ProgCtr;	/* 0x0048 */
958c2ecf20Sopenharmony_ci	volatile u32 Thread1ProgCtr;	/* 0x004C */
968c2ecf20Sopenharmony_ci	volatile u32 Thread1Kicker;	/* 0x0050 */
978c2ecf20Sopenharmony_ci	volatile u32 GPRegister1;	/* 0x0054 */
988c2ecf20Sopenharmony_ci	volatile u32 GPRegister2;	/* 0x0058 */
998c2ecf20Sopenharmony_ci	volatile u32 GPRegister3;	/* 0x005C */
1008c2ecf20Sopenharmony_ci	volatile u32 GPRegister4;	/* 0x0060 */
1018c2ecf20Sopenharmony_ci	volatile u32 SerialIntA;	/* 0x0064 */
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ci	volatile u32 Fill0[6];	/* GAP 0x0068 - 0x007C */
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci	volatile u32 SoftwareReset;	/* 0x0080 */
1068c2ecf20Sopenharmony_ci	volatile u32 SerialIntB;	/* 0x0084 */
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci	volatile u32 Fill1[37];	/* GAP 0x0088 - 0x011C */
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci	volatile u32 ROMELQV;	/* 0x011C */
1118c2ecf20Sopenharmony_ci	volatile u32 WLWH;	/* 0x0120 */
1128c2ecf20Sopenharmony_ci	volatile u32 ROMELWL;	/* 0x0124 */
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci	volatile u32 dwFill_1;	/* GAP 0x0128 */
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ci	volatile u32 IntStatus;	/* 0x012C */
1178c2ecf20Sopenharmony_ci	volatile u32 IntMask;	/* 0x0130 */
1188c2ecf20Sopenharmony_ci	volatile u32 IntClear;	/* 0x0134 */
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci	volatile u32 Fill2[6];	/* GAP 0x0138 - 0x014C */
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci	volatile u32 ROMGPIOA;	/* 0x0150 */
1238c2ecf20Sopenharmony_ci	volatile u32 ROMGPIOB;	/* 0x0154 */
1248c2ecf20Sopenharmony_ci	volatile u32 ROMGPIOC;	/* 0x0158 */
1258c2ecf20Sopenharmony_ci	volatile u32 ROMGPIOD;	/* 0x015C */
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci	volatile u32 Fill3[2];	/* GAP 0x0160 - 0x0168 */
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci	volatile u32 AGPIntID;	/* 0x0168 */
1308c2ecf20Sopenharmony_ci	volatile u32 AGPIntClassCode;	/* 0x016C */
1318c2ecf20Sopenharmony_ci	volatile u32 AGPIntBIST;	/* 0x0170 */
1328c2ecf20Sopenharmony_ci	volatile u32 AGPIntSSID;	/* 0x0174 */
1338c2ecf20Sopenharmony_ci	volatile u32 AGPIntPMCSR;	/* 0x0178 */
1348c2ecf20Sopenharmony_ci	volatile u32 VGAFrameBufBase;	/* 0x017C */
1358c2ecf20Sopenharmony_ci	volatile u32 VGANotify;	/* 0x0180 */
1368c2ecf20Sopenharmony_ci	volatile u32 DACPLLMode;	/* 0x0184 */
1378c2ecf20Sopenharmony_ci	volatile u32 Core1VideoClockDiv;	/* 0x0188 */
1388c2ecf20Sopenharmony_ci	volatile u32 AGPIntStat;	/* 0x018C */
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ci	/*
1418c2ecf20Sopenharmony_ci	   volatile u32 Fill4[0x0400/4 - 0x0190/4]; //GAP 0x0190 - 0x0400
1428c2ecf20Sopenharmony_ci	   volatile u32 Fill5[0x05FC/4 - 0x0400/4]; //GAP 0x0400 - 0x05FC Fog Table
1438c2ecf20Sopenharmony_ci	   volatile u32 Fill6[0x0604/4 - 0x0600/4]; //GAP 0x0600 - 0x0604
1448c2ecf20Sopenharmony_ci	   volatile u32 Fill7[0x0680/4 - 0x0608/4]; //GAP 0x0608 - 0x0680
1458c2ecf20Sopenharmony_ci	   volatile u32 Fill8[0x07FC/4 - 0x0684/4]; //GAP 0x0684 - 0x07FC
1468c2ecf20Sopenharmony_ci	 */
1478c2ecf20Sopenharmony_ci	volatile u32 Fill4[412];	/* 0x0190 - 0x07FC */
1488c2ecf20Sopenharmony_ci
1498c2ecf20Sopenharmony_ci	volatile u32 TACtrlStreamBase;	/* 0x0800 */
1508c2ecf20Sopenharmony_ci	volatile u32 TAObjDataBase;	/* 0x0804 */
1518c2ecf20Sopenharmony_ci	volatile u32 TAPtrDataBase;	/* 0x0808 */
1528c2ecf20Sopenharmony_ci	volatile u32 TARegionDataBase;	/* 0x080C */
1538c2ecf20Sopenharmony_ci	volatile u32 TATailPtrBase;	/* 0x0810 */
1548c2ecf20Sopenharmony_ci	volatile u32 TAPtrRegionSize;	/* 0x0814 */
1558c2ecf20Sopenharmony_ci	volatile u32 TAConfiguration;	/* 0x0818 */
1568c2ecf20Sopenharmony_ci	volatile u32 TAObjDataStartAddr;	/* 0x081C */
1578c2ecf20Sopenharmony_ci	volatile u32 TAObjDataEndAddr;	/* 0x0820 */
1588c2ecf20Sopenharmony_ci	volatile u32 TAXScreenClip;	/* 0x0824 */
1598c2ecf20Sopenharmony_ci	volatile u32 TAYScreenClip;	/* 0x0828 */
1608c2ecf20Sopenharmony_ci	volatile u32 TARHWClamp;	/* 0x082C */
1618c2ecf20Sopenharmony_ci	volatile u32 TARHWCompare;	/* 0x0830 */
1628c2ecf20Sopenharmony_ci	volatile u32 TAStart;	/* 0x0834 */
1638c2ecf20Sopenharmony_ci	volatile u32 TAObjReStart;	/* 0x0838 */
1648c2ecf20Sopenharmony_ci	volatile u32 TAPtrReStart;	/* 0x083C */
1658c2ecf20Sopenharmony_ci	volatile u32 TAStatus1;	/* 0x0840 */
1668c2ecf20Sopenharmony_ci	volatile u32 TAStatus2;	/* 0x0844 */
1678c2ecf20Sopenharmony_ci	volatile u32 TAIntStatus;	/* 0x0848 */
1688c2ecf20Sopenharmony_ci	volatile u32 TAIntMask;	/* 0x084C */
1698c2ecf20Sopenharmony_ci
1708c2ecf20Sopenharmony_ci	volatile u32 Fill5[235];	/* GAP 0x0850 - 0x0BF8 */
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci	volatile u32 TextureAddrThresh;	/* 0x0BFC */
1738c2ecf20Sopenharmony_ci	volatile u32 Core1Translation;	/* 0x0C00 */
1748c2ecf20Sopenharmony_ci	volatile u32 TextureAddrReMap;	/* 0x0C04 */
1758c2ecf20Sopenharmony_ci	volatile u32 RenderOutAGPRemap;	/* 0x0C08 */
1768c2ecf20Sopenharmony_ci	volatile u32 _3DRegionReadTrans;	/* 0x0C0C */
1778c2ecf20Sopenharmony_ci	volatile u32 _3DPtrReadTrans;	/* 0x0C10 */
1788c2ecf20Sopenharmony_ci	volatile u32 _3DParamReadTrans;	/* 0x0C14 */
1798c2ecf20Sopenharmony_ci	volatile u32 _3DRegionReadThresh;	/* 0x0C18 */
1808c2ecf20Sopenharmony_ci	volatile u32 _3DPtrReadThresh;	/* 0x0C1C */
1818c2ecf20Sopenharmony_ci	volatile u32 _3DParamReadThresh;	/* 0x0C20 */
1828c2ecf20Sopenharmony_ci	volatile u32 _3DRegionReadAGPRemap;	/* 0x0C24 */
1838c2ecf20Sopenharmony_ci	volatile u32 _3DPtrReadAGPRemap;	/* 0x0C28 */
1848c2ecf20Sopenharmony_ci	volatile u32 _3DParamReadAGPRemap;	/* 0x0C2C */
1858c2ecf20Sopenharmony_ci	volatile u32 ZBufferAGPRemap;	/* 0x0C30 */
1868c2ecf20Sopenharmony_ci	volatile u32 TAIndexAGPRemap;	/* 0x0C34 */
1878c2ecf20Sopenharmony_ci	volatile u32 TAVertexAGPRemap;	/* 0x0C38 */
1888c2ecf20Sopenharmony_ci	volatile u32 TAUVAddrTrans;	/* 0x0C3C */
1898c2ecf20Sopenharmony_ci	volatile u32 TATailPtrCacheTrans;	/* 0x0C40 */
1908c2ecf20Sopenharmony_ci	volatile u32 TAParamWriteTrans;	/* 0x0C44 */
1918c2ecf20Sopenharmony_ci	volatile u32 TAPtrWriteTrans;	/* 0x0C48 */
1928c2ecf20Sopenharmony_ci	volatile u32 TAParamWriteThresh;	/* 0x0C4C */
1938c2ecf20Sopenharmony_ci	volatile u32 TAPtrWriteThresh;	/* 0x0C50 */
1948c2ecf20Sopenharmony_ci	volatile u32 TATailPtrCacheAGPRe;	/* 0x0C54 */
1958c2ecf20Sopenharmony_ci	volatile u32 TAParamWriteAGPRe;	/* 0x0C58 */
1968c2ecf20Sopenharmony_ci	volatile u32 TAPtrWriteAGPRe;	/* 0x0C5C */
1978c2ecf20Sopenharmony_ci	volatile u32 SDRAMArbiterConf;	/* 0x0C60 */
1988c2ecf20Sopenharmony_ci	volatile u32 SDRAMConf0;	/* 0x0C64 */
1998c2ecf20Sopenharmony_ci	volatile u32 SDRAMConf1;	/* 0x0C68 */
2008c2ecf20Sopenharmony_ci	volatile u32 SDRAMConf2;	/* 0x0C6C */
2018c2ecf20Sopenharmony_ci	volatile u32 SDRAMRefresh;	/* 0x0C70 */
2028c2ecf20Sopenharmony_ci	volatile u32 SDRAMPowerStat;	/* 0x0C74 */
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci	volatile u32 Fill6[2];	/* GAP 0x0C78 - 0x0C7C */
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ci	volatile u32 RAMBistData;	/* 0x0C80 */
2078c2ecf20Sopenharmony_ci	volatile u32 RAMBistCtrl;	/* 0x0C84 */
2088c2ecf20Sopenharmony_ci	volatile u32 FIFOBistKey;	/* 0x0C88 */
2098c2ecf20Sopenharmony_ci	volatile u32 RAMBistResult;	/* 0x0C8C */
2108c2ecf20Sopenharmony_ci	volatile u32 FIFOBistResult;	/* 0x0C90 */
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_ci	/*
2138c2ecf20Sopenharmony_ci	   volatile u32 Fill11[0x0CBC/4 - 0x0C94/4]; //GAP 0x0C94 - 0x0CBC
2148c2ecf20Sopenharmony_ci	   volatile u32 Fill12[0x0CD0/4 - 0x0CC0/4]; //GAP 0x0CC0 - 0x0CD0 3DRegisters
2158c2ecf20Sopenharmony_ci	 */
2168c2ecf20Sopenharmony_ci
2178c2ecf20Sopenharmony_ci	volatile u32 Fill7[16];	/* 0x0c94 - 0x0cd0 */
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ci	volatile u32 SDRAMAddrSign;	/* 0x0CD4 */
2208c2ecf20Sopenharmony_ci	volatile u32 SDRAMDataSign;	/* 0x0CD8 */
2218c2ecf20Sopenharmony_ci	volatile u32 SDRAMSignConf;	/* 0x0CDC */
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ci	/* DWFILL; //GAP 0x0CE0 */
2248c2ecf20Sopenharmony_ci	volatile u32 dwFill_2;
2258c2ecf20Sopenharmony_ci
2268c2ecf20Sopenharmony_ci	volatile u32 ISPSignature;	/* 0x0CE4 */
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci	volatile u32 Fill8[454];	/*GAP 0x0CE8 - 0x13FC */
2298c2ecf20Sopenharmony_ci
2308c2ecf20Sopenharmony_ci	volatile u32 DACPrimAddress;	/* 0x1400 */
2318c2ecf20Sopenharmony_ci	volatile u32 DACPrimSize;	/* 0x1404 */
2328c2ecf20Sopenharmony_ci	volatile u32 DACCursorAddr;	/* 0x1408 */
2338c2ecf20Sopenharmony_ci	volatile u32 DACCursorCtrl;	/* 0x140C */
2348c2ecf20Sopenharmony_ci	volatile u32 DACOverlayAddr;	/* 0x1410 */
2358c2ecf20Sopenharmony_ci	volatile u32 DACOverlayUAddr;	/* 0x1414 */
2368c2ecf20Sopenharmony_ci	volatile u32 DACOverlayVAddr;	/* 0x1418 */
2378c2ecf20Sopenharmony_ci	volatile u32 DACOverlaySize;	/* 0x141C */
2388c2ecf20Sopenharmony_ci	volatile u32 DACOverlayVtDec;	/* 0x1420 */
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ci	volatile u32 Fill9[9];	/* GAP 0x1424 - 0x1444 */
2418c2ecf20Sopenharmony_ci
2428c2ecf20Sopenharmony_ci	volatile u32 DACVerticalScal;	/* 0x1448 */
2438c2ecf20Sopenharmony_ci	volatile u32 DACPixelFormat;	/* 0x144C */
2448c2ecf20Sopenharmony_ci	volatile u32 DACHorizontalScal;	/* 0x1450 */
2458c2ecf20Sopenharmony_ci	volatile u32 DACVidWinStart;	/* 0x1454 */
2468c2ecf20Sopenharmony_ci	volatile u32 DACVidWinEnd;	/* 0x1458 */
2478c2ecf20Sopenharmony_ci	volatile u32 DACBlendCtrl;	/* 0x145C */
2488c2ecf20Sopenharmony_ci	volatile u32 DACHorTim1;	/* 0x1460 */
2498c2ecf20Sopenharmony_ci	volatile u32 DACHorTim2;	/* 0x1464 */
2508c2ecf20Sopenharmony_ci	volatile u32 DACHorTim3;	/* 0x1468 */
2518c2ecf20Sopenharmony_ci	volatile u32 DACVerTim1;	/* 0x146C */
2528c2ecf20Sopenharmony_ci	volatile u32 DACVerTim2;	/* 0x1470 */
2538c2ecf20Sopenharmony_ci	volatile u32 DACVerTim3;	/* 0x1474 */
2548c2ecf20Sopenharmony_ci	volatile u32 DACBorderColor;	/* 0x1478 */
2558c2ecf20Sopenharmony_ci	volatile u32 DACSyncCtrl;	/* 0x147C */
2568c2ecf20Sopenharmony_ci	volatile u32 DACStreamCtrl;	/* 0x1480 */
2578c2ecf20Sopenharmony_ci	volatile u32 DACLUTAddress;	/* 0x1484 */
2588c2ecf20Sopenharmony_ci	volatile u32 DACLUTData;	/* 0x1488 */
2598c2ecf20Sopenharmony_ci	volatile u32 DACBurstCtrl;	/* 0x148C */
2608c2ecf20Sopenharmony_ci	volatile u32 DACCrcTrigger;	/* 0x1490 */
2618c2ecf20Sopenharmony_ci	volatile u32 DACCrcDone;	/* 0x1494 */
2628c2ecf20Sopenharmony_ci	volatile u32 DACCrcResult1;	/* 0x1498 */
2638c2ecf20Sopenharmony_ci	volatile u32 DACCrcResult2;	/* 0x149C */
2648c2ecf20Sopenharmony_ci	volatile u32 DACLinecount;	/* 0x14A0 */
2658c2ecf20Sopenharmony_ci
2668c2ecf20Sopenharmony_ci	volatile u32 Fill10[151];	/*GAP 0x14A4 - 0x16FC */
2678c2ecf20Sopenharmony_ci
2688c2ecf20Sopenharmony_ci	volatile u32 DigVidPortCtrl;	/* 0x1700 */
2698c2ecf20Sopenharmony_ci	volatile u32 DigVidPortStat;	/* 0x1704 */
2708c2ecf20Sopenharmony_ci
2718c2ecf20Sopenharmony_ci	/*
2728c2ecf20Sopenharmony_ci	   volatile u32 Fill11[0x1FFC/4 - 0x1708/4]; //GAP 0x1708 - 0x1FFC
2738c2ecf20Sopenharmony_ci	   volatile u32 Fill17[0x3000/4 - 0x2FFC/4]; //GAP 0x2000 - 0x2FFC ALUT
2748c2ecf20Sopenharmony_ci	 */
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ci	volatile u32 Fill11[1598];
2778c2ecf20Sopenharmony_ci
2788c2ecf20Sopenharmony_ci	/* DWFILL; //GAP 0x3000          ALUT 256MB offset */
2798c2ecf20Sopenharmony_ci	volatile u32 Fill_3;
2808c2ecf20Sopenharmony_ci
2818c2ecf20Sopenharmony_ci} STG4000REG;
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_ci#endif /* _STG4000REG_H */
284