Lines Matching refs:ModeIdIndex

1233 		unsigned short ModeIdIndex)  in SiS_GetModeFlag()  argument
1238 return SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetModeFlag()
1240 return SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetModeFlag()
1482 unsigned short ModeIdIndex) in SiS_CheckMemorySize() argument
1485 unsigned short modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_CheckMemorySize()
1596 unsigned short *ModeIdIndex) in SiS_SearchModeID() argument
1604 for((*ModeIdIndex) = 0; ;(*ModeIdIndex)++) { in SiS_SearchModeID()
1605 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == (*ModeNo)) break; in SiS_SearchModeID()
1606 if(SiS_Pr->SiS_SModeIDTable[(*ModeIdIndex)].St_ModeID == 0xFF) return false; in SiS_SearchModeID()
1610 if(VGAINFO & 0x10) (*ModeIdIndex)++; /* 400 lines */ in SiS_SearchModeID()
1614 if(!(VGAINFO & 0x80)) (*ModeIdIndex)++; in SiS_SearchModeID()
1615 if(VGAINFO & 0x10) (*ModeIdIndex)++; /* 400 lines */ in SiS_SearchModeID()
1622 for((*ModeIdIndex) = 0; ;(*ModeIdIndex)++) { in SiS_SearchModeID()
1623 if(SiS_Pr->SiS_EModeIDTable[(*ModeIdIndex)].Ext_ModeID == (*ModeNo)) break; in SiS_SearchModeID()
1624 if(SiS_Pr->SiS_EModeIDTable[(*ModeIdIndex)].Ext_ModeID == 0xFF) return false; in SiS_SearchModeID()
1636 SiS_GetModePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_GetModePtr() argument
1641 index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_StTableIndex; in SiS_GetModePtr()
1778 unsigned short ModeIdIndex) in SiS_GetColorDepth() argument
1788 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetColorDepth()
1790 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetColorDepth()
1804 unsigned short ModeIdIndex, unsigned short RRTI) in SiS_GetOffset() argument
1816 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex); in SiS_GetOffset()
2073 unsigned short ModeIdIndex, unsigned short RRTI) in SiS_SetCRT1CRTC() argument
2078 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1CRTC()
2143 unsigned short ModeIdIndex, unsigned short RRTI) in SiS_SetCRT1Offset() argument
2153 DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_SetCRT1Offset()
2177 unsigned short ModeIdIndex, unsigned short RRTI) in SiS_SetCRT1VCLK() argument
2185 index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_SetCRT1VCLK()
2207 unsigned short mf = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1VCLK()
2538 SiS_SetCRT1FIFO_310(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetCRT1FIFO_310() argument
2545 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1FIFO_310()
2574 unsigned short RefreshRateTableIndex, unsigned short ModeIdIndex) in SiS_SetVCLKState() argument
2582 index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetVCLKState()
2648 unsigned short ModeIdIndex, unsigned short RRTI) in SiS_SetCRT1ModeRegs() argument
2656 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1ModeRegs()
2661 resindex = SiS_GetResInfo(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1ModeRegs()
2723 data2 = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI) >> 1; in SiS_SetCRT1ModeRegs()
2725 data3 = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex) >> 1; in SiS_SetCRT1ModeRegs()
2750 data2 = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_SetCRT1ModeRegs()
2754 data3 = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex) >> 1; in SiS_SetCRT1ModeRegs()
2800 SiS_SetVCLKState(SiS_Pr, ModeNo, RRTI, ModeIdIndex); in SiS_SetCRT1ModeRegs()
2872 SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_LoadDAC() argument
2879 data = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex) & DACInfoFlag; in SiS_LoadDAC()
2948 SiS_SetCRT1Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex) in SiS_SetCRT1Group() argument
2954 StandTableIndex = SiS_GetModePtr(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1Group()
2985 RefreshRateTableIndex = SiS_GetRatePtr(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1Group()
2993 SiS_SetCRT1CRTC(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT1Group()
2994 SiS_SetCRT1Offset(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT1Group()
2995 SiS_SetCRT1VCLK(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT1Group()
3026 SiS_SetCRT1FIFO_310(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1Group()
3031 SiS_SetCRT1ModeRegs(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); in SiS_SetCRT1Group()
3039 SiS_LoadDAC(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1Group()
3170 unsigned short RealModeNo, ModeIdIndex; in SiSSetMode() local
3206 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false; in SiSSetMode()
3208 ModeIdIndex = 0; in SiSSetMode()
3227 SiS_GetVBInfo(SiS_Pr, ModeNo, ModeIdIndex, (SiS_Pr->UseCustomMode) ? 0 : 1); in SiSSetMode()
3229 SiS_SetTVMode(SiS_Pr, ModeNo, ModeIdIndex); in SiSSetMode()
3230 SiS_GetLCDResInfo(SiS_Pr, ModeNo, ModeIdIndex); in SiSSetMode()
3234 if(!SiS_CheckMemorySize(SiS_Pr, ModeNo, ModeIdIndex)) { in SiSSetMode()
3251 SiS_SetCRT1Group(SiS_Pr, ModeNo, ModeIdIndex); in SiSSetMode()
3386 unsigned short ModeIdIndex) in SiS_CalcLCDACRT1Timing() argument
3395 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_CalcLCDACRT1Timing()