Lines Matching refs:modeflag
1486 unsigned short modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_CheckMemorySize() local
1487 unsigned short memorysize = ((modeflag & MemoryInfoFlag) >> MemorySizeShift) + 1; in SiS_CheckMemorySize()
1782 unsigned short modeflag; in SiS_GetColorDepth() local
1787 modeflag = SiS_Pr->CModeFlag; in SiS_GetColorDepth()
1789 modeflag = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_ModeFlag; in SiS_GetColorDepth()
1791 modeflag = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].Ext_ModeFlag; in SiS_GetColorDepth()
1794 index = (modeflag & ModeTypeMask) - ModeEGA; in SiS_GetColorDepth()
2076 unsigned short temp, i, j, modeflag; in SiS_SetCRT1CRTC() local
2079 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1CRTC()
2115 if(modeflag & DoubleScanMode) temp |= 0x80; in SiS_SetCRT1CRTC()
2540 unsigned short modeflag; in SiS_SetCRT1FIFO_310() local
2545 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1FIFO_310()
2554 if(!(modeflag & HalfDCLK)) { in SiS_SetCRT1FIFO_310()
2559 if((!(modeflag & DoubleScanMode)) || (!(modeflag & HalfDCLK))) { in SiS_SetCRT1FIFO_310()
2651 unsigned short data, infoflag = 0, modeflag; in SiS_SetCRT1ModeRegs() local
2657 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_SetCRT1ModeRegs()
2694 if(modeflag & HalfDCLK) { in SiS_SetCRT1ModeRegs()
2699 if(modeflag & LineCompareOff) data = 0x08; in SiS_SetCRT1ModeRegs()
3387 unsigned short modeflag, tempax, tempbx = 0, remaining = 0; in SiS_CalcLCDACRT1Timing() local
3394 modeflag = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex); in SiS_CalcLCDACRT1Timing()
3396 if(modeflag & HalfDCLK) VGAHDE >>= 1; in SiS_CalcLCDACRT1Timing()
3410 if(modeflag & HalfDCLK) tempbx >>= 1; in SiS_CalcLCDACRT1Timing()
3422 if(modeflag & HalfDCLK) tempbx -= VGAHDE; in SiS_CalcLCDACRT1Timing()
3432 if(modeflag & HalfDCLK) { in SiS_CalcLCDACRT1Timing()
3439 if(modeflag & HalfDCLK) { in SiS_CalcLCDACRT1Timing()
3445 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_CalcLCDACRT1Timing()
3449 if(modeflag & HalfDCLK) { in SiS_CalcLCDACRT1Timing()
3464 if(modeflag & HalfDCLK) tempbx >>= 1; in SiS_CalcLCDACRT1Timing()
3529 if(modeflag & DoubleScanMode) tempax |= 0x80; in SiS_CalcLCDACRT1Timing()