Lines Matching refs:ModeNo
196 SiS_AdjustCRT2Rate(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_AdjustCRT2Rate() argument
284 SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetRatePtr() argument
297 if(ModeNo == 0xfe) return 0; in SiS_GetRatePtr()
299 if(ModeNo <= 0x13) { in SiS_GetRatePtr()
311 if(ModeNo < 0x14) return 0xFFFF; in SiS_GetRatePtr()
339 ModeNo = SiS_Pr->SiS_RefIndex[RRTI].ModeID; in SiS_GetRatePtr()
352 if(SiS_Pr->SiS_RefIndex[RRTI + i].ModeID != ModeNo) break; in SiS_GetRatePtr()
371 if(!(SiS_AdjustCRT2Rate(SiS_Pr, ModeNo, ModeIdIndex, RRTI, &i))) { in SiS_GetRatePtr()
384 SiS_SaveCRT2Info(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SiS_SaveCRT2Info() argument
389 SiS_SetReg(SiS_Pr->SiS_P3d4,0x34,ModeNo); in SiS_SaveCRT2Info()
934 SiS_GetVBInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, in SiS_GetVBInfo() argument
942 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetVBInfo()
946 if((ModeNo > 0x13) && (!SiS_Pr->UseCustomMode)) { in SiS_GetVBInfo()
963 if(ModeNo == 0x03) { in SiS_GetVBInfo()
974 if((ModeNo <= 0x13) || (!(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & (DriverMode >> 8)))) { in SiS_GetVBInfo()
1205 SiS_SetTVMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetTVMode() argument
1216 if(ModeNo > 0x13) { in SiS_SetTVMode()
1466 SiS_GetLCDResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetLCDResInfo() argument
1494 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetLCDResInfo()
1496 if((ModeNo > 0x13) && (!SiS_Pr->UseCustomMode)) { in SiS_GetLCDResInfo()
2046 if((SiS_Pr->SiS_SetFlag & SetDOSMode) && ((ModeNo == 0x03) || (ModeNo == 0x10))) { in SiS_GetLCDResInfo()
2096 if(ModeNo == 0x12) { in SiS_GetLCDResInfo()
2100 } else if(ModeNo > 0x13) { in SiS_GetLCDResInfo()
2119 } else if(ModeNo > 0x13) { in SiS_GetLCDResInfo()
2150 SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetVCLK2Ptr() argument
2157 if(ModeNo <= 0x13) { in SiS_GetVCLK2Ptr()
2202 if(ModeNo <= 0x13) { in SiS_GetVCLK2Ptr()
2235 if(ModeNo > 0x13) { in SiS_GetVCLK2Ptr()
2250 if(ModeNo > 0x13) { in SiS_GetVCLK2Ptr()
2325 if(ModeNo > 0x13) { in SiS_GetVCLK2Ptr()
2338 if(ModeNo > 0x13) { in SiS_GetVCLK2Ptr()
2364 SiS_SetCRT2ModeRegs(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetCRT2ModeRegs() argument
2376 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2ModeRegs()
2408 if(ModeNo > 0x13) { in SiS_SetCRT2ModeRegs()
2423 if(ModeNo > 0x13) { in SiS_SetCRT2ModeRegs()
2723 SiS_GetResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetResInfo() argument
2725 if(ModeNo <= 0x13) in SiS_GetResInfo()
2732 SiS_GetCRT2ResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetCRT2ResInfo() argument
2745 resindex = SiS_GetResInfo(SiS_Pr,ModeNo,ModeIdIndex); in SiS_GetCRT2ResInfo()
2747 if(ModeNo <= 0x13) { in SiS_GetCRT2ResInfo()
2759 if((ModeNo != 0x03) && (SiS_Pr->SiS_SetFlag & SetDOSMode)) { in SiS_GetCRT2ResInfo()
2763 if(ModeNo == 0x12) yres = 400; in SiS_GetCRT2ResInfo()
2831 SiS_GetCRT2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetCRT2Ptr() argument
2837 if(ModeNo <= 0x13) { in SiS_GetCRT2Ptr()
2866 if(ModeNo >= 0x13) { in SiS_GetCRT2Ptr()
2906 if(ModeNo > 0x13) { in SiS_GetCRT2Ptr()
3011 SiS_GetRAMDAC2DATA(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetRAMDAC2DATA() argument
3020 if(ModeNo <= 0x13) { in SiS_GetRAMDAC2DATA()
3023 index = SiS_GetModePtr(SiS_Pr,ModeNo,ModeIdIndex); in SiS_GetRAMDAC2DATA()
3064 SiS_CalcPanelLinkTiming(struct SiS_Private *SiS_Pr, unsigned short ModeNo, in SiS_CalcPanelLinkTiming() argument
3077 if(ModeNo < 0x13) { in SiS_CalcPanelLinkTiming()
3107 SiS_GetCRT2DataLVDS(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetCRT2DataLVDS() argument
3113 SiS_GetCRT2ResInfo(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetCRT2DataLVDS()
3130 SiS_CalcPanelLinkTiming(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2DataLVDS()
3131 SiS_CalcLCDACRT1Timing(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetCRT2DataLVDS()
3142 SiS_GetCRT2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex, in SiS_GetCRT2DataLVDS()
3178 SiS_CalcPanelLinkTiming(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2DataLVDS()
3202 SiS_GetCRT2Data301(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetCRT2Data301() argument
3214 if(ModeNo <= 0x13) { in SiS_GetCRT2Data301()
3247 SiS_GetCRT2ResInfo(SiS_Pr,ModeNo,ModeIdIndex); in SiS_GetCRT2Data301()
3265 SiS_GetRAMDAC2DATA(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2Data301()
3271 SiS_GetCRT2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex, in SiS_GetCRT2Data301()
3433 SiS_GetCRT2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex, in SiS_GetCRT2Data301()
3525 SiS_GetCRT2Data(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetCRT2Data() argument
3532 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2Data()
3536 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2Data()
3538 SiS_GetCRT2Data301(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2Data()
3544 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_GetCRT2Data()
3582 SiS_GetLVDSDesData(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetLVDSDesData() argument
3625 if(ModeNo <= 0x13) ResIndex = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC; in SiS_GetLVDSDesData()
3768 if((ModeNo <= 0x13) && (SiS_Pr->SiS_LCDInfo & DontExpandLCD)) { in SiS_GetLVDSDesData()
4822 SiS_SetCRT2Offset(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetCRT2Offset() argument
4830 offset = SiS_GetOffset(SiS_Pr,ModeNo,ModeIdIndex,RRTI); in SiS_SetCRT2Offset()
4842 SiS_SetCRT2Sync(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short RefreshRateTableI… in SiS_SetCRT2Sync() argument
4969 if(ModeNo <= 0x13) { in SiS_SetCRT2Sync()
5011 SiS_SetCRT2FIFO_300(struct SiS_Private *SiS_Pr,unsigned short ModeNo) in SiS_SetCRT2FIFO_300() argument
5118 CRT2ModeNo = ModeNo; in SiS_SetCRT2FIFO_300()
5220 SiS_SetGroup1_301(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex, in SiS_SetGroup1_301() argument
5233 if(ModeNo <= 0x13) { in SiS_SetGroup1_301()
5295 if(ModeNo == 0x3c) SiS_Pr->CVBlankEnd = 226; in SiS_SetGroup1_301()
5349 SiS_SetGroup1_LVDS(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetGroup1_LVDS() argument
5363 if(ModeNo <= 0x13) { in SiS_SetGroup1_LVDS()
5477 switch(ModeNo) { in SiS_SetGroup1_LVDS()
5559 if(ModeNo == 0x10) temp = 0xa9; in SiS_SetGroup1_LVDS()
5785 if(ModeNo == 0x13) { in SiS_SetGroup1_LVDS()
5789 } else if(ModeNo == 0x10) { in SiS_SetGroup1_LVDS()
5905 SiS_SetGroup1(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetGroup1() argument
5918 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup1()
5922 if(ModeNo <= 0x13) { in SiS_SetGroup1()
5932 SiS_SetCRT2Offset(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup1()
5940 SiS_SetCRT2FIFO_300(SiS_Pr, ModeNo); in SiS_SetGroup1()
6259 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup1()
6261 SiS_SetGroup1_301(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup1()
6265 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup1()
6269 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo,ModeIdIndex,RefreshRateTableIndex); in SiS_SetGroup1()
6272 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo,ModeIdIndex,RefreshRateTableIndex); in SiS_SetGroup1()
6324 SiS_SetGroup2_C_ELV(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetGroup2_C_ELV() argument
6349 SiS_GetCRT2Part2Ptr(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex, in SiS_GetCRT2Part2Ptr() argument
6356 if(ModeNo <= 0x13) in SiS_GetCRT2Part2Ptr()
6381 SiS_Group2LCDSpecial(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short crt2crtc) in SiS_Group2LCDSpecial() argument
6396 if(ModeNo == 0x13) { in SiS_Group2LCDSpecial()
6440 unsigned short ModeNo) in SiS_Set300Part2Regs() argument
6450 if(ModeNo <= 0x13) { in SiS_Set300Part2Regs()
6461 if(ModeNo > 0x13) { in SiS_Set300Part2Regs()
6483 SiS_SetTVSpecial(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SiS_SetTVSpecial() argument
6512 if((ModeNo == 0x38) || (ModeNo == 0x4a) || (ModeNo == 0x64) || in SiS_SetTVSpecial()
6513 (ModeNo == 0x52) || (ModeNo == 0x58) || (ModeNo == 0x5c)) { in SiS_SetTVSpecial()
6524 SiS_SetGroup2_Tail(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SiS_SetGroup2_Tail() argument
6554 if(ModeNo <= 0x13) temp = 3; in SiS_SetGroup2_Tail()
6583 SiS_SetGroup2(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetGroup2() argument
6598 if(ModeNo <= 0x13) { in SiS_SetGroup2()
6790 if((ModeNo <= 0x13) && (crt2crtc == 1)) tempbx++; in SiS_SetGroup2()
6799 if((ModeNo == 0x2f) || (ModeNo == 0x5d) || (ModeNo == 0x5e)) tempbx++; in SiS_SetGroup2()
6802 if(ModeNo == 0x03) tempbx++; /* From 1.10.7w - doesn't make sense */ in SiS_SetGroup2()
6902 SiS_SetTVSpecial(SiS_Pr, ModeNo); in SiS_SetGroup2()
6971 if(SiS_GetCRT2Part2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex, in SiS_SetGroup2()
6993 SiS_SetGroup2_Tail(SiS_Pr, ModeNo); in SiS_SetGroup2()
7093 SiS_Group2LCDSpecial(SiS_Pr, ModeNo, crt2crtc); in SiS_SetGroup2()
7173 SiS_SetGroup2_Tail(SiS_Pr, ModeNo); in SiS_SetGroup2()
7176 SiS_Set300Part2Regs(SiS_Pr, ModeIdIndex, RefreshRateTableIndex, ModeNo); in SiS_SetGroup2()
7188 SiS_SetGroup3(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetGroup3() argument
7271 SiS_SetGroup4_C_ELV(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetGroup4_C_ELV() argument
7285 if(ModeNo > 0x13) { in SiS_SetGroup4_C_ELV()
7309 if(ModeNo > 0x13) { in SiS_SetGroup4_C_ELV()
7318 if(ModeNo > 0x13) { in SiS_SetGroup4_C_ELV()
7345 SiS_SetCRT2VCLK(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetCRT2VCLK() argument
7354 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2VCLK()
7404 SiS_SetGroup4(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetGroup4() argument
7410 if(ModeNo <= 0x13) { in SiS_SetGroup4()
7594 SiS_SetCRT2VCLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetGroup4()
7602 SiS_SetGroup5(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetGroup5() argument
7610 SiS_LoadDAC(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetGroup5()
7620 SiS_GetLVDSCRT1Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_GetLVDSCRT1Ptr() argument
7629 if(ModeNo <= 0x13) { in SiS_GetLVDSCRT1Ptr()
7684 SiS_ModCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_ModCRT1CRTC() argument
7714 if(!(SiS_GetLVDSCRT1Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex, in SiS_ModCRT1CRTC()
7757 if(ModeNo <= 0x13) modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_ModCRT1CRTC()
7766 SiS_CalcLCDACRT1Timing(SiS_Pr, ModeNo, ModeIdIndex); in SiS_ModCRT1CRTC()
7776 SiS_SetCRT2ECLK(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetCRT2ECLK() argument
7788 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, in SiS_SetCRT2ECLK()
7792 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, in SiS_SetCRT2ECLK()
7831 SiS_SetCHTVReg(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_SetCHTVReg() argument
7837 if(ModeNo <= 0x13) in SiS_SetCHTVReg()
8373 SiS_ChrontelDoSomething3(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SiS_ChrontelDoSomething3() argument
8402 if(ModeNo > 0x13) { in SiS_ChrontelDoSomething3()
8520 SiS_SetCRT2Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SiS_SetCRT2Group() argument
8530 SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex); in SiS_SetCRT2Group()
8540 RefreshRateTableIndex = SiS_GetRatePtr(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8542 SiS_SaveCRT2Info(SiS_Pr,ModeNo); in SiS_SetCRT2Group()
8549 SiS_SetCRT2ModeRegs(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8558 SiS_GetCRT2Data(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8565 SiS_GetLVDSDesData(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8569 SiS_SetGroup1(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8576 SiS_SetGroup2(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8578 SiS_SetGroup2_C_ELV(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8580 SiS_SetGroup3(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8581 SiS_SetGroup4(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8583 SiS_SetGroup4_C_ELV(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8585 SiS_SetGroup5(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8587 SiS_SetCRT2Sync(SiS_Pr, ModeNo, RefreshRateTableIndex); in SiS_SetCRT2Group()
8592 if(!((SiS_Pr->SiS_SetFlag & SetDOSMode) && ((ModeNo == 0x03) || (ModeNo == 0x10)))) { in SiS_SetCRT2Group()
8594 SiS_ModCRT1CRTC(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8597 SiS_SetCRT2ECLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8603 SiS_SetCRT2Sync(SiS_Pr, ModeNo, RefreshRateTableIndex); in SiS_SetCRT2Group()
8605 SiS_ModCRT1CRTC(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex); in SiS_SetCRT2Group()
8607 SiS_SetCRT2ECLK(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex); in SiS_SetCRT2Group()
8619 SiS_SetCHTVReg(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex); in SiS_SetCRT2Group()
8632 SiS_OEM300Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8635 SiS_OEM300Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8641 SetOEMLCDData2(SiS_Pr, ModeNo, ModeIdIndex,RefreshRateTableIndex); in SiS_SetCRT2Group()
8653 SiS_FinalizeLCD(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT2Group()
8654 SiS_OEM310Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
8656 SiS_OEM661Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT2Group()
9639 SetDelayComp(struct SiS_Private *SiS_Pr, unsigned short ModeNo) in SetDelayComp() argument
9946 SetAntiFlicker(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetAntiFlicker() argument
9953 if(ModeNo<=0x13) in SetAntiFlicker()
9989 SetEdgeEnhance(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex) in SetEdgeEnhance() argument
9996 if(ModeNo <= 0x13) in SetEdgeEnhance()
10027 SetYFilter(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex) in SetYFilter() argument
10031 if(ModeNo <= 0x13) { in SetYFilter()
10059 SetPhaseIncr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetPhaseIncr() argument
10082 if(ModeNo<=0x13) { in SetPhaseIncr()
10129 if((!(SiS_Pr->SiS_TVMode & (TVSetPAL | TVSetYPbPr525p | TVSetYPbPr750p))) && (ModeNo > 0x13)) { in SetPhaseIncr()
10147 SetDelayComp661(struct SiS_Private *SiS_Pr, unsigned short ModeNo, in SetDelayComp661() argument
10166 } else if(ModeNo > 0x13) { in SetDelayComp661()
10167 index = SiS_GetVCLK2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RTI); in SetDelayComp661()
10191 else if(ModeNo <= 0x13) delay = 0x04; in SetDelayComp661()
10307 SetCRT2SyncDither661(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short RTI) in SetCRT2SyncDither661() argument
10314 if(ModeNo <= 0x13) { in SetCRT2SyncDither661()
10388 SiS_OEM310Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, un… in SiS_OEM310Setting() argument
10391 SetDelayComp661(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_OEM310Setting()
10393 SetCRT2SyncDither661(SiS_Pr, ModeNo, RRTI); in SiS_OEM310Setting()
10397 SetDelayComp(SiS_Pr,ModeNo); in SiS_OEM310Setting()
10401 SetAntiFlicker(SiS_Pr,ModeNo,ModeIdIndex); in SiS_OEM310Setting()
10402 SetPhaseIncr(SiS_Pr,ModeNo,ModeIdIndex); in SiS_OEM310Setting()
10403 SetYFilter(SiS_Pr,ModeNo,ModeIdIndex); in SiS_OEM310Setting()
10405 SetEdgeEnhance(SiS_Pr,ModeNo,ModeIdIndex); in SiS_OEM310Setting()
10411 SiS_OEM661Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo, in SiS_OEM661Setting() argument
10416 SetDelayComp661(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_OEM661Setting()
10419 SetCRT2SyncDither661(SiS_Pr, ModeNo, RRTI); in SiS_OEM661Setting()
10424 SetPhaseIncr(SiS_Pr, ModeNo, ModeIdIndex); in SiS_OEM661Setting()
10425 SetYFilter(SiS_Pr, ModeNo, ModeIdIndex); in SiS_OEM661Setting()
10426 SetAntiFlicker(SiS_Pr, ModeNo, ModeIdIndex); in SiS_OEM661Setting()
10428 SetEdgeEnhance(SiS_Pr, ModeNo, ModeIdIndex); in SiS_OEM661Setting()
10442 SiS_FinalizeLCD(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_FinalizeLCD() argument
10467 if(ModeNo <= 0x13) { in SiS_FinalizeLCD()
10542 if(SiS_Pr->Backup && (SiS_Pr->Backup_Mode == ModeNo)) { in SiS_FinalizeLCD()
10555 if(ModeNo <= 0x13) { in SiS_FinalizeLCD()
10562 if((ModeNo > 0x13) && (resinfo == SIS_RI_1024x768)) { in SiS_FinalizeLCD()
10573 } else if(ModeNo <= 0x13) { in SiS_FinalizeLCD()
10574 if(ModeNo <= 1) { in SiS_FinalizeLCD()
10587 if(ModeNo == 0x12) { in SiS_FinalizeLCD()
10646 SetOEMLCDData2(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex, in SetOEMLCDData2() argument
10653 if(ModeNo <= 0x13) { in SetOEMLCDData2()
10752 SetOEMLCDDelay(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex) in SetOEMLCDDelay() argument
10825 SetOEMLCDData(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetOEMLCDData() argument
10875 SetOEMTVDelay(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetOEMTVDelay() argument
10907 SetOEMAntiFlicker(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetOEMAntiFlicker() argument
10935 SetOEMPhaseIncr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex) in SetOEMPhaseIncr() argument
10975 SetOEMYFilter(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SetOEMYFilter() argument
11020 SiS_SearchVBModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo) in SiS_SearchVBModeID() argument
11025 if(*ModeNo <= 5) *ModeNo |= 1; in SiS_SearchVBModeID()
11028 if(SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].ModeID == *ModeNo) break; in SiS_SearchVBModeID()
11032 if(*ModeNo != 0x07) { in SiS_SearchVBModeID()
11033 if(*ModeNo > 0x03) return ModeIdIndex; in SiS_SearchVBModeID()
11044 SiS_OEM300Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, in SiS_OEM300Setting() argument
11050 OEMModeIdIndex = SiS_SearchVBModeID(SiS_Pr,&ModeNo); in SiS_OEM300Setting()
11055 SetOEMLCDDelay(SiS_Pr, ModeNo, OEMModeIdIndex); in SiS_OEM300Setting()
11057 SetOEMLCDData(SiS_Pr, ModeNo, OEMModeIdIndex); in SiS_OEM300Setting()
11062 SetOEMTVDelay(SiS_Pr, ModeNo,OEMModeIdIndex); in SiS_OEM300Setting()
11064 SetOEMAntiFlicker(SiS_Pr, ModeNo, OEMModeIdIndex); in SiS_OEM300Setting()
11065 SetOEMPhaseIncr(SiS_Pr, ModeNo, OEMModeIdIndex); in SiS_OEM300Setting()
11066 SetOEMYFilter(SiS_Pr, ModeNo, OEMModeIdIndex); in SiS_OEM300Setting()