Lines Matching refs:modeflag

287    unsigned short modeflag,index,temp,backupindex;  in SiS_GetRatePtr()  local
300 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRatePtr()
302 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRatePtr()
307 if(modeflag & HalfDCLK) return 0; in SiS_GetRatePtr()
938 unsigned short modeflag, resinfo = 0; in SiS_GetVBInfo() local
942 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetVBInfo()
944 SiS_Pr->SiS_ModeType = modeflag & ModeTypeMask; in SiS_GetVBInfo()
1105 modeflag &= (~CRT2Mode); in SiS_GetVBInfo()
1111 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1130 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1468 unsigned short temp,modeflag,resinfo=0,modexres=0,modeyres=0; in SiS_GetLCDResInfo() local
1494 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetLCDResInfo()
1870 if((SiS_Pr->SiS_VBInfo & SetCRT2ToLCD) && (modeflag & NoSupportLCDScale)) { in SiS_GetLCDResInfo()
2112 if(modeflag & HalfDCLK) { in SiS_GetLCDResInfo()
2154 unsigned short modeflag, resinfo, tempbx; in SiS_GetVCLK2Ptr() local
2158 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetVCLK2Ptr()
2164 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetVCLK2Ptr()
2366 unsigned short i, j, modeflag, tempah=0; in SiS_SetCRT2ModeRegs() local
2376 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2ModeRegs()
2527 if((modeflag & CRT2Mode) && (SiS_Pr->SiS_ModeType > ModeVGA)) { in SiS_SetCRT2ModeRegs()
2734 unsigned short xres, yres, modeflag=0, resindex; in SiS_GetCRT2ResInfo() local
2753 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2ResInfo()
2767 if(modeflag & HalfDCLK) xres <<= 1; in SiS_GetCRT2ResInfo()
2768 if(modeflag & DoubleScanMode) yres <<= 1; in SiS_GetCRT2ResInfo()
3015 unsigned short temp1=0, modeflag=0, tempcx=0; in SiS_GetRAMDAC2DATA() local
3022 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRAMDAC2DATA()
3029 dotclock = (modeflag & Charx8Dot) ? 8 : 9; in SiS_GetRAMDAC2DATA()
3033 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRAMDAC2DATA()
3055 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetRAMDAC2DATA()
3206 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local
3215 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetCRT2Data301()
3218 modeflag = SiS_Pr->CModeFlag; in SiS_GetCRT2Data301()
3221 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2Data301()
3259 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3298 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3353 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3382 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3408 if((SiS_Pr->SiS_RVBHRS2) && (modeflag & HalfDCLK)) { in SiS_GetCRT2Data301()
3585 unsigned short modeflag, ResIndex; in SiS_GetLVDSDesData() local
3769 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSDesData()
3771 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 632; in SiS_GetLVDSDesData()
3776 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 320; in SiS_GetLVDSDesData()
3782 if(!(modeflag & HalfDCLK)) { in SiS_GetLVDSDesData()
5223 unsigned short temp, modeflag, i, j, xres=0, VGAVDE; in SiS_SetGroup1_301() local
5234 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_301()
5236 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_301()
5239 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_301()
5254 if(modeflag & HalfDCLK) SiS_Pr->CHDisplay >>= 1; in SiS_SetGroup1_301()
5267 if(!(modeflag & HalfDCLK)) temp -= 32; in SiS_SetGroup1_301()
5323 if(modeflag & DoubleScanMode) temp |= 0x80; in SiS_SetGroup1_301()
5328 if(modeflag & HalfDCLK) temp |= 0x08; in SiS_SetGroup1_301()
5352 unsigned short modeflag, resinfo = 0; in SiS_SetGroup1_LVDS() local
5364 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_LVDS()
5370 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_LVDS()
5372 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_LVDS()
5695 if(modeflag & HalfDCLK) tempeax >>= 1; in SiS_SetGroup1_LVDS()
5739 if(modeflag & HalfDCLK) tempecx >>= 1; in SiS_SetGroup1_LVDS()
5912 unsigned short pushbx=0, CRT1Index=0, modeflag, resinfo=0; in SiS_SetGroup1() local
5923 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1()
5925 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1()
5929 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1()
5978 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
5998 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
6036 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6061 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6246 if(modeflag & DoubleScanMode) tempax |= 0x80; in SiS_SetGroup1()
6247 if(modeflag & HalfDCLK) tempax |= 0x40; in SiS_SetGroup1()
6587 unsigned short push2, modeflag, crt2crtc, bridgeoffset; in SiS_SetGroup2() local
6599 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup2()
6602 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup2()
6605 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup2()
6838 if(!(modeflag & HalfDCLK)) { in SiS_SetGroup2()
6848 if((!(modeflag & HalfDCLK)) || (SiS_Pr->ChipType < SIS_315H)) { in SiS_SetGroup2()
6863 if(modeflag & HalfDCLK) tempcl <<= 1; in SiS_SetGroup2()
7148 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7166 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7407 unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo; in SiS_SetGroup4() local
7411 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup4()
7414 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup4()
7417 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup4()
7462 if(modeflag & HalfDCLK) tempbx >>= 1; in SiS_SetGroup4()
7530 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup4()
7624 unsigned short modeflag = 0; in SiS_GetLVDSCRT1Ptr() local
7630 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7633 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7671 if(modeflag & HalfDCLK) (*DisplayType)++; in SiS_GetLVDSCRT1Ptr()
7687 unsigned short tempah, i, modeflag, j, ResIndex, DisplayType; in SiS_ModCRT1CRTC() local
7757 if(ModeNo <= 0x13) modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_ModCRT1CRTC()
7758 else modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_ModCRT1CRTC()
7761 if(modeflag & DoubleScanMode) tempah |= 0x80; in SiS_ModCRT1CRTC()
10445 unsigned short resinfo,modeflag; in SiS_FinalizeLCD() local
10469 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_FinalizeLCD()
10472 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_FinalizeLCD()
10580 if(!(modeflag & HalfDCLK)) { in SiS_FinalizeLCD()
10649 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local
10654 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SetOEMLCDData2()
10657 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SetOEMLCDData2()
10668 if(modeflag & HalfDCLK) myindex = 1; in SetOEMLCDData2()