Lines Matching refs:temp1
2547 u8 temp1, temp2; in SiS_SenseCh() local
2561 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); in SiS_SenseCh()
2569 if(temp2 != temp1) temp1 = temp2; in SiS_SenseCh()
2571 if((temp1 >= 0x22) && (temp1 <= 0x50)) { in SiS_SenseCh()
2573 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); in SiS_SenseCh()
2574 if((temp1 & 0x03) != 0x03) { in SiS_SenseCh()
2585 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10); in SiS_SenseCh()
2586 if(!(temp1 & 0x08)) test[i] = 0x02; in SiS_SenseCh()
2587 else if(!(temp1 & 0x02)) test[i] = 0x01; in SiS_SenseCh()
2592 if(test[0] == test[1]) temp1 = test[0]; in SiS_SenseCh()
2593 else if(test[0] == test[2]) temp1 = test[0]; in SiS_SenseCh()
2594 else if(test[1] == test[2]) temp1 = test[1]; in SiS_SenseCh()
2598 temp1 = test[2]; in SiS_SenseCh()
2600 if(temp1 == 0x02) { in SiS_SenseCh()
2605 } else if (temp1 == 0x01) { in SiS_SenseCh()
2614 } else if(temp1 == 0) { in SiS_SenseCh()
2626 temp1 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x49); in SiS_SenseCh()
2637 SiS_SetCH701x(&ivideo->SiS_Pr, 0x49, temp1); in SiS_SenseCh()
2638 temp1 = 0; in SiS_SenseCh()
2639 if(temp2 & 0x02) temp1 |= 0x01; in SiS_SenseCh()
2640 if(temp2 & 0x10) temp1 |= 0x01; in SiS_SenseCh()
2641 if(temp2 & 0x04) temp1 |= 0x02; in SiS_SenseCh()
2642 if( (temp1 & 0x01) && (temp1 & 0x02) ) temp1 = 0x04; in SiS_SenseCh()
2643 switch(temp1) { in SiS_SenseCh()