Lines Matching refs:VCLK
2267 SiS_DoCalcDelay(struct SiS_Private *SiS_Pr, unsigned short MCLK, unsigned short VCLK, in SiS_DoCalcDelay() argument
2271 unsigned int longtemp = VCLK * colordepth; in SiS_DoCalcDelay()
2287 SiS_CalcDelay(struct SiS_Private *SiS_Pr, unsigned short VCLK, in SiS_CalcDelay() argument
2292 temp2 = SiS_DoCalcDelay(SiS_Pr, MCLK, VCLK, colordepth, 0); in SiS_CalcDelay()
2293 temp1 = SiS_DoCalcDelay(SiS_Pr, MCLK, VCLK, colordepth, 1); in SiS_CalcDelay()
2305 unsigned short temp, index, VCLK, MCLK, colorth; in SiS_SetCRT1FIFO_300() local
2312 VCLK = SiS_Pr->CSRClock; in SiS_SetCRT1FIFO_300()
2315 VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; in SiS_SetCRT1FIFO_300()
2329 ThresholdLow = SiS_CalcDelay(SiS_Pr, VCLK, colorth, MCLK) + 1; in SiS_SetCRT1FIFO_300()
2406 unsigned short i, data, VCLK, MCLK16, colorth = 0; in SiS_SetCRT1FIFO_630() local
2434 VCLK = SiS_Pr->CSRClock; in SiS_SetCRT1FIFO_630()
2437 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()
2631 if((VCLK == 203) || (VCLK < 234)) data = 0x02; in SiS_SetVCLKState()