13 typedef struct _XGI_PanelDelayTblStruct
16 } XGI_PanelDelayTblStruct;
18 typedef struct _XGI_LCDDataStruct
29 typedef struct _XGI_LVDSCRT1HDataStruct
32 } XGI_LVDSCRT1HDataStruct;
33 typedef struct _XGI_LVDSCRT1VDataStruct
36 } XGI_LVDSCRT1VDataStruct;
39 typedef struct _XGI_TVDataStruct
56 typedef struct _XGI_LVDSDataStruct
64 typedef struct _XGI_LVDSDesStruct
70 typedef struct _XGI_LVDSCRT1DataStruct
73 } XGI_LVDSCRT1DataStruct;
78 typedef struct _XGI_StStruct
82 UCHAR St_StTableIndex;
86 UCHAR VB_StTVFlickerIndex;
87 UCHAR VB_StTVEdgeIndex;
88 UCHAR VB_StTVYFilterIndex;
91 typedef struct _XGI_StandTableStruct
102 } XGI_StandTableStruct;
104 typedef struct _XGI_ExtStruct
111 UCHAR Ext_VESAMEMSize;
113 UCHAR VB_ExtTVFlickerIndex;
114 UCHAR VB_ExtTVEdgeIndex;
115 UCHAR VB_ExtTVYFilterIndex;
119 typedef struct _XGI_Ext2Struct
129 /* USHORT ROM_OFFSET; */
133 typedef struct _XGI_MCLKDataStruct
135 UCHAR SR28,SR29,SR2A;
137 } XGI_MCLKDataStruct;
139 typedef struct _XGI_ECLKDataStruct
141 UCHAR SR2E,SR2F,SR30;
143 } XGI_ECLKDataStruct;
145 typedef struct _XGI_VCLKDataStruct
149 } XGI_VCLKDataStruct;
151 typedef struct _XGI_VBVCLKDataStruct
153 UCHAR Part4_A,Part4_B;
155 } XGI_VBVCLKDataStruct;
157 typedef struct _XGI_StResInfoStruct
161 } XGI_StResInfoStruct;
163 typedef struct _XGI_ModeResInfoStruct
169 } XGI_ModeResInfoStruct;
171 typedef struct _XGI_LCDNBDesStruct
174 } XGI_LCDNBDesStruct;
175 /*add for new UNIVGABIOS*/
176 typedef struct _XGI_LCDDesStruct
184 typedef struct _XGI_LCDDataTablStruct
190 } XGI_LCDDataTablStruct;
192 typedef struct _XGI_TVTablDataStruct
197 } XGI_TVDataTablStruct;
199 typedef struct _XGI330_LCDDesDataStruct
205 } XGI330_LCDDataDesStruct;
208 typedef struct _XGI330_LVDSDataStruct
214 } XGI330_LVDSDataStruct;
216 typedef struct _XGI330_LCDDesDataStruct2
224 } XGI330_LCDDataDesStruct2;
226 typedef struct _XGI330_LCDDataStruct
234 } XGI330_LCDDataStruct;
237 typedef struct _XGI330_TVDataStruct
248 } XGI330_TVDataStruct;
250 typedef struct _XGI330_LCDDataTablStruct
256 } XGI330_LCDDataTablStruct;
258 typedef struct _XGI330_TVDataTablStruct
263 } XGI330_TVDataTablStruct;
266 typedef struct _XGI330_CHTVDataStruct
272 } XGI330_CHTVDataStruct;
274 typedef struct _XGI_TimingHStruct
279 typedef struct _XGI_TimingVStruct
284 typedef struct _XGI_CH7007TV_TimingHStruct
287 } XGI_CH7007TV_TimingHStruct;
289 typedef struct _XGI_CH7007TV_TimingVStruct
292 } XGI_CH7007TV_TimingVStruct;
294 typedef struct _XGI_XG21CRT1Struct
296 UCHAR ModeID,CR02,CR03,CR15,CR16;
297 } XGI_XG21CRT1Struct;
299 typedef struct _XGI330_CHTVRegDataStruct
302 } XGI330_CHTVRegDataStruct;
304 typedef struct _XGI330_LCDCapStruct
307 USHORT LCD_Capability;
309 UCHAR LCD_DelayCompensation;
310 UCHAR LCD_HSyncWidth;
311 UCHAR LCD_VSyncWidth;
313 UCHAR LCDA_VCLKData1;
314 UCHAR LCDA_VCLKData2;
315 UCHAR LCUCHAR_VCLKData1;
316 UCHAR LCUCHAR_VCLKData2;
331 } XGI330_LCDCapStruct;
333 typedef struct _XGI21_LVDSCapStruct
335 USHORT LVDS_Capability;
351 } XGI21_LVDSCapStruct;
353 typedef struct _XGI_CRT1TableStruct
356 } XGI_CRT1TableStruct;
359 typedef struct _XGI330_VCLKDataStruct
363 } XGI330_VCLKDataStruct;
365 typedef struct _XGI301C_Tap4TimingStruct
368 UCHAR Reg[64]; /* C0-FF */
369 } XGI301C_Tap4TimingStruct;
371 typedef struct _XGI_New_StandTableStruct
382 } XGI_New_StandTableStruct;
384 typedef UCHAR DRAM8Type[8];
385 typedef UCHAR DRAM4Type[4];
386 typedef UCHAR DRAM32Type[32];
387 typedef UCHAR DRAM2Type[2];
389 typedef struct _VB_DEVICE_INFO VB_DEVICE_INFO;
390 typedef VB_DEVICE_INFO * PVB_DEVICE_INFO;
392 struct _VB_DEVICE_INFO
395 ULONG P3c4,P3d4,P3c0,P3ce,P3c2,P3cc;
396 ULONG P3ca,P3c6,P3c7,P3c8,P3c9,P3da;
397 ULONG Part0Port,Part1Port,Part2Port;
398 ULONG Part3Port,Part4Port,Part5Port;
399 USHORT RVBHCFACT,RVBHCMAX,RVBHRS;
400 USHORT VGAVT,VGAHT,VGAVDE,VGAHDE;
401 USHORT VT,HT,VDE,HDE;
402 USHORT LCDHRS,LCDVRS,LCDHDES,LCDVDES;
405 USHORT IF_DEF_LVDS,IF_DEF_TRUMPION,IF_DEF_DSTN;/* ,IF_DEF_FSTN; add for dstn */
406 USHORT IF_DEF_CRT2Monitor,IF_DEF_VideoCapture;
407 USHORT IF_DEF_LCDA,IF_DEF_CH7017,IF_DEF_YPbPr,IF_DEF_ScaleLCD,IF_DEF_OEMUtil,IF_DEF_PWD;
408 USHORT IF_DEF_ExpLink;
409 USHORT IF_DEF_CH7005,IF_DEF_HiVision;
410 USHORT IF_DEF_CH7007; /* Billy 2007/05/03 */
411 USHORT LCDResInfo,LCDTypeInfo, VBType;/*301b*/
412 USHORT VBInfo,TVInfo,LCDInfo, Set_VGAType;
413 USHORT VBExtInfo;/*301lv*/
415 USHORT NewFlickerMode;
416 USHORT SelectCRT2Rate;
428 DRAM8Type *SR15; /* pointer : point to array */
431 UCHAR *pOutputSelect;
433 USHORT *pRGBSenseData;
434 USHORT *pRGBSenseData2; /*301b*/
435 USHORT *pVideoSenseData;
436 USHORT *pVideoSenseData2;
437 USHORT *pYCSenseData;
438 USHORT *pYCSenseData2;
453 UCHAR *pSR36; /* alan 12/07/2006 */
455 UCHAR *pCRD0; /* alan 12/07/2006 */
456 UCHAR *pCRDE; /* alan 12/07/2006 */
457 UCHAR *pCR8F; /* alan 12/07/2006 */
458 UCHAR *pSR40; /* alan 12/07/2006 */
459 UCHAR *pSR41; /* alan 12/07/2006 */
465 UCHAR *pCRT2Data_1_2;
466 UCHAR *pCRT2Data_4_D;
467 UCHAR *pCRT2Data_4_E;
468 UCHAR *pCRT2Data_4_10;
469 XGI_MCLKDataStruct *MCLKData;
470 XGI_ECLKDataStruct *ECLKData;
472 UCHAR *XGI_TVDelayList;
473 UCHAR *XGI_TVDelayList2;
474 UCHAR *CHTVVCLKUNTSC;
475 UCHAR *CHTVVCLKONTSC;
480 UCHAR *HiTVExtTiming;
481 UCHAR *HiTVSt1Timing;
482 UCHAR *HiTVSt2Timing;
483 UCHAR *HiTVTextTiming;
484 UCHAR *YPbPr750pTiming;
485 UCHAR *YPbPr525pTiming;
486 UCHAR *YPbPr525iTiming;
487 UCHAR *HiTVGroup3Data;
488 UCHAR *HiTVGroup3Simu;
489 UCHAR *HiTVGroup3Text;
490 UCHAR *Ren525pGroup3;
491 UCHAR *Ren750pGroup3;
493 UCHAR *pXGINew_DRAMTypeDefinition;
494 UCHAR *pXGINew_I2CDefinition ;
495 UCHAR *pXGINew_CR97 ;
497 XGI330_LCDCapStruct *LCDCapList;
498 XGI21_LVDSCapStruct *XG21_LVDSCapList;
500 XGI_TimingHStruct *TimingH;
501 XGI_TimingVStruct *TimingV;
503 XGI_StStruct *SModeIDTable;
504 XGI_StandTableStruct *StandTable;
505 XGI_ExtStruct *EModeIDTable;
506 XGI_Ext2Struct *RefIndex;
507 /* XGINew_CRT1TableStruct *CRT1Table; */
508 XGI_CRT1TableStruct *XGINEWUB_CRT1Table;
509 XGI_VCLKDataStruct *VCLKData;
510 XGI_VBVCLKDataStruct *VBVCLKData;
511 XGI_StResInfoStruct *StResInfo;
512 XGI_ModeResInfoStruct *ModeResInfo;
513 XGI_XG21CRT1Struct *UpdateCRT1;
514 }; /* _VB_DEVICE_INFO */
519 USHORT Horizontal_ACTIVE;
520 USHORT Horizontal_FP;
521 USHORT Horizontal_SYNC;
522 USHORT Horizontal_BP;
523 USHORT Vertical_ACTIVE;
525 USHORT Vertical_SYNC;
534 #endif /* _VB_STRUCT_ */