DisplayUnit = SiS_GetOffset(SiS_Pr,ModeNo,ModeIdIndex, RefreshRateTableIndex,HwInfo); 
DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI); 
SiS_SetCRT1Offset(SiS_Private *SiS_Pr, USHORT ModeNo, USHORT ModeIdIndex,                  USHORT RefreshRateTableIndex,		  PSIS_HW_INFO HwInfo){   USHORT temp, DisplayUnit, infoflag;   if(SiS_Pr->UseCustomMode) {      infoflag = SiS_Pr->CInfoFlag;   } else {      infoflag = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_InfoFlag;   }   DisplayUnit = SiS_GetOffset(SiS_Pr,ModeNo,ModeIdIndex,                     	       RefreshRateTableIndex,HwInfo);   temp = (DisplayUnit >> 8) & 0x0f;   SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0xF0,temp);   temp = DisplayUnit & 0xFF;   SiS_SetReg(SiS_Pr->SiS_P3d4,0x13,temp);   if(infoflag & InterlaceMode) DisplayUnit >>= 1;   DisplayUnit <<= 5;   temp = (DisplayUnit & 0xff00) >> 8;   if(DisplayUnit & 0xff) temp++;   temp++;   SiS_SetReg(SiS_Pr->SiS_P3c4,0x10,temp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/init.c/clean/drivers/video/sis/init.c