Searched refs:colorth (Results 1 – 2 of 2) sorted by relevance
| /Linux-v4.19/drivers/video/fbdev/sis/ |
| D | init.c | 2306 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 2446 colorth = colortharray[(SiS_Pr->SiS_ModeType - ModeEGA)]; in SiS_SetCRT1FIFO_630() 2455 templ = SiS_CalcDelay2(SiS_Pr, queuedata[i]) * VCLK * colorth; in SiS_SetCRT1FIFO_630()
|
| D | init301.c | 5339 unsigned short VCLK = 0, MCLK, colorth = 0, data2 = 0; in SiS_SetCRT2FIFO_300() local 5362 colorth = SiS_GetColorDepth(SiS_Pr,CRT1ModeNo,modeidindex) >> 1; in SiS_SetCRT2FIFO_300() 5363 if(!colorth) colorth++; in SiS_SetCRT2FIFO_300() 5374 colorth = colortharray[((SiS_Pr->CModeFlag_CRT1 & ModeTypeMask) - 2)]; in SiS_SetCRT2FIFO_300() 5392 data2 = temp - ((colorth * VCLK) / MCLK); in SiS_SetCRT2FIFO_300() 5468 colorth = SiS_GetColorDepth(SiS_Pr,CRT2ModeNo,modeidindex) >> 1; in SiS_SetCRT2FIFO_300() 5469 if(!colorth) colorth++; in SiS_SetCRT2FIFO_300() 5471 data = data * VCLK * colorth; in SiS_SetCRT2FIFO_300()
|