Lines Matching refs:temp2
1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1035 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1697 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1702 if(temp2 == 0x55) return false; in SiS_DoLowModeTest()
1705 if(temp2 != 0x55) return true; in SiS_DoLowModeTest()
1746 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
1753 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x56,0xe7,temp2); in SiS_CloseCRTC()
2231 unsigned short temp1, temp2; in SiS_GetFIFOThresholdIndex300() local
2236 temp1 = temp2 = (SiS_GetReg(SiS_Pr->SiS_P3c4,0x18) & 0x62) >> 1; in SiS_GetFIFOThresholdIndex300()
2237 (*idx2) = (unsigned short)(ThTiming[((temp2 >> 3) | temp1) & 0x07]); in SiS_GetFIFOThresholdIndex300()
2291 unsigned short temp1, temp2; in SiS_CalcDelay() local
2293 temp2 = SiS_DoCalcDelay(SiS_Pr, MCLK, VCLK, colordepth, 0); in SiS_CalcDelay()
2297 if(temp2 < temp1) temp2 = temp1; in SiS_CalcDelay()
2298 return temp2; in SiS_CalcDelay()
3131 unsigned char temp1, temp2, temp3; in SiS_Handle760() local
3148 temp2 = 0x03; in SiS_Handle760()
3152 temp2 = 0x0b; in SiS_Handle760()
3156 sisfb_write_nbridge_pci_byte(SiS_Pr, 0x8d, temp2); in SiS_Handle760()