} else { 
if(SiS_Pr->ChipType < SIS_315H) { SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xFC,data); } else { if(SiS_Pr->ChipType > SIS_315PRO) { if(ModeNo > 0x13) data &= 0xfc; } SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xF8,data); } 
SiS_SetVCLKState(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo,                 USHORT ModeNo, USHORT RefreshRateTableIndex,                 USHORT ModeIdIndex){  USHORT data=0, VCLK=0, index=0;  if(ModeNo > 0x13) {     if(SiS_Pr->UseCustomMode) {        VCLK = SiS_Pr->CSRClock;     } else {        index = SiS_GetVCLK2Ptr(SiS_Pr,ModeNo,ModeIdIndex,	                      RefreshRateTableIndex,HwInfo);        VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK;     }  }  if(HwInfo->jChipType < SIS_315H) {     if(VCLK > 150) data |= 0x80;     SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0x7B,data);     data = 0x00;     if(VCLK >= 150) data |= 0x08;     SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x32,0xF7,data);  } else {     if(VCLK >= 166) data |= 0x0c;     SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x32,0xf3,data);     if(VCLK >= 166) {        SiS_SetRegAND(SiS_Pr->SiS_P3c4,0x1f,0xe7);     }  }  /* DAC speed */  if(HwInfo->jChipType >= SIS_661) {     SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xE8,0x10);  } else {     data = 0x03;     if((VCLK >= 135) && (VCLK < 160))      data = 0x02;     else if((VCLK >= 160) && (VCLK < 260)) data = 0x01;     else if(VCLK >= 260)                   data = 0x00;     if(HwInfo->jChipType == SIS_540) {        if((VCLK == 203) || (VCLK < 234))   data = 0x02;     }     if(HwInfo->jChipType < SIS_315H) {        SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xFC,data);     } else {        if(HwInfo->jChipType > SIS_315PRO) {           if(ModeNo > 0x13) data &= 0xfc;        }        SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x07,0xF8,data);     }  }}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/init.c/clean/drivers/video/sis/init.c