• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/sis/

Lines Matching defs:ModeNo

200 SiS_AdjustCRT2Rate(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
288 SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
301 if(ModeNo == 0xfe) return 0;
303 if(ModeNo <= 0x13) {
315 if(ModeNo < 0x14) return 0xFFFF;
343 ModeNo = SiS_Pr->SiS_RefIndex[RRTI].ModeID;
356 if(SiS_Pr->SiS_RefIndex[RRTI + i].ModeID != ModeNo) break;
375 if(!(SiS_AdjustCRT2Rate(SiS_Pr, ModeNo, ModeIdIndex, RRTI, &i))) {
388 SiS_SaveCRT2Info(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
392 /* Store CRT1 ModeNo in CR34 */
393 SiS_SetReg(SiS_Pr->SiS_P3d4,0x34,ModeNo);
942 SiS_GetVBInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
950 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
954 if((ModeNo > 0x13) && (!SiS_Pr->UseCustomMode)) {
971 if(ModeNo == 0x03) {
982 if((ModeNo <= 0x13) || (!(SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) & (DriverMode >> 8)))) {
1217 SiS_SetTVMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
1228 if(ModeNo > 0x13) {
1508 SiS_GetLCDResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
1536 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
1538 if((ModeNo > 0x13) && (!SiS_Pr->UseCustomMode)) {
2088 if((SiS_Pr->SiS_SetFlag & SetDOSMode) && ((ModeNo == 0x03) || (ModeNo == 0x10))) {
2138 if(ModeNo == 0x12) {
2142 } else if(ModeNo > 0x13) {
2161 } else if(ModeNo > 0x13) {
2195 SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
2202 if(ModeNo <= 0x13) {
2247 if(ModeNo <= 0x13) {
2280 if(ModeNo > 0x13) {
2295 if(ModeNo > 0x13) {
2370 if(ModeNo > 0x13) {
2383 if(ModeNo > 0x13) {
2409 SiS_SetCRT2ModeRegs(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2421 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
2453 if(ModeNo > 0x13) {
2468 if(ModeNo > 0x13) {
2768 SiS_GetResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2770 if(ModeNo <= 0x13)
2777 SiS_GetCRT2ResInfo(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2790 resindex = SiS_GetResInfo(SiS_Pr,ModeNo,ModeIdIndex);
2792 if(ModeNo <= 0x13) {
2804 if((ModeNo != 0x03) && (SiS_Pr->SiS_SetFlag & SetDOSMode)) {
2808 if(ModeNo == 0x12) yres = 400;
2876 SiS_GetCRT2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
2882 if(ModeNo <= 0x13) {
2911 if(ModeNo >= 0x13) {
2951 if(ModeNo > 0x13) {
3056 SiS_GetRAMDAC2DATA(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
3065 if(ModeNo <= 0x13) {
3068 index = SiS_GetModePtr(SiS_Pr,ModeNo,ModeIdIndex);
3109 SiS_CalcPanelLinkTiming(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
3122 if(ModeNo < 0x13) {
3152 SiS_GetCRT2DataLVDS(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
3158 SiS_GetCRT2ResInfo(SiS_Pr, ModeNo, ModeIdIndex);
3175 SiS_CalcPanelLinkTiming(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3176 SiS_CalcLCDACRT1Timing(SiS_Pr, ModeNo, ModeIdIndex);
3187 SiS_GetCRT2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex,
3223 SiS_CalcPanelLinkTiming(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3247 SiS_GetCRT2Data301(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
3259 if(ModeNo <= 0x13) {
3292 SiS_GetCRT2ResInfo(SiS_Pr,ModeNo,ModeIdIndex);
3310 SiS_GetRAMDAC2DATA(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3316 SiS_GetCRT2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex,
3478 SiS_GetCRT2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex,
3576 SiS_GetCRT2Data(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
3583 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3587 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3589 SiS_GetCRT2Data301(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3595 SiS_GetCRT2DataLVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3633 SiS_GetLVDSDesData(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
3676 if(ModeNo <= 0x13) ResIndex = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC;
3819 if((ModeNo <= 0x13) && (SiS_Pr->SiS_LCDInfo & DontExpandLCD)) {
4874 SiS_SetCRT2Offset(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
4882 offset = SiS_GetOffset(SiS_Pr,ModeNo,ModeIdIndex,RRTI);
4894 SiS_SetCRT2Sync(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short RefreshRateTableIndex)
5021 if(ModeNo <= 0x13) {
5063 SiS_SetCRT2FIFO_300(struct SiS_Private *SiS_Pr,unsigned short ModeNo)
5078 CRT1ModeNo = SiS_Pr->SiS_CRT1Mode; /* get CRT1 ModeNo */
5175 CRT2ModeNo = ModeNo;
5277 SiS_SetGroup1_301(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex,
5290 if(ModeNo <= 0x13) {
5352 if(ModeNo == 0x3c) SiS_Pr->CVBlankEnd = 226;
5427 SiS_SetGroup1_LVDS(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
5441 if(ModeNo <= 0x13) {
5555 switch(ModeNo) {
5637 if(ModeNo == 0x10) temp = 0xa9;
5863 if(ModeNo == 0x13) {
5867 } else if(ModeNo == 0x10) {
5983 SiS_SetGroup1(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
5996 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
6000 if(ModeNo <= 0x13) {
6010 SiS_SetCRT2Offset(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
6018 SiS_SetCRT2FIFO_300(SiS_Pr, ModeNo);
6337 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
6339 SiS_SetGroup1_301(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
6343 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
6347 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo,ModeIdIndex,RefreshRateTableIndex);
6350 SiS_SetGroup1_LVDS(SiS_Pr, ModeNo,ModeIdIndex,RefreshRateTableIndex);
6402 SiS_SetGroup2_C_ELV(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
6427 SiS_GetCRT2Part2Ptr(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex,
6434 if(ModeNo <= 0x13)
6459 SiS_Group2LCDSpecial(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short crt2crtc)
6474 if(ModeNo == 0x13) {
6518 unsigned short ModeNo)
6528 if(ModeNo <= 0x13) {
6539 if(ModeNo > 0x13) {
6561 SiS_SetTVSpecial(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
6590 if((ModeNo == 0x38) || (ModeNo == 0x4a) || (ModeNo == 0x64) ||
6591 (ModeNo == 0x52) || (ModeNo == 0x58) || (ModeNo == 0x5c)) {
6602 SiS_SetGroup2_Tail(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
6632 if(ModeNo <= 0x13) temp = 3;
6639 SiS_SetGroup2(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
6654 if(ModeNo <= 0x13) {
6846 if((ModeNo <= 0x13) && (crt2crtc == 1)) tempbx++;
6855 if((ModeNo == 0x2f) || (ModeNo == 0x5d) || (ModeNo == 0x5e)) tempbx++;
6858 if(ModeNo == 0x03) tempbx++; /* From 1.10.7w - doesn't make sense */
6958 SiS_SetTVSpecial(SiS_Pr, ModeNo);
7027 if(SiS_GetCRT2Part2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex,
7049 SiS_SetGroup2_Tail(SiS_Pr, ModeNo);
7167 SiS_Group2LCDSpecial(SiS_Pr, ModeNo, crt2crtc);
7265 SiS_SetGroup2_Tail(SiS_Pr, ModeNo);
7268 SiS_Set300Part2Regs(SiS_Pr, ModeIdIndex, RefreshRateTableIndex, ModeNo);
7280 SiS_SetGroup3(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
7342 SiS_SetGroup4_C_ELV(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
7356 if(ModeNo > 0x13) {
7380 if(ModeNo > 0x13) {
7389 if(ModeNo > 0x13) {
7401 SiS_SetCRT2VCLK(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7410 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
7460 SiS_SetGroup4(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7466 if(ModeNo <= 0x13) {
7650 SiS_SetCRT2VCLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
7658 SiS_SetGroup5(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
7666 SiS_LoadDAC(SiS_Pr, ModeNo, ModeIdIndex);
7676 SiS_GetLVDSCRT1Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7685 if(ModeNo <= 0x13) {
7740 SiS_ModCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7770 if(!(SiS_GetLVDSCRT1Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex,
7807 if(ModeNo <= 0x13) modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag;
7816 SiS_CalcLCDACRT1Timing(SiS_Pr, ModeNo, ModeIdIndex);
7826 SiS_SetCRT2ECLK(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7838 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex,
7842 vclkindex = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex,
7881 SiS_SetCHTVReg(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
7887 if(ModeNo <= 0x13)
8411 SiS_ChrontelDoSomething3(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
8440 if(ModeNo > 0x13) {
8558 SiS_SetCRT2Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
8568 SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex);
8578 RefreshRateTableIndex = SiS_GetRatePtr(SiS_Pr, ModeNo, ModeIdIndex);
8580 SiS_SaveCRT2Info(SiS_Pr,ModeNo);
8587 SiS_SetCRT2ModeRegs(SiS_Pr, ModeNo, ModeIdIndex);
8596 SiS_GetCRT2Data(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8603 SiS_GetLVDSDesData(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8617 SiS_SetGroup1(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8624 SiS_SetGroup2(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8626 SiS_SetGroup2_C_ELV(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8628 SiS_SetGroup3(SiS_Pr, ModeNo, ModeIdIndex);
8629 SiS_SetGroup4(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8631 SiS_SetGroup4_C_ELV(SiS_Pr, ModeNo, ModeIdIndex);
8633 SiS_SetGroup5(SiS_Pr, ModeNo, ModeIdIndex);
8635 SiS_SetCRT2Sync(SiS_Pr, ModeNo, RefreshRateTableIndex);
8640 if(!((SiS_Pr->SiS_SetFlag & SetDOSMode) && ((ModeNo == 0x03) || (ModeNo == 0x10)))) {
8642 SiS_ModCRT1CRTC(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8645 SiS_SetCRT2ECLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8651 SiS_SetCRT2Sync(SiS_Pr, ModeNo, RefreshRateTableIndex);
8653 SiS_ModCRT1CRTC(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex);
8655 SiS_SetCRT2ECLK(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex);
8667 SiS_SetCHTVReg(SiS_Pr,ModeNo,ModeIdIndex,RefreshRateTableIndex);
8680 SiS_OEM300Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8683 SiS_OEM300Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8689 SetOEMLCDData2(SiS_Pr, ModeNo, ModeIdIndex,RefreshRateTableIndex);
8701 SiS_FinalizeLCD(SiS_Pr, ModeNo, ModeIdIndex);
8702 SiS_OEM310Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
8704 SiS_OEM661Setting(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
9706 SetDelayComp(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
10013 SetAntiFlicker(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10020 if(ModeNo<=0x13)
10056 SetEdgeEnhance(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex)
10063 if(ModeNo <= 0x13)
10094 SetYFilter(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex)
10098 if(ModeNo <= 0x13) {
10126 SetPhaseIncr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10149 if(ModeNo<=0x13) {
10196 if((!(SiS_Pr->SiS_TVMode & (TVSetPAL | TVSetYPbPr525p | TVSetYPbPr750p))) && (ModeNo > 0x13)) {
10214 SetDelayComp661(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
10233 } else if(ModeNo > 0x13) {
10234 index = SiS_GetVCLK2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RTI);
10258 else if(ModeNo <= 0x13) delay = 0x04;
10374 SetCRT2SyncDither661(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short RTI)
10381 if(ModeNo <= 0x13) {
10455 SiS_OEM310Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex, unsigned short RRTI)
10458 SetDelayComp661(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
10460 SetCRT2SyncDither661(SiS_Pr, ModeNo, RRTI);
10464 SetDelayComp(SiS_Pr,ModeNo);
10468 SetAntiFlicker(SiS_Pr,ModeNo,ModeIdIndex);
10469 SetPhaseIncr(SiS_Pr,ModeNo,ModeIdIndex);
10470 SetYFilter(SiS_Pr,ModeNo,ModeIdIndex);
10472 SetEdgeEnhance(SiS_Pr,ModeNo,ModeIdIndex);
10478 SiS_OEM661Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
10483 SetDelayComp661(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
10486 SetCRT2SyncDither661(SiS_Pr, ModeNo, RRTI);
10491 SetPhaseIncr(SiS_Pr, ModeNo, ModeIdIndex);
10492 SetYFilter(SiS_Pr, ModeNo, ModeIdIndex);
10493 SetAntiFlicker(SiS_Pr, ModeNo, ModeIdIndex);
10495 SetEdgeEnhance(SiS_Pr, ModeNo, ModeIdIndex);
10509 SiS_FinalizeLCD(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10534 if(ModeNo <= 0x13) {
10609 if(SiS_Pr->Backup && (SiS_Pr->Backup_Mode == ModeNo)) {
10622 if(ModeNo <= 0x13) {
10629 if((ModeNo > 0x13) && (resinfo == SIS_RI_1024x768)) {
10632 } else if(ModeNo <= 0x13) {
10633 if(ModeNo <= 1) {
10646 if(ModeNo == 0x12) {
10705 SetOEMLCDData2(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex,
10712 if(ModeNo <= 0x13) {
10811 SetOEMLCDDelay(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex)
10884 SetOEMLCDData(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10907 SetOEMTVDelay(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10939 SetOEMAntiFlicker(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
10967 SetOEMPhaseIncr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,unsigned short ModeIdIndex)
11007 SetOEMYFilter(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
11052 SiS_SearchVBModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo)
11057 if(*ModeNo <= 5) *ModeNo |= 1;
11060 if(SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].ModeID == *ModeNo) break;
11064 if(*ModeNo != 0x07) {
11065 if(*ModeNo > 0x03) return ModeIdIndex;
11076 SiS_OEM300Setting(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex,
11082 OEMModeIdIndex = SiS_SearchVBModeID(SiS_Pr,&ModeNo);
11087 SetOEMLCDDelay(SiS_Pr, ModeNo, OEMModeIdIndex);
11089 SetOEMLCDData(SiS_Pr, ModeNo, OEMModeIdIndex);
11094 SetOEMTVDelay(SiS_Pr, ModeNo,OEMModeIdIndex);
11096 SetOEMAntiFlicker(SiS_Pr, ModeNo, OEMModeIdIndex);
11097 SetOEMPhaseIncr(SiS_Pr, ModeNo, OEMModeIdIndex);
11098 SetOEMYFilter(SiS_Pr, ModeNo, OEMModeIdIndex);