Home
last modified time | relevance | path

Searched refs:colorth (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/video/fbdev/sis/
Dinit.c2306 unsigned short temp, index, VCLK, MCLK, colorth; in SiS_SetCRT1FIFO_300() local
2320 colorth = colortharray[(SiS_Pr->SiS_ModeType - ModeEGA)]; 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
2451 colorth = colortharray[(SiS_Pr->SiS_ModeType - ModeEGA)]; in SiS_SetCRT1FIFO_630()
2454 templ = SiS_CalcDelay2(SiS_Pr, queuedata[i]) * VCLK * colorth; in SiS_SetCRT1FIFO_630()
Dinit301.c5337 unsigned short VCLK = 0, MCLK, colorth = 0, data2 = 0; in SiS_SetCRT2FIFO_300() local
5360 colorth = SiS_GetColorDepth(SiS_Pr,CRT1ModeNo,modeidindex) >> 1; in SiS_SetCRT2FIFO_300()
5361 if(!colorth) colorth++; in SiS_SetCRT2FIFO_300()
5372 colorth = colortharray[((SiS_Pr->CModeFlag_CRT1 & ModeTypeMask) - 2)]; in SiS_SetCRT2FIFO_300()
5390 data2 = temp - ((colorth * VCLK) / MCLK); in SiS_SetCRT2FIFO_300()
5466 colorth = SiS_GetColorDepth(SiS_Pr,CRT2ModeNo,modeidindex) >> 1; in SiS_SetCRT2FIFO_300()
5467 if(!colorth) colorth++; in SiS_SetCRT2FIFO_300()
5469 data = data * VCLK * colorth; in SiS_SetCRT2FIFO_300()