Lines Matching refs:modeflag

613    unsigned short modeflag,index,temp,backupindex;  in SiS_GetRatePtr()  local
626 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRatePtr()
628 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRatePtr()
633 if(modeflag & HalfDCLK) return 0; in SiS_GetRatePtr()
1262 unsigned short modeflag, resinfo = 0; in SiS_GetVBInfo() local
1266 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetVBInfo()
1268 SiS_Pr->SiS_ModeType = modeflag & ModeTypeMask; in SiS_GetVBInfo()
1429 modeflag &= (~CRT2Mode); in SiS_GetVBInfo()
1435 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1454 if((!(modeflag & CRT2Mode)) && (checkcrt2mode)) { in SiS_GetVBInfo()
1792 unsigned short temp,modeflag,resinfo=0,modexres=0,modeyres=0; in SiS_GetLCDResInfo() local
1818 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetLCDResInfo()
2194 if((SiS_Pr->SiS_VBInfo & SetCRT2ToLCD) && (modeflag & NoSupportLCDScale)) { in SiS_GetLCDResInfo()
2436 if(modeflag & HalfDCLK) { in SiS_GetLCDResInfo()
2688 unsigned short i, j, modeflag, tempah=0; in SiS_SetCRT2ModeRegs() local
2698 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2ModeRegs()
2849 if((modeflag & CRT2Mode) && (SiS_Pr->SiS_ModeType > ModeVGA)) { in SiS_SetCRT2ModeRegs()
3056 unsigned short xres, yres, modeflag=0, resindex; in SiS_GetCRT2ResInfo() local
3075 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2ResInfo()
3089 if(modeflag & HalfDCLK) xres <<= 1; in SiS_GetCRT2ResInfo()
3090 if(modeflag & DoubleScanMode) yres <<= 1; in SiS_GetCRT2ResInfo()
3337 unsigned short temp1=0, modeflag=0, tempcx=0; in SiS_GetRAMDAC2DATA() local
3344 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetRAMDAC2DATA()
3351 dotclock = (modeflag & Charx8Dot) ? 8 : 9; in SiS_GetRAMDAC2DATA()
3355 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetRAMDAC2DATA()
3377 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetRAMDAC2DATA()
3528 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local
3537 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetCRT2Data301()
3540 modeflag = SiS_Pr->CModeFlag; in SiS_GetCRT2Data301()
3543 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetCRT2Data301()
3581 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3620 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3675 if(modeflag & HalfDCLK) { in SiS_GetCRT2Data301()
3704 if(modeflag & HalfDCLK) tempax <<= 1; in SiS_GetCRT2Data301()
3730 if((SiS_Pr->SiS_RVBHRS2) && (modeflag & HalfDCLK)) { in SiS_GetCRT2Data301()
3907 unsigned short modeflag, ResIndex; in SiS_GetLVDSDesData() local
4091 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSDesData()
4093 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 632; in SiS_GetLVDSDesData()
4098 if(!(modeflag & HalfDCLK)) SiS_Pr->SiS_LCDHDES = 320; in SiS_GetLVDSDesData()
4104 if(!(modeflag & HalfDCLK)) { in SiS_GetLVDSDesData()
5545 unsigned short temp, modeflag, i, j, xres=0, VGAVDE; in SiS_SetGroup1_301() local
5556 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_301()
5558 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_301()
5561 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_301()
5576 if(modeflag & HalfDCLK) SiS_Pr->CHDisplay >>= 1; in SiS_SetGroup1_301()
5589 if(!(modeflag & HalfDCLK)) temp -= 32; in SiS_SetGroup1_301()
5645 if(modeflag & DoubleScanMode) temp |= 0x80; in SiS_SetGroup1_301()
5650 if(modeflag & HalfDCLK) temp |= 0x08; in SiS_SetGroup1_301()
5674 unsigned short modeflag, resinfo = 0; in SiS_SetGroup1_LVDS() local
5686 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1_LVDS()
5692 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1_LVDS()
5694 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1_LVDS()
6017 if(modeflag & HalfDCLK) tempeax >>= 1; in SiS_SetGroup1_LVDS()
6061 if(modeflag & HalfDCLK) tempecx >>= 1; in SiS_SetGroup1_LVDS()
6234 unsigned short pushbx=0, CRT1Index=0, modeflag, resinfo=0; in SiS_SetGroup1() local
6245 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup1()
6247 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup1()
6251 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup1()
6300 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
6320 if(modeflag & HalfDCLK) { in SiS_SetGroup1()
6358 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6383 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup1()
6568 if(modeflag & DoubleScanMode) tempax |= 0x80; in SiS_SetGroup1()
6569 if(modeflag & HalfDCLK) tempax |= 0x40; in SiS_SetGroup1()
6909 unsigned short push2, modeflag, crt2crtc, bridgeoffset; in SiS_SetGroup2() local
6921 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup2()
6924 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup2()
6927 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup2()
7160 if(!(modeflag & HalfDCLK)) { in SiS_SetGroup2()
7170 if((!(modeflag & HalfDCLK)) || (SiS_Pr->ChipType < SIS_315H)) { in SiS_SetGroup2()
7183 if(modeflag & HalfDCLK) tempcl <<= 1; in SiS_SetGroup2()
7468 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7486 if(modeflag & HalfDCLK) tempbx <<= 1; in SiS_SetGroup2()
7723 unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo; in SiS_SetGroup4() local
7727 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_SetGroup4()
7730 modeflag = SiS_Pr->CModeFlag; in SiS_SetGroup4()
7733 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_SetGroup4()
7778 if(modeflag & HalfDCLK) tempbx >>= 1; in SiS_SetGroup4()
7846 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_SetGroup4()
7940 unsigned short modeflag = 0; in SiS_GetLVDSCRT1Ptr() local
7946 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7949 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetLVDSCRT1Ptr()
7987 if(modeflag & HalfDCLK) (*DisplayType)++; in SiS_GetLVDSCRT1Ptr()
8003 unsigned short tempah, i, modeflag, j, ResIndex, DisplayType; in SiS_ModCRT1CRTC() local
8073 if(ModeNo <= 0x13) modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_ModCRT1CRTC()
8074 else modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_ModCRT1CRTC()
8077 if(modeflag & DoubleScanMode) tempah |= 0x80; in SiS_ModCRT1CRTC()
10754 unsigned short resinfo,modeflag; in SiS_FinalizeLCD() local
10778 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_FinalizeLCD()
10781 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_FinalizeLCD()
10889 if(!(modeflag & HalfDCLK)) { in SiS_FinalizeLCD()
10958 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local
10963 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SetOEMLCDData2()
10966 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SetOEMLCDData2()
10977 if(modeflag & HalfDCLK) myindex = 1; in SetOEMLCDData2()