Searched refs:DisplayUnit (Results 1 – 1 of 1) sorted by relevance
2146 unsigned short temp, DisplayUnit, infoflag; in SiS_SetCRT1Offset() local2154 DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_SetCRT1Offset()2156 temp = (DisplayUnit >> 8) & 0x0f; in SiS_SetCRT1Offset()2159 SiS_SetReg(SiS_Pr->SiS_P3d4,0x13,DisplayUnit & 0xFF); in SiS_SetCRT1Offset()2161 if(infoflag & InterlaceMode) DisplayUnit >>= 1; in SiS_SetCRT1Offset()2163 DisplayUnit <<= 5; in SiS_SetCRT1Offset()2164 temp = (DisplayUnit >> 8) + 1; in SiS_SetCRT1Offset()2165 if(DisplayUnit & 0xff) temp++; in SiS_SetCRT1Offset()