• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/video/sis/

Lines Matching defs:ModeIdIndex

1231 		unsigned short ModeIdIndex)
1236 return SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag;
1238 return SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1483 unsigned short ModeIdIndex)
1486 unsigned short modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
1600 unsigned short *ModeIdIndex)
1608 for((*ModeIdIndex) = 0; ;(*ModeIdIndex)++) {
1609 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == (*ModeNo)) break;
1610 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == 0xFF) return false;
1614 if(VGAINFO & 0x10) (*ModeIdIndex)++; /* 400 lines */
1618 if(!(VGAINFO & 0x80)) (*ModeIdIndex)++;
1619 if(VGAINFO & 0x10) (*ModeIdIndex)++; /* 400 lines */
1626 for((*ModeIdIndex) = 0; ;(*ModeIdIndex)++) {
1627 if(SiS_Pr->SiS_EModeIDTable[(*ModeIdIndex)].Ext_ModeID == (*ModeNo)) break;
1628 if(SiS_Pr->SiS_EModeIDTable[(*ModeIdIndex)].Ext_ModeID == 0xFF) return false;
1640 SiS_GetModePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
1645 index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_StTableIndex;
1763 unsigned short ModeIdIndex)
1773 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag;
1775 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag;
1789 unsigned short ModeIdIndex, unsigned short RRTI)
1801 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex);
2058 unsigned short ModeIdIndex, unsigned short RRTI)
2063 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
2128 unsigned short ModeIdIndex, unsigned short RRTI)
2138 DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
2162 unsigned short ModeIdIndex, unsigned short RRTI)
2170 index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
2192 unsigned short mf = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
2536 SiS_SetCRT1FIFO_310(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2543 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
2572 unsigned short RefreshRateTableIndex, unsigned short ModeIdIndex)
2580 index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
2646 unsigned short ModeIdIndex, unsigned short RRTI)
2654 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
2659 resindex = SiS_GetResInfo(SiS_Pr, ModeNo, ModeIdIndex);
2721 data2 = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI) >> 1;
2723 data3 = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex) >> 1;
2748 data2 = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
2752 data3 = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex) >> 1;
2798 SiS_SetVCLKState(SiS_Pr, ModeNo, RRTI, ModeIdIndex);
2847 SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2854 data = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex) & DACInfoFlag;
2923 SiS_SetCRT1Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex)
2929 StandTableIndex = SiS_GetModePtr(SiS_Pr, ModeNo, ModeIdIndex);
2965 RefreshRateTableIndex = SiS_GetRatePtr(SiS_Pr, ModeNo, ModeIdIndex);
2973 SiS_SetCRT1CRTC(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
2974 SiS_SetCRT1Offset(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
2975 SiS_SetCRT1VCLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3006 SiS_SetCRT1FIFO_310(SiS_Pr, ModeNo, ModeIdIndex);
3011 SiS_SetCRT1ModeRegs(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex);
3019 SiS_LoadDAC(SiS_Pr, ModeNo, ModeIdIndex);
3223 unsigned short RealModeNo, ModeIdIndex;
3269 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false;
3271 ModeIdIndex = 0;
3290 SiS_GetVBInfo(SiS_Pr, ModeNo, ModeIdIndex, (SiS_Pr->UseCustomMode) ? 0 : 1);
3292 SiS_SetTVMode(SiS_Pr, ModeNo, ModeIdIndex);
3293 SiS_GetLCDResInfo(SiS_Pr, ModeNo, ModeIdIndex);
3298 if(!SiS_CheckMemorySize(SiS_Pr, ModeNo, ModeIdIndex)) {
3316 SiS_SetCRT1Group(SiS_Pr, ModeNo, ModeIdIndex);
3450 unsigned short ModeIdIndex;
3523 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false;
3525 ModeIdIndex = 0;
3544 SiS_GetVBInfo(SiS_Pr, ModeNo, ModeIdIndex, 1);
3547 SiS_GetVBInfo(SiS_Pr, ModeNo, ModeIdIndex, 0);
3550 SiS_SetTVMode(SiS_Pr, ModeNo, ModeIdIndex);
3551 SiS_GetLCDResInfo(SiS_Pr, ModeNo, ModeIdIndex);
3617 unsigned short ModeIdIndex, ModeNo = 0;
3667 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false;
3669 ModeIdIndex = 0;
3686 SiS_GetVBInfo(SiS_Pr, ModeNo, ModeIdIndex, 0);
3688 SiS_SetTVMode(SiS_Pr, ModeNo, ModeIdIndex);
3689 SiS_GetLCDResInfo(SiS_Pr, ModeNo, ModeIdIndex);
3695 SiS_SetCRT1Group(SiS_Pr, ModeNo, ModeIdIndex);
3853 unsigned short ModeIdIndex)
3862 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);