Lines Matching refs:tempbl
2690 unsigned short tempbl; in SiS_SetCRT2ModeRegs() local
2719 tempbl = SiS_GetReg(SiS_Pr->SiS_P3c4,0x32); in SiS_SetCRT2ModeRegs()
2720 tempbl &= 0xef; in SiS_SetCRT2ModeRegs()
2721 tempbl |= 0x02; in SiS_SetCRT2ModeRegs()
2723 tempbl |= 0x10; in SiS_SetCRT2ModeRegs()
2724 tempbl &= 0xfd; in SiS_SetCRT2ModeRegs()
2726 SiS_SetReg(SiS_Pr->SiS_P3c4,0x32,tempbl); in SiS_SetCRT2ModeRegs()
2903 tempbl = 0xfb; in SiS_SetCRT2ModeRegs()
2907 tempbl = 0xff; in SiS_SetCRT2ModeRegs()
2910 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x13,tempbl,tempah); in SiS_SetCRT2ModeRegs()
2924 tempbl = 0xc0; in SiS_SetCRT2ModeRegs()
2928 tempbl = 0x00; in SiS_SetCRT2ModeRegs()
2931 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x21,0x3f,tempbl); in SiS_SetCRT2ModeRegs()
2941 tempbl = 0xcf; tempbl2 = 0x3f; in SiS_SetCRT2ModeRegs()
2950 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2c,tempbl,tempah); in SiS_SetCRT2ModeRegs()
2954 tempbl = 0xcf; tempbl2 = 0x3f; in SiS_SetCRT2ModeRegs()
2958 tempbl = tempbl2 = 0xff; in SiS_SetCRT2ModeRegs()
2961 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2c,tempbl,tempah); in SiS_SetCRT2ModeRegs()
2971 tempbl = 0x7f; in SiS_SetCRT2ModeRegs()
2973 tempbl = 0xff; in SiS_SetCRT2ModeRegs()
2976 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x23,tempbl,tempah); in SiS_SetCRT2ModeRegs()
3012 tempbl = 0xfb; in SiS_SetCRT2ModeRegs()
3015 if(SiS_IsDualEdge(SiS_Pr)) tempbl = 0xff; in SiS_SetCRT2ModeRegs()
3017 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x13,tempbl,tempah); in SiS_SetCRT2ModeRegs()
5165 unsigned short tempah=0, tempbl, infoflag; in SiS_SetCRT2Sync() local
5167 tempbl = 0xC0; in SiS_SetCRT2Sync()
5224 tempbl = 0; in SiS_SetCRT2Sync()
5228 tempbl = (tempah >> 6) & 0x03; in SiS_SetCRT2Sync()
5237 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1a,0xf0,tempbl); in SiS_SetCRT2Sync()
5256 tempbl = 0; in SiS_SetCRT2Sync()
5261 tempbl = ((SiS_Pr->SiS_LCDInfo & 0xc0) >> 6); in SiS_SetCRT2Sync()
5266 tempbl = 0x03; in SiS_SetCRT2Sync()
5269 tempbl = (tempah >> 6) & 0x03; in SiS_SetCRT2Sync()
5270 tempbl |= 0x08; in SiS_SetCRT2Sync()
5271 if(!(SiS_Pr->SiS_LCDInfo & LCDRGB18Bit)) tempbl |= 0x04; in SiS_SetCRT2Sync()
5280 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1a,0xf0,tempbl); in SiS_SetCRT2Sync()
5286 tempah = tempbl = infoflag >> 8; in SiS_SetCRT2Sync()
5288 tempbl = 0; in SiS_SetCRT2Sync()
5298 tempbl = (tempah >> 6) & 0x03; in SiS_SetCRT2Sync()
5318 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1a,0xf0,tempbl); in SiS_SetCRT2Sync()
6235 unsigned short tempbl=0; in SiS_SetGroup1() local
6546 tempbl = 0xF0; in SiS_SetGroup1()
6549 if(!(SiS_Pr->SiS_VBInfo & SetCRT2ToTV)) tempbl = 0x0F; in SiS_SetGroup1()
6555 tempbl = 0; in SiS_SetGroup1()
6557 if(ROMAddr[0x13c] & 0x80) tempbl = 0xf0; in SiS_SetGroup1()
6561 … SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2D,tempbl,temp); /* Panel Link Delay Compensation */ in SiS_SetGroup1()
9263 unsigned short tempbl; in SiS_SetCH70xxANDOR() local
9265 tempbl = (SiS_GetCH70xx(SiS_Pr, (reg & 0xFF)) & myand) | myor; in SiS_SetCH70xxANDOR()
9266 SiS_SetCH70xx(SiS_Pr, reg, tempbl); in SiS_SetCH70xxANDOR()
10752 unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp; in SiS_FinalizeLCD() local
10922 tempbl = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x04); in SiS_FinalizeLCD()
10923 tempbx = (tempbh << 8) | tempbl; in SiS_FinalizeLCD()