Searched refs:tempcl (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/staging/xgifb/
H A Dvb_init.c983 unsigned short temp, tempcl = 0, tempch = 0, CR31Data, CR38Data; XGINew_SetModeScratch() local
991 tempcl = SetCRT2ToRAMDAC; XGINew_SetModeScratch()
995 tempcl |= SetCRT2ToLCD; XGINew_SetModeScratch()
1002 tempcl |= SetCRT2ToAVIDEO; XGINew_SetModeScratch()
1004 tempcl |= SetCRT2ToSVIDEO; XGINew_SetModeScratch()
1006 tempcl |= SetCRT2ToSCART; XGINew_SetModeScratch()
1010 tempcl |= SetCRT2ToHiVision; XGINew_SetModeScratch()
1021 tempcl |= SetCRT2ToAVIDEO; XGINew_SetModeScratch()
1023 tempcl |= SetCRT2ToSVIDEO; XGINew_SetModeScratch()
1025 tempcl |= SetCRT2ToSCART; XGINew_SetModeScratch()
1029 tempcl |= SetCRT2ToHiVision; XGINew_SetModeScratch()
1038 tempcl |= SetSimuScanMode; XGINew_SetModeScratch()
1041 tempcl ^= (SetSimuScanMode | SwitchCRT2); XGINew_SetModeScratch()
1043 tempcl ^= (SetSimuScanMode | SwitchCRT2); XGINew_SetModeScratch()
1044 xgifb_reg_set(pVBInfo->P3d4, 0x30, tempcl); XGINew_SetModeScratch()
H A Dvb_setmode.c1763 unsigned short tempcl, tempch, temp, tempbl, tempax; XGI_UpdateModeInfo() local
1767 tempcl = 0; XGI_UpdateModeInfo()
1776 tempcl |= ActiveCRT1; XGI_UpdateModeInfo()
1787 tempcl = tempcl | ActiveLCD; XGI_UpdateModeInfo()
1791 if (!(tempcl & ActiveLCD)) XGI_UpdateModeInfo()
1793 tempcl |= ActiveCRT2; XGI_UpdateModeInfo()
1796 tempcl |= ActiveLCD; XGI_UpdateModeInfo()
1825 tempcl |= ActiveTV; XGI_UpdateModeInfo()
1830 if (tempcl & ActiveLCD) { XGI_UpdateModeInfo()
1833 tempcl |= ActiveTV; XGI_UpdateModeInfo()
1836 temp = tempcl; XGI_UpdateModeInfo()
4570 static void XGI_GetTVPtrIndex2(unsigned short *tempbx, unsigned char *tempcl, XGI_GetTVPtrIndex2() argument
4574 *tempcl = 0; XGI_GetTVPtrIndex2()
4597 *tempcl += 1; XGI_GetTVPtrIndex2()
4804 unsigned char tempcl, tempch; XGI_SetPhaseIncr() local
4808 XGI_GetTVPtrIndex2(&tempbx, &tempcl, &tempch, pVBInfo); /* bx, cl, ch */ XGI_SetPhaseIncr()
4826 unsigned char tempcl, tempch, tempal; XGI_SetYFilter() local
4828 XGI_GetTVPtrIndex2(&tempbx, &tempcl, &tempch, pVBInfo); /* bx, cl, ch */ XGI_SetYFilter()
4860 if (tempcl == 0) XGI_SetYFilter()
4865 if ((tempcl == 0) && (tempch == 1)) { XGI_SetYFilter()
4918 short tempcl; XGI_SetCRT2ModeRegs() local
4931 tempcl = pVBInfo->ModeType; XGI_SetCRT2ModeRegs()
4932 tempcl -= ModeVGA; XGI_SetCRT2ModeRegs()
4933 if (tempcl >= 0) { XGI_SetCRT2ModeRegs()
4935 tempah = (0x008 >> tempcl); XGI_SetCRT2ModeRegs()
/linux-4.4.14/drivers/video/fbdev/sis/
H A Dinit301.h449 unsigned short *tempcl);
450 extern unsigned short SiS_GetFIFOThresholdB300(unsigned short tempbx, unsigned short tempcl);
H A Dinit301.c2367 short tempcl; SiS_SetCRT2ModeRegs() local
2390 tempcl = SiS_Pr->SiS_ModeType; SiS_SetCRT2ModeRegs()
2409 tempcl -= ModeVGA; SiS_SetCRT2ModeRegs()
2410 if(tempcl >= 0) { SiS_SetCRT2ModeRegs()
2411 tempah = ((0x10 >> tempcl) | 0x80); SiS_SetCRT2ModeRegs()
2424 tempcl -= ModeVGA; SiS_SetCRT2ModeRegs()
2425 if(tempcl >= 0) { SiS_SetCRT2ModeRegs()
2426 tempah = (0x08 >> tempcl); SiS_SetCRT2ModeRegs()
5016 unsigned short tempbx, tempcl, CRT1ModeNo, CRT2ModeNo, SelectRate_backup; SiS_SetCRT2FIFO_300() local
5076 SiS_GetFIFOThresholdIndex300(SiS_Pr, &tempbx, &tempcl); SiS_SetCRT2FIFO_300()
5077 data = SiS_GetFIFOThresholdB300(tempbx, tempcl); SiS_SetCRT2FIFO_300()
6586 unsigned short i, j, tempax, tempbx, tempcx, tempch, tempcl, temp; SiS_SetGroup2() local
6845 tempch = tempcl = 0x01; SiS_SetGroup2()
6849 tempcl = 0x20; SiS_SetGroup2()
6863 if(modeflag & HalfDCLK) tempcl <<= 1; SiS_SetGroup2()
6864 longtemp = ((SiS_Pr->SiS_VGAHDE * tempch) / tempcl) << 13; SiS_SetGroup2()
10444 unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp; SiS_FinalizeLCD() local
10610 tempcl = tempbh = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x01); SiS_FinalizeLCD()
10611 tempcl &= 0x0f; SiS_FinalizeLCD()
10633 temp = ((tempbx & 0xff00) >> 4) | tempcl; SiS_FinalizeLCD()

Completed in 254 milliseconds