Lines Matching refs:VCLK
2268 SiS_DoCalcDelay(struct SiS_Private *SiS_Pr, unsigned short MCLK, unsigned short VCLK, in SiS_DoCalcDelay() argument
2272 unsigned int longtemp = VCLK * colordepth; in SiS_DoCalcDelay()
2288 SiS_CalcDelay(struct SiS_Private *SiS_Pr, unsigned short VCLK, in SiS_CalcDelay() argument
2293 temp2 = SiS_DoCalcDelay(SiS_Pr, MCLK, VCLK, colordepth, 0); in SiS_CalcDelay()
2294 temp1 = SiS_DoCalcDelay(SiS_Pr, MCLK, VCLK, colordepth, 1); in SiS_CalcDelay()
2306 unsigned short temp, index, VCLK, MCLK, colorth; in SiS_SetCRT1FIFO_300() local
2313 VCLK = SiS_Pr->CSRClock; in SiS_SetCRT1FIFO_300()
2316 VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; in SiS_SetCRT1FIFO_300()
2330 ThresholdLow = SiS_CalcDelay(SiS_Pr, VCLK, colorth, MCLK) + 1; in SiS_SetCRT1FIFO_300()
2407 unsigned short i, data, VCLK, MCLK16, colorth = 0; in SiS_SetCRT1FIFO_630() local
2440 VCLK = SiS_Pr->CSRClock; in SiS_SetCRT1FIFO_630()
2443 VCLK = SiS_Pr->SiS_VCLKData[data].CLOCK; in SiS_SetCRT1FIFO_630()
2454 templ = SiS_CalcDelay2(SiS_Pr, queuedata[i]) * VCLK * colorth; in SiS_SetCRT1FIFO_630()
2576 unsigned short data = 0, VCLK = 0, index = 0; in SiS_SetVCLKState() local
2580 VCLK = SiS_Pr->CSRClock; in SiS_SetVCLKState()
2583 VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; in SiS_SetVCLKState()
2589 if(VCLK > 150) data |= 0x80; in SiS_SetVCLKState()
2593 if(VCLK >= 150) data |= 0x08; in SiS_SetVCLKState()
2598 if(VCLK >= 166) data |= 0x0c; in SiS_SetVCLKState()
2601 if(VCLK >= 166) { in SiS_SetVCLKState()
2607 if(VCLK >= 200) data |= 0x0c; in SiS_SetVCLKState()
2612 if(VCLK < 200) data |= 0x10; in SiS_SetVCLKState()
2626 if(VCLK >= 260) data = 0x00; in SiS_SetVCLKState()
2627 else if(VCLK >= 160) data = 0x01; in SiS_SetVCLKState()
2628 else if(VCLK >= 135) data = 0x02; in SiS_SetVCLKState()
2632 if (VCLK < 234) data = 0x02; in SiS_SetVCLKState()