Lines Matching defs:ModeNo

60 BOOLEAN XGI_SetCRT2Group301(USHORT ModeNo,
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,
87 void XGI_SaveCRT2Info(USHORT ModeNo, PVB_DEVICE_INFO pVBInfo);
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,
134 void XGI_SetCRT1Group(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
137 void XGI_SetXG21CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo);
138 void XGI_SetXG21LCD(PVB_DEVICE_INFO pVBInfo,USHORT RefreshRateTableIndex,USHORT ModeNo);
139 void XGI_SetXG27CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo);
140 void XGI_SetXG27LCD(PVB_DEVICE_INFO pVBInfo,USHORT RefreshRateTableIndex,USHORT ModeNo);
141 void XGI_UpdateXG21CRTC(USHORT ModeNo, PVB_DEVICE_INFO pVBInfo, USHORT RefreshRateTableIndex);
146 void XGI_SetCRT1CRTC(USHORT ModeNo, USHORT ModeIdIndex,
151 void XGI_SetCRT1Timing_V(USHORT ModeIdIndex, USHORT ModeNo,
153 void XGI_SetCRT1DE(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
156 void XGI_SetCRT1VCLK(USHORT ModeNo, USHORT ModeIdIndex,
159 void XGI_SetCRT1FIFO(USHORT ModeNo, PXGI_HW_DEVICE_INFO HwDeviceExtension,
161 void XGI_SetCRT1ModeRegs(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
164 void XGI_SetVCLKState(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
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,
217 void XGI_SetCRT2ModeRegs(USHORT ModeNo, PXGI_HW_DEVICE_INFO,
219 void XGI_GetRAMDAC2DATA(USHORT ModeNo, USHORT ModeIdIndex,
226 void XGI_SetCRT1Offset(USHORT ModeNo, USHORT ModeIdIndex,
231 static unsigned XGI_GetVCLKPtr(USHORT RefreshRateTableIndex, USHORT ModeNo,
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 );
476 USHORT ModeNo)
515 if (ModeNo & 0x80) {
516 ModeNo = ModeNo & 0x7F;
539 if ( (!XGI_SearchModeID(pVBInfo->SModeIDTable, pVBInfo->EModeIDTable, 0x11, &ModeNo , &ModeIdIndex)) ||
544 case 8: ModeNo = 0x2E;
547 case 15: ModeNo = 0x43;
550 case 16: ModeNo = 0x44;
553 case 32: ModeNo = 0x62;
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,
647 XGI_SetCRT2Group301(ModeNo, HwDeviceExtension, pVBInfo); /*add for CRT2 */
651 XGI_SetCRT2Group301(ModeNo, HwDeviceExtension, pVBInfo); /*add for CRT2 */
660 XGI_SetCRT2ModeRegs(ModeNo, HwDeviceExtension, pVBInfo);
661 XGI_OEM310Setting(ModeNo, ModeIdIndex, pVBInfo); /*0212 */
673 if ( !XGI_XG21CheckLVDSMode(ModeNo , ModeIdIndex, pVBInfo) )
681 if (ModeNo <= 0x13) {
702 XGI_SetCRT1Group(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
712 if ( ModeNo <= 0x13 )
723 temp = XGINew_CheckMemorySize( HwDeviceExtension , ModeNo , ModeIdIndex, pVBInfo ) ;
729 XGI_SetCRT1Group( HwDeviceExtension , ModeNo , ModeIdIndex, pVBInfo ) ;
1083 XGI_SetCRT1Group(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
1088 ModeNo, ModeIdIndex);
1100 /* XGINew_CRT1Mode = ModeNo ; // SaveModeID */
1104 XGI_SetATTRegs(ModeNo, StandTableIndex, ModeIdIndex, pVBInfo);
1106 XGI_ClearExt1Regs(ModeNo, 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,
1161 if ((ModeNo == 0x00) | (ModeNo == 0x01)) {
1167 else if ((ModeNo == 0x04) | (ModeNo == 0x05) | (ModeNo == 0x0D)) {
1189 XGI_SetXG27CRTC( ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo );
1191 XGI_SetXG21CRTC( ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo );
1195 XGI_UpdateXG21CRTC( ModeNo , pVBInfo , RefreshRateTableIndex) ;
1198 XGI_SetXG27LCD( pVBInfo , RefreshRateTableIndex , ModeNo );
1200 XGI_SetXG21LCD( pVBInfo , RefreshRateTableIndex , ModeNo );
1207 XGI_SetXG27LVDSPara(ModeNo,ModeIdIndex, pVBInfo );
1209 XGI_SetXG21LVDSPara(ModeNo,ModeIdIndex, pVBInfo );
1218 XGI_SetCRT1FIFO(ModeNo, HwDeviceExtension, pVBInfo);
1219 XGI_SetCRT1ModeRegs(HwDeviceExtension, ModeNo, ModeIdIndex,
1238 XGI_LoadDAC(ModeNo, ModeIdIndex, pVBInfo);
1338 XGI_SetATTRegs(unsigned ModeNo, unsigned StandTableIndex, unsigned ModeIdIndex,
1342 const unsigned modeflag = (ModeNo <= 0x13)
1412 XGI_ClearExt1Regs(unsigned ModeNo, const VB_DEVICE_INFO *pVBInfo)
1429 if ((ModeNo == 0x06) || ((ModeNo >= 0x0e) && (ModeNo <= 0x13))) {
1433 (void) ModeNo;
1469 XGI_GetRatePtrCRT2(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
1477 if (ModeNo <= 0x13) {
1484 if (ModeNo < 0x14)
1523 ModeNo = pVBInfo->RefIndex[RefreshRateTableIndex].ModeID;
1565 if (pVBInfo->RefIndex[RefreshRateTableIndex + i].ModeID != ModeNo)
1590 XGI_AjustCRT2Rate(ModeNo, ModeIdIndex, RefreshRateTableIndex, &i,
1605 XGI_AjustCRT2Rate(USHORT ModeNo, USHORT ModeIdIndex,
1611 if (ModeNo <= 0x13) {
1772 XGI_SetCRT1CRTC(USHORT ModeNo, USHORT ModeIdIndex,
1801 XGI_SetCRT1Timing_V(ModeIdIndex, ModeNo, pVBInfo);
1887 XGI_SetCRT1Timing_V(USHORT ModeIdIndex, USHORT ModeNo,
1923 if (ModeNo <= 0x13)
1945 void XGI_SetXG21CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo)
1950 if ( ModeNo <= 0x13 )
1954 ModeNo, ModeIdIndex);
2087 void XGI_SetXG27CRTC(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo)
2091 if ( ModeNo <= 0x13 )
2094 /* StandTableIndex = XGI_GetModePtr( ModeNo , ModeIdIndex, pVBInfo ) ; */
2097 ModeNo, ModeIdIndex);
2216 void XGI_SetXG21LCD(PVB_DEVICE_INFO pVBInfo,USHORT RefreshRateTableIndex,USHORT ModeNo)
2221 if ( ModeNo > 0x13 )
2250 if ( ModeNo <= 0x13 )
2271 void XGI_SetXG27LCD(PVB_DEVICE_INFO pVBInfo,USHORT RefreshRateTableIndex,USHORT ModeNo)
2278 if ( ModeNo > 0x13 )
2325 if ( ModeNo <= 0x13 )
2358 void XGI_UpdateXG21CRTC( USHORT ModeNo , PVB_DEVICE_INFO pVBInfo , USHORT RefreshRateTableIndex )
2368 if ( ModeNo <= 0x13 )
2372 if ( ModeNo == pVBInfo->UpdateCRT1[ i ].ModeID )
2378 if ( ModeNo == 0x2E && ( pVBInfo->RefIndex[ RefreshRateTableIndex ].Ext_CRT1CRTC == RES640x480x60 ) )
2380 else if ( ModeNo == 0x2E && ( pVBInfo->RefIndex[ RefreshRateTableIndex ].Ext_CRT1CRTC == RES640x480x72 ) )
2382 else if ( ModeNo == 0x2F )
2384 else if ( ModeNo == 0x50 )
2386 else if ( ModeNo == 0x59 )
2410 XGI_SetCRT1DE(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
2416 const USHORT resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2419 if (ModeNo <= 0x13) {
2433 if (ModeNo > 0x13) {
2492 XGI_GetResInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
2494 return (ModeNo <= 0x13)
2501 get_mode_xres_yres(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo,
2504 const USHORT resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2509 if (ModeNo <= 0x13) {
2539 XGI_SetCRT1Offset(USHORT ModeNo, USHORT ModeIdIndex,
2582 if ((ModeNo >= 0x26) && (ModeNo <= 0x28))
2617 if ((ModeNo == 0x4A) | (ModeNo == 0x49))
2631 XGI_SetCRT1VCLK(USHORT ModeNo, USHORT ModeIdIndex,
2649 index = XGI_GetVCLK2Ptr(ModeNo, ModeIdIndex, RefreshRateTableIndex,
2702 XGI_SetCRT1FIFO(USHORT ModeNo, PXGI_HW_DEVICE_INFO HwDeviceExtension,
2711 if (ModeNo > 0x13) {
2760 USHORT ModeNo, USHORT ModeIdIndex,
2765 if (ModeNo > 0x13) {
2775 if (ModeNo > 0x13)
2782 if (ModeNo > 0x13) {
2798 resindex = XGI_GetResInfo(ModeNo, ModeIdIndex, pVBInfo);
2799 if (ModeNo <= 0x13)
2825 if (ModeNo > 0x13) {
2840 XGI_SetVCLKState(HwDeviceExtension, ModeNo, RefreshRateTableIndex,
2882 XGI_SetVCLKState(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
2890 if (ModeNo <= 0x13)
2948 XGI_LoadDAC(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
2953 if (ModeNo <= 0x13)
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,
3179 (XGI330_LVDSDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3204 XGI_ModCRT1Regs(USHORT ModeNo, USHORT ModeIdIndex,
3215 if (ModeNo <= 0x13)
3229 (XGI_LVDSCRT1HDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3244 (XGI_LVDSCRT1VDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3252 XGI_SetCRT1Timing_V(ModeIdIndex, ModeNo, pVBInfo);
3265 XGI_SetLVDSRegs(USHORT ModeNo, USHORT ModeIdIndex,
3273 if (ModeNo > 0x13)
3282 (XGI330_LCDDataDesStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3292 (XGI330_LCDDataDesStruct2 *) XGI_GetLcdPtr(tempbx, ModeNo,
3298 (XGI330_LCDDataDesStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3529 XGI_SetCRT2ECLK(USHORT ModeNo, USHORT ModeIdIndex,
3535 XGI_GetVCLKPtr(RefreshRateTableIndex, ModeNo, ModeIdIndex, pVBInfo);
3713 XGI_GetVBInfo(USHORT ModeNo, USHORT ModeIdIndex,
3718 if (ModeNo <= 0x13) {
3887 if (ModeNo <= 13) {
3917 XGI_GetTVInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
3925 if (ModeNo <= 0x13) {
4015 XGI_GetLCDInfo(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
4023 if (ModeNo <= 0x13) {
4097 && (pVBInfo->VBInfo & SetCRT2ToLCD) && (ModeNo > 0x13)
4116 if (ModeNo > 0x13) {
4160 if (ModeNo <= 0x13) {
4188 XGINew_CheckMemorySize(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo,
4193 if (ModeNo <= 0x13) {
4566 XGI_SetCRT2Group301(USHORT ModeNo, PXGI_HW_DEVICE_INFO HwDeviceExtension,
4575 temp_mode_no = ModeNo;
4581 RefreshRateTableIndex = XGI_GetRatePtrCRT2(HwDeviceExtension, ModeNo, ModeIdIndex, pVBInfo);
4582 XGI_SaveCRT2Info(ModeNo, 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);
4627 XGI_SaveCRT2Info(USHORT ModeNo, PVB_DEVICE_INFO pVBInfo)
4631 XGI_SetReg((XGIIOADDRESS) pVBInfo->P3d4, 0x34, ModeNo); /* reserve CR34 for CRT1 Mode No */
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,
4733 if (ModeNo <= 0x13) {
4746 XGI_GetRAMDAC2DATA(ModeNo, ModeIdIndex, RefreshRateTableIndex,
4755 (XGI_LCDDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
4760 ("C code setmode: ModeNo: 0x%08lX VGAHT:0x%081X \n", ModeNo,
4853 (XGI_TVDataStruct *) XGI_GetTVPtr(tempbx, ModeNo, ModeIdIndex,
4932 XGI_SetCRT2VCLK(USHORT ModeNo, USHORT ModeIdIndex,
4937 XGI_GetVCLKPtr(RefreshRateTableIndex, ModeNo, ModeIdIndex, pVBInfo);
5005 XGI_GetVCLKPtr(USHORT RefreshRateTableIndex, USHORT ModeNo,
5009 const unsigned modeflag = (ModeNo <= 0x13)
5067 if (ModeNo <= 0x13)
5106 XGI_SetCRT2Offset(USHORT ModeNo,
5119 XGI_GetOffset(ModeNo, ModeIdIndex, RefreshRateTableIndex,
5137 XGI_GetOffset(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
5146 if (ModeNo <= 0x14)
5160 colordepth = XGI_GetColorDepth(ModeNo, ModeIdIndex, pVBInfo);
5163 if ( ( ModeNo >= 0x7C ) && ( ModeNo <= 0x7E ) )
5165 temp = ModeNo - 0x7C ;
5178 if ((ModeNo >= 0x26) && (ModeNo <= 0x28)) {
5207 XGI_PreSetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
5216 if (ModeNo > 0x13) {
5222 XGI_SetCRT2Offset(ModeNo, ModeIdIndex, RefreshRateTableIndex,
5225 /* XGI_SetCRT2Sync(ModeNo,RefreshRateTableIndex); */
5242 XGI_SetGroup1(USHORT ModeNo, USHORT ModeIdIndex,
5251 if (ModeNo > 0x13) {
5257 if (ModeNo <= 0x13) {
5404 XGI_SetLockRegs(USHORT ModeNo, USHORT ModeIdIndex,
5411 if (ModeNo <= 0x13) {
5492 if (ModeNo > 0x13)
5550 if ((ModeNo == 0x06) || (ModeNo == 0x10) || (ModeNo == 0x11)
5551 || (ModeNo == 0x13) || (ModeNo == 0x0F)) {
5556 if ((ModeNo == 0x00) || (ModeNo == 0x01)) {
5568 if ((ModeNo == 0x02) || (ModeNo == 0x03) || (ModeNo == 0x07)) {
5580 if ((ModeNo == 0x04) || (ModeNo == 0x05) || (ModeNo == 0x0D)
5581 || (ModeNo == 0x50)) {
5792 XGI_SetGroup2(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
5818 if (ModeNo <= 0x13) {
6057 if (ModeNo == 0x2f)
6064 if (ModeNo == 0x2f)
6281 XGI_SetLCDRegs(USHORT ModeNo, USHORT ModeIdIndex,
6296 if (ModeNo <= 0x13) {
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)
6623 if (ModeNo <= 0x13) {
6691 XGI_SetGroup4(USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex,
6702 if (ModeNo <= 0x13) {
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,
6961 if (ModeNo <= 0x13) {
6982 if (ModeNo <= 0x13) {
6990 if (ModeNo <= 0x13)
7071 if (ModeNo <= 0x13) /* alan 09/10/2003 */
7456 XGI_GetTVPtr(USHORT BX, USHORT ModeNo, USHORT ModeIdIndex,
7464 if (ModeNo <= 0x13) {
7958 BOOLEAN XGI_XG21CheckLVDSMode(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo )
7967 resindex = XGI_GetResInfo( ModeNo , ModeIdIndex, pVBInfo ) ;
7968 if ( ModeNo <= 0x13 )
7987 if ( ModeNo > 0x13 )
7989 if ( ( ModeNo>0x13 ) && ( modeflag & HalfDCLK ) )
7993 if ( ( ModeNo>0x13 ) && ( modeflag & DoubleScanMode ) )
8006 if ( ModeNo > 0x13 )
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 ) ;
8073 if ( ModeNo <= 0x13 )
8092 if ( ( ModeNo<=0x13 ) && ( modeflag & HalfDCLK ) )
8109 if ( ( ModeNo>0x13 ) && ( modeflag & DoubleScanMode ) )
8231 void XGI_SetXG27LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo )
8256 resindex = XGI_GetResInfo( ModeNo , ModeIdIndex, pVBInfo ) ;
8257 if ( ModeNo <= 0x13 )
8276 if ( ( ModeNo<=0x13 ) && ( modeflag & HalfDCLK ) )
8293 if ( ( ModeNo>0x13 ) && ( modeflag & DoubleScanMode ) )
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)
9279 if (ModeNo <= 0x13) {
9301 XGI_SetEdgeEnhance(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9311 if (ModeNo <= 0x13) {
9362 XGI_SetYFilter(USHORT ModeNo, USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo)
9412 if (ModeNo <= 0x13)
9516 XGI_SetCRT2ModeRegs(USHORT ModeNo, PXGI_HW_DEVICE_INFO HwDeviceExtension,
9536 if (ModeNo > 0x13) {
9561 if ( ModeNo > 0x13 )
9654 if (ModeNo > 0x13) {
9746 XGI_GetRAMDAC2DATA(USHORT ModeNo, USHORT ModeIdIndex,
9757 if (ModeNo <= 0x13) {
9760 ModeNo, ModeIdIndex);
9810 XGI_GetColorDepth(USHORT ModeNo, USHORT ModeIdIndex,
9817 if (ModeNo <= 0x13) {
10015 XGI_GetVCLK2Ptr(USHORT ModeNo, USHORT ModeIdIndex,
10033 const unsigned modeflag = (ModeNo <= 0x13)
10093 if (ModeNo > 0x13) {
10103 if ( ModeNo <= 0x13 )