Lines Matching refs:modeflag

612    unsigned short modeflag,index,temp,backupindex;  in SiS_GetRatePtr()  local
625 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRatePtr()
627 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRatePtr()
632 if(modeflag & HalfDCLK) return 0; in SiS_GetRatePtr()
1261 unsigned short modeflag, resinfo = 0; in SiS_GetVBInfo() local
1265 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetVBInfo()
1267 SiS_Pr->SiS_ModeType = modeflag & ModeTypeMask; in SiS_GetVBInfo()
1428 modeflag &= (~CRT2Mode); in SiS_GetVBInfo()
1434 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1453 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1791 unsigned short temp,modeflag,resinfo=0,modexres=0,modeyres=0; in SiS_GetLCDResInfo() local
1817 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetLCDResInfo()
2193 if((SiS_Pr->SiS_VBInfo & SetCRT2ToLCD) && (modeflag & NoSupportLCDScale)) { in SiS_GetLCDResInfo()
2435 if(modeflag & HalfDCLK) { in SiS_GetLCDResInfo()
2687 unsigned short i, j, modeflag, tempah=0; in SiS_SetCRT2ModeRegs() local
2697 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2ModeRegs()
2848 if((modeflag & CRT2Mode) && (SiS_Pr->SiS_ModeType > ModeVGA)) { in SiS_SetCRT2ModeRegs()
3055 unsigned short xres, yres, modeflag=0, resindex; in SiS_GetCRT2ResInfo() local
3074 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2ResInfo()
3088 if(modeflag & HalfDCLK) xres <<= 1; in SiS_GetCRT2ResInfo()
3089 if(modeflag & DoubleScanMode) yres <<= 1; in SiS_GetCRT2ResInfo()
3336 unsigned short temp1=0, modeflag=0, tempcx=0; in SiS_GetRAMDAC2DATA() local
3343 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRAMDAC2DATA()
3350 dotclock = (modeflag & Charx8Dot) ? 8 : 9; in SiS_GetRAMDAC2DATA()
3354 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRAMDAC2DATA()
3376 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetRAMDAC2DATA()
3527 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local
3536 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetCRT2Data301()
3539 modeflag = SiS_Pr->CModeFlag; in SiS_GetCRT2Data301()
3542 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2Data301()
3580 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3619 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3674 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3703 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3729 if((SiS_Pr->SiS_RVBHRS2) && (modeflag & HalfDCLK)) { in SiS_GetCRT2Data301()
3906 unsigned short modeflag, ResIndex; in SiS_GetLVDSDesData() local
4090 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSDesData()
4092 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 632; in SiS_GetLVDSDesData()
4097 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 320; in SiS_GetLVDSDesData()
4103 if(!(modeflag & HalfDCLK)) { in SiS_GetLVDSDesData()
5544 unsigned short temp, modeflag, i, j, xres=0, VGAVDE; in SiS_SetGroup1_301() local
5555 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_301()
5557 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_301()
5560 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_301()
5575 if(modeflag & HalfDCLK) SiS_Pr->CHDisplay >>= 1; in SiS_SetGroup1_301()
5588 if(!(modeflag & HalfDCLK)) temp -= 32; in SiS_SetGroup1_301()
5644 if(modeflag & DoubleScanMode) temp |= 0x80; in SiS_SetGroup1_301()
5649 if(modeflag & HalfDCLK) temp |= 0x08; in SiS_SetGroup1_301()
5673 unsigned short modeflag, resinfo = 0; in SiS_SetGroup1_LVDS() local
5685 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_LVDS()
5691 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_LVDS()
5693 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_LVDS()
6016 if(modeflag & HalfDCLK) tempeax >>= 1; in SiS_SetGroup1_LVDS()
6060 if(modeflag & HalfDCLK) tempecx >>= 1; in SiS_SetGroup1_LVDS()
6233 unsigned short pushbx=0, CRT1Index=0, modeflag, resinfo=0; in SiS_SetGroup1() local
6244 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1()
6246 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1()
6250 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1()
6299 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
6319 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
6357 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6382 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6567 if(modeflag & DoubleScanMode) tempax |= 0x80; in SiS_SetGroup1()
6568 if(modeflag & HalfDCLK) tempax |= 0x40; in SiS_SetGroup1()
6908 unsigned short push2, modeflag, crt2crtc, bridgeoffset; in SiS_SetGroup2() local
6920 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup2()
6923 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup2()
6926 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup2()
7159 if(!(modeflag & HalfDCLK)) { in SiS_SetGroup2()
7169 if((!(modeflag & HalfDCLK)) || (SiS_Pr->ChipType < SIS_315H)) { in SiS_SetGroup2()
7182 if(modeflag & HalfDCLK) tempcl <<= 1; in SiS_SetGroup2()
7467 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7485 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7722 unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo; in SiS_SetGroup4() local
7726 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup4()
7729 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup4()
7732 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup4()
7777 if(modeflag & HalfDCLK) tempbx >>= 1; in SiS_SetGroup4()
7845 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup4()
7939 unsigned short modeflag = 0; in SiS_GetLVDSCRT1Ptr() local
7945 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7948 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7986 if(modeflag & HalfDCLK) (*DisplayType)++; in SiS_GetLVDSCRT1Ptr()
8002 unsigned short tempah, i, modeflag, j, ResIndex, DisplayType; in SiS_ModCRT1CRTC() local
8072 if(ModeNo <= 0x13) modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_ModCRT1CRTC()
8073 else modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_ModCRT1CRTC()
8076 if(modeflag & DoubleScanMode) tempah |= 0x80; in SiS_ModCRT1CRTC()
10753 unsigned short resinfo,modeflag; in SiS_FinalizeLCD() local
10777 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_FinalizeLCD()
10780 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_FinalizeLCD()
10888 if(!(modeflag & HalfDCLK)) { in SiS_FinalizeLCD()
10957 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local
10962 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SetOEMLCDData2()
10965 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SetOEMLCDData2()
10976 if(modeflag & HalfDCLK) myindex = 1; in SetOEMLCDData2()