Lines Matching refs:temp1
2539 u8 temp1, temp2;
2553 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25);
2561 if(temp2 != temp1) temp1 = temp2;
2563 if((temp1 >= 0x22) && (temp1 <= 0x50)) {
2565 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e);
2566 if((temp1 & 0x03) != 0x03) {
2577 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10);
2578 if(!(temp1 & 0x08)) test[i] = 0x02;
2579 else if(!(temp1 & 0x02)) test[i] = 0x01;
2584 if(test[0] == test[1]) temp1 = test[0];
2585 else if(test[0] == test[2]) temp1 = test[0];
2586 else if(test[1] == test[2]) temp1 = test[1];
2590 temp1 = test[2];
2592 if(temp1 == 0x02) {
2597 } else if (temp1 == 0x01) {
2606 } else if(temp1 == 0) {
2618 temp1 = SiS_GetCH701x(&ivideo->SiS_Pr, 0x49);
2629 SiS_SetCH701x(&ivideo->SiS_Pr, 0x49, temp1);
2630 temp1 = 0;
2631 if(temp2 & 0x02) temp1 |= 0x01;
2632 if(temp2 & 0x10) temp1 |= 0x01;
2633 if(temp2 & 0x04) temp1 |= 0x02;
2634 if( (temp1 & 0x01) && (temp1 & 0x02) ) temp1 = 0x04;
2635 switch(temp1) {