Lines Matching defs:ModeIdIndex
68 BOOLEAN XGI_AjustCRT2Rate(USHORT ModeNo, USHORT ModeIdIndex,
71 BOOLEAN XGI_GetLCDInfo(USHORT ModeNo, USHORT ModeIdIndex,
74 USHORT XGI_GetOffset(USHORT ModeNo, USHORT ModeIdIndex,
78 USHORT XGI_GetRatePtrCRT2(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo, USHORT ModeIdIndex,
80 USHORT XGI_GetResInfo(USHORT ModeNo, USHORT ModeIdIndex,
83 static unsigned XGI_GetVCLK2Ptr(USHORT ModeNo, USHORT ModeIdIndex,
88 void XGI_GetCRT2Data(USHORT ModeNo, USHORT ModeIdIndex,
90 void XGI_GetCRT2ResInfo(USHORT ModeNo, USHORT ModeIdIndex,
92 void XGI_PreSetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
95 void XGI_SetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
98 void XGI_SetLockRegs(USHORT ModeNo, USHORT ModeIdIndex,
101 void XGI_SetLCDRegs(USHORT ModeNo, USHORT ModeIdIndex,
104 void XGI_SetGroup2(USHORT ModeNo, USHORT ModeIdIndex,
108 void XGI_SetGroup3(USHORT ModeNo, USHORT ModeIdIndex,
110 void XGI_SetGroup4(USHORT ModeNo, USHORT ModeIdIndex,
114 void XGI_SetGroup5(USHORT ModeNo, USHORT ModeIdIndex,
116 static const void *XGI_GetLcdPtr(USHORT BX, USHORT ModeNo, USHORT ModeIdIndex,
118 static const void *XGI_GetTVPtr(USHORT BX, USHORT ModeNo, USHORT ModeIdIndex,
135 USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo);
137 void XGI_SetXG21CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo);
139 void XGI_SetXG27CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo);
146 void XGI_SetCRT1CRTC(USHORT ModeNo, USHORT ModeIdIndex,
151 void XGI_SetCRT1Timing_V(USHORT ModeIdIndex, USHORT ModeNo,
154 USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
156 void XGI_SetCRT1VCLK(USHORT ModeNo, USHORT ModeIdIndex,
162 USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
167 void XGI_LoadDAC(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo);
168 void XGI_SetLCDAGroup(USHORT ModeNo, USHORT ModeIdIndex,
171 void XGI_GetLVDSResInfo(USHORT ModeNo, USHORT ModeIdIndex,
173 void XGI_GetLVDSData(USHORT ModeNo, USHORT ModeIdIndex,
175 void XGI_ModCRT1Regs(USHORT ModeNo, USHORT ModeIdIndex,
179 void XGI_SetLVDSRegs(USHORT ModeNo, USHORT ModeIdIndex,
184 void XGI_GetVBInfo(USHORT ModeNo, USHORT ModeIdIndex,
187 void XGI_GetTVInfo(USHORT ModeNo, USHORT ModeIdIndex,
189 void XGI_SetCRT2ECLK(USHORT ModeNo, USHORT ModeIdIndex,
198 void XGI_SetCRT2VCLK(USHORT ModeNo, USHORT ModeIdIndex,
200 void XGI_OEM310Setting(USHORT ModeNo, USHORT ModeIdIndex,
207 void XGI_SetAntiFlicker(USHORT ModeNo, USHORT ModeIdIndex,
209 void XGI_SetEdgeEnhance(USHORT ModeNo, USHORT ModeIdIndex,
212 void XGI_SetYFilter(USHORT ModeNo, USHORT ModeIdIndex,
219 void XGI_GetRAMDAC2DATA(USHORT ModeNo, USHORT ModeIdIndex,
226 void XGI_SetCRT1Offset(USHORT ModeNo, USHORT ModeIdIndex,
232 USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo);
247 BOOLEAN XGI_XG21CheckLVDSMode(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo );
248 void XGI_SetXG21LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo );
249 void XGI_SetXG27LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo );
482 USHORT ModeIdIndex;
539 if ( (!XGI_SearchModeID(pVBInfo->SModeIDTable, pVBInfo->EModeIDTable, 0x11, &ModeNo , &ModeIdIndex)) ||
566 /* XGI_SearchModeID( pVBInfo->SModeIDTable, pVBInfo->EModeIDTable, pVBInfo, &ModeNo , &ModeIdIndex ) ; */
567 XGI_SearchModeID( pVBInfo->SModeIDTable, pVBInfo->EModeIDTable, 0x11, &ModeNo , &ModeIdIndex ) ;
604 XGI_GetVBInfo(ModeNo, ModeIdIndex, HwDeviceExtension, pVBInfo);
606 XGI_GetTVInfo(ModeNo, ModeIdIndex, pVBInfo);
608 XGI_GetLCDInfo(ModeNo, ModeIdIndex, pVBInfo);
624 XGI_SetCRT1Group(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
627 XGI_SetLCDAGroup(ModeNo, ModeIdIndex, HwDeviceExtension,
633 XGI_SetCRT1Group(HwDeviceExtension, ModeNo, ModeIdIndex,
636 XGI_SetLCDAGroup(ModeNo, ModeIdIndex, HwDeviceExtension,
661 XGI_OEM310Setting(ModeNo, ModeIdIndex, pVBInfo); /*0212 */
673 if ( !XGI_XG21CheckLVDSMode(ModeNo , ModeIdIndex, pVBInfo) )
683 pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag & ModeInfoFlag;
687 pVBInfo->EModeIDTable[ModeIdIndex].
702 XGI_SetCRT1Group(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
714 modeflag = pVBInfo->SModeIDTable[ ModeIdIndex ].St_ModeFlag ;
718 modeflag = pVBInfo->EModeIDTable[ ModeIdIndex ].Ext_ModeFlag ;
723 temp = XGINew_CheckMemorySize( HwDeviceExtension , ModeNo , ModeIdIndex, pVBInfo ) ;
729 XGI_SetCRT1Group( HwDeviceExtension , ModeNo , ModeIdIndex, pVBInfo ) ;
1084 USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
1088 ModeNo, ModeIdIndex);
1104 XGI_SetATTRegs(ModeNo, StandTableIndex, ModeIdIndex, pVBInfo);
1137 /* RefreshRateTableIndex = XGI_GetRatePtrCRT2( ModeNo, ModeIdIndex, pVBInfo); */
1138 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
1144 XGI_SetCRT1CRTC(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo,
1146 XGI_SetCRT1DE(HwDeviceExtension, ModeNo, ModeIdIndex,
1148 XGI_SetCRT1Offset(ModeNo, ModeIdIndex, RefreshRateTableIndex,
1150 XGI_SetCRT1VCLK(ModeNo, ModeIdIndex, HwDeviceExtension,
1189 XGI_SetXG27CRTC( ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo );
1191 XGI_SetXG21CRTC( ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo );
1207 XGI_SetXG27LVDSPara(ModeNo,ModeIdIndex, pVBInfo );
1209 XGI_SetXG21LVDSPara(ModeNo,ModeIdIndex, pVBInfo );
1219 XGI_SetCRT1ModeRegs(HwDeviceExtension, ModeNo, ModeIdIndex,
1238 XGI_LoadDAC(ModeNo, ModeIdIndex, pVBInfo);
1338 XGI_SetATTRegs(unsigned ModeNo, unsigned StandTableIndex, unsigned ModeIdIndex,
1343 ? pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag
1344 : pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1469 XGI_GetRatePtrCRT2(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
1478 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
1481 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1522 RefreshRateTableIndex = pVBInfo->EModeIDTable[ModeIdIndex].REFindex;
1590 XGI_AjustCRT2Rate(ModeNo, ModeIdIndex, RefreshRateTableIndex, &i,
1605 XGI_AjustCRT2Rate(USHORT ModeNo, USHORT ModeIdIndex,
1612 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ModeFlag */
1615 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1618 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
1772 XGI_SetCRT1CRTC(USHORT ModeNo, USHORT ModeIdIndex,
1801 XGI_SetCRT1Timing_V(ModeIdIndex, ModeNo, pVBInfo);
1887 XGI_SetCRT1Timing_V(USHORT ModeIdIndex, USHORT ModeNo,
1924 i = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
1926 i = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1945 void XGI_SetXG21CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo)
1954 ModeNo, ModeIdIndex);
2087 void XGI_SetXG27CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo)
2094 /* StandTableIndex = XGI_GetModePtr( ModeNo , ModeIdIndex, pVBInfo ) ; */
2097 ModeNo, ModeIdIndex);
2411 USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
2416 const USHORT resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2420 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
2425 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
2492 XGI_GetResInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
2495 ? pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo
2496 : pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
2501 get_mode_xres_yres(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo,
2504 const USHORT resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2515 pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
2539 XGI_SetCRT1Offset(USHORT ModeNo, USHORT ModeIdIndex,
2547 temp = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeInfo;
2631 XGI_SetCRT1VCLK(USHORT ModeNo, USHORT ModeIdIndex,
2649 index = XGI_GetVCLK2Ptr(ModeNo, ModeIdIndex, RefreshRateTableIndex,
2669 && (pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag & HalfDCLK)) {
2760 USHORT ModeNo, USHORT ModeIdIndex,
2766 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
2770 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ModeFlag */
2798 resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2948 XGI_LoadDAC(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
2954 data = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
2956 data = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
3091 XGI_SetLCDAGroup(USHORT ModeNo, USHORT ModeIdIndex,
3101 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
3102 XGI_GetLVDSResInfo(ModeNo, ModeIdIndex, pVBInfo);
3103 XGI_GetLVDSData(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
3104 XGI_ModCRT1Regs(ModeNo, ModeIdIndex, RefreshRateTableIndex,
3106 XGI_SetLVDSRegs(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
3107 XGI_SetCRT2ECLK(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
3115 XGI_GetLVDSResInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
3121 get_mode_xres_yres(ModeNo, ModeIdIndex, pVBInfo, &xres, &yres);
3169 XGI_GetLVDSData(USHORT ModeNo, USHORT ModeIdIndex,
3180 ModeIdIndex,
3204 XGI_ModCRT1Regs(USHORT ModeNo, USHORT ModeIdIndex,
3216 index = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC;
3230 ModeIdIndex,
3245 ModeIdIndex,
3252 XGI_SetCRT1Timing_V(ModeIdIndex, ModeNo, pVBInfo);
3265 XGI_SetLVDSRegs(USHORT ModeNo, USHORT ModeIdIndex,
3274 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
3276 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
3283 ModeIdIndex,
3293 ModeIdIndex,
3299 ModeIdIndex,
3529 XGI_SetCRT2ECLK(USHORT ModeNo, USHORT ModeIdIndex,
3535 XGI_GetVCLKPtr(RefreshRateTableIndex, ModeNo, ModeIdIndex, pVBInfo);
3713 XGI_GetVBInfo(USHORT ModeNo, USHORT ModeIdIndex,
3719 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
3722 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
3917 XGI_GetTVInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
3926 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ModeFlag */
3927 resinfo = pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo; /* si+St_ResInfo */
3930 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
3931 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO; /* si+Ext_ResInfo */
4015 XGI_GetLCDInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
4024 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ModeFlag // */
4027 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
4028 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO; /* si+Ext_ResInfo// */
4189 USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
4194 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
4197 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
4569 USHORT tempbx, ModeIdIndex, RefreshRateTableIndex;
4577 &temp_mode_no, &ModeIdIndex);
4581 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
4583 XGI_GetCRT2ResInfo(ModeNo, ModeIdIndex, pVBInfo);
4584 XGI_GetCRT2Data(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
4585 XGI_PreSetGroup1(ModeNo, ModeIdIndex, HwDeviceExtension,
4587 XGI_SetGroup1(ModeNo, ModeIdIndex, HwDeviceExtension,
4589 XGI_SetLockRegs(ModeNo, ModeIdIndex, HwDeviceExtension,
4591 XGI_SetGroup2(ModeNo, ModeIdIndex, RefreshRateTableIndex,
4593 XGI_SetLCDRegs(ModeNo, ModeIdIndex, HwDeviceExtension,
4596 XGI_SetGroup3(ModeNo, ModeIdIndex, pVBInfo);
4597 XGI_SetGroup4(ModeNo, ModeIdIndex, RefreshRateTableIndex,
4599 XGI_SetCRT2VCLK(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
4600 XGI_SetGroup5(ModeNo, ModeIdIndex, pVBInfo);
4645 XGI_GetCRT2ResInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
4651 get_mode_xres_yres(ModeNo, ModeIdIndex, pVBInfo, &xres, &yres);
4722 XGI_GetCRT2Data(USHORT ModeNo, USHORT ModeIdIndex,
4734 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
4735 resinfo = pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo;
4738 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
4739 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
4746 XGI_GetRAMDAC2DATA(ModeNo, ModeIdIndex, RefreshRateTableIndex,
4755 (XGI_LCDDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
4853 (XGI_TVDataStruct *) XGI_GetTVPtr(tempbx, ModeNo, ModeIdIndex,
4932 XGI_SetCRT2VCLK(USHORT ModeNo, USHORT ModeIdIndex,
4937 XGI_GetVCLKPtr(RefreshRateTableIndex, ModeNo, ModeIdIndex, pVBInfo);
4954 if (pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO == 0x0A) {
5006 USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
5010 ? pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag
5011 : pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
5107 USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
5119 XGI_GetOffset(ModeNo, ModeIdIndex, RefreshRateTableIndex,
5137 XGI_GetOffset(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
5145 modeinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeInfo;
5160 colordepth = XGI_GetColorDepth(ModeNo, ModeIdIndex, pVBInfo);
5207 XGI_PreSetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
5219 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
5222 XGI_SetCRT2Offset(ModeNo, ModeIdIndex, RefreshRateTableIndex,
5242 XGI_SetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
5254 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
5258 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
5261 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
5404 XGI_SetLockRegs(USHORT ModeNo, USHORT ModeIdIndex,
5412 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
5413 resinfo = pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo;
5416 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
5417 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
5792 XGI_SetGroup2(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
5819 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
5820 resinfo = pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo;
5821 crt2crtc = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC;
5824 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
5825 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
6281 XGI_SetLCDRegs(USHORT ModeNo, USHORT ModeIdIndex,
6297 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
6298 resinfo = pVBInfo->SModeIDTable[ModeIdIndex].St_ResInfo;
6301 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
6302 resinfo = pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO;
6356 LCDBDesPtr = (XGI_LCDDesStruct *) XGI_GetLcdPtr(5, ModeNo, ModeIdIndex,
6395 (XGI330_LCDDataDesStruct2 *) XGI_GetLcdPtr(4, ModeNo, ModeIdIndex,
6450 (XGI330_LCDDataDesStruct2 *) XGI_GetLcdPtr(4, ModeNo, ModeIdIndex,
6617 XGI_SetGroup3(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
6624 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
6627 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
6691 XGI_SetGroup4(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
6703 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
6706 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag; /* si+Ext_ResInfo */
6915 XGI_SetCRT2VCLK(ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo);
6926 XGI_SetGroup5(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
6937 /* LoadDAC2(pVBInfo->Part5Port,ModeNo,ModeIdIndex); */
6951 XGI_GetLcdPtr(USHORT BX, USHORT ModeNo, USHORT ModeIdIndex,
6962 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
6963 tempal = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC;
6966 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
6971 if (pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO == 0x14) {
6974 else if (pVBInfo->EModeIDTable[ModeIdIndex].Ext_RESINFO == 0x0F) {
6983 tempal = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC; /* find no Ext_CRT2CRTC2 */
6991 tempal = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC2;
7456 XGI_GetTVPtr(USHORT BX, USHORT ModeNo, USHORT ModeIdIndex,
7465 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
7466 tempal = pVBInfo->SModeIDTable[ModeIdIndex].St_CRT2CRTC;
7469 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
7958 BOOLEAN XGI_XG21CheckLVDSMode(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo )
7967 resindex = XGI_GetResInfo( ModeNo , ModeIdIndex, pVBInfo ) ;
7972 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
7978 modeflag = pVBInfo->EModeIDTable[ ModeIdIndex].Ext_ModeFlag ; /* si+St_ModeFlag */
8011 colordepth = XGI_GetColorDepth( ModeNo , ModeIdIndex, pVBInfo ) ;
8046 void XGI_SetXG21LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo )
8072 resindex = XGI_GetResInfo( ModeNo , ModeIdIndex, pVBInfo ) ;
8077 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
8083 modeflag = pVBInfo->EModeIDTable[ ModeIdIndex].Ext_ModeFlag ; /* si+St_ModeFlag */
8231 void XGI_SetXG27LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo )
8256 resindex = XGI_GetResInfo( ModeNo , ModeIdIndex, pVBInfo ) ;
8261 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag; /* si+St_ResInfo */
8267 modeflag = pVBInfo->EModeIDTable[ ModeIdIndex].Ext_ModeFlag ; /* si+St_ModeFlag */
9021 XGI_OEM310Setting(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9035 XGI_SetYFilter(ModeNo, ModeIdIndex, pVBInfo);
9036 XGI_SetAntiFlicker(ModeNo, ModeIdIndex, pVBInfo);
9039 XGI_SetEdgeEnhance(ModeNo, ModeIdIndex, pVBInfo);
9267 XGI_SetAntiFlicker(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9280 index = pVBInfo->SModeIDTable[ModeIdIndex].VB_StTVFlickerIndex;
9283 index = pVBInfo->EModeIDTable[ModeIdIndex].VB_ExtTVFlickerIndex;
9301 XGI_SetEdgeEnhance(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9312 index = pVBInfo->SModeIDTable[ModeIdIndex].VB_StTVEdgeIndex;
9315 index = pVBInfo->EModeIDTable[ModeIdIndex].VB_ExtTVEdgeIndex;
9362 XGI_SetYFilter(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9413 tempal = pVBInfo->SModeIDTable[ModeIdIndex].VB_StTVYFilterIndex;
9415 tempal = pVBInfo->EModeIDTable[ModeIdIndex].VB_ExtTVYFilterIndex;
9746 XGI_GetRAMDAC2DATA(USHORT ModeNo, USHORT ModeIdIndex,
9760 ModeNo, ModeIdIndex);
9762 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
9768 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
9810 XGI_GetColorDepth(USHORT ModeNo, USHORT ModeIdIndex,
9818 modeflag = pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag;
9821 modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
10015 XGI_GetVCLK2Ptr(USHORT ModeNo, USHORT ModeIdIndex,
10034 ? pVBInfo->SModeIDTable[ModeIdIndex].St_ModeFlag
10035 : pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;