Lines Matching refs:temp1

712    unsigned short temp1, temp2;
716 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8;
718 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1);
730 unsigned short temp,temp1;
735 temp1 = SISGETROMW(0x23b);
736 if(temp1 & temp) return true;
746 unsigned short temp,temp1;
751 temp1 = SISGETROMW(0x23d);
752 if(temp1 & temp) return true;
1532 unsigned short temp, temp1, resinfo = 0, romindex = 0;
1568 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,temp);
1570 if(temp1 & EnablePALM) { /* 0x40 */
1573 } else if(temp1 & EnablePALN) { /* 0x80 */
1577 if(temp1 & EnableNTSCJ) { /* 0x40 */
1627 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35);
1628 if(temp1 & 0x01) {
1630 if(temp1 & 0x08) {
1632 } else if(temp1 & 0x04) {
1639 if(temp1 & 0x02) {
1645 if((temp1 & 0x10) || (SiS_Pr->SiS_CHOverScan == 1)) {
1652 temp1 &= 0xe0;
1653 if(temp1 == 0x00) SiS_Pr->SiS_TVMode |= TVSetYPbPr525i;
1654 else if(temp1 == 0x20) SiS_Pr->SiS_TVMode |= TVSetYPbPr525p;
1655 else if(temp1 == 0x40) SiS_Pr->SiS_TVMode |= TVSetYPbPr750p;
1663 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x39);
1664 if(temp1 & 0x02) {
3337 unsigned short temp1=0, modeflag=0, tempcx=0;
3349 temp1 = SiS_Pr->SiS_StandTable[index].CRTC[7];
3366 temp1 = SiS_Pr->SiS_CRT1Table[index].CR[7];
3372 if(temp1 & 0x01) tempbx |= 0x0100;
3373 if(temp1 & 0x20) tempbx |= 0x0200;
4561 unsigned short temp1, pushax=0;
5074 temp1 = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x2E);
5075 if(!(temp1 & 0x80)) {
7572 unsigned short temp, temp1, temp2;
7574 temp1 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x1f);
7576 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
7582 temp1 = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x43);
7584 temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift);
7593 unsigned short temp, temp1;
7619 temp1 = 0;
7620 if(SiS_Pr->SiS_TVMode & TVAspect43) temp1 = 4;
7621 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x0f,0xfb,temp1);
7629 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x3b) & 0x03;
7630 if(temp1 == 0x01) temp |= 0x01;
7631 if(temp1 == 0x03) temp |= 0x04; /* ? why not 0x10? */
8521 unsigned char temp, temp1;
8523 temp1 = SiS_GetCH701x(SiS_Pr,0x49);
8532 SiS_SetCH701x(SiS_Pr,0x49,temp1);
8686 unsigned short temp,temp1;
8702 temp1 = 0;
8707 temp1 = 1;
8720 if(!temp1)
10258 unsigned short index,temp,temp1,romptr=0;
10269 temp1 = temp;
10273 temp1 = GetOEMTVPtr661(SiS_Pr);
10274 temp1 >>= 1;
10287 temp1 <<= 1;
10288 temp = ROMAddr[romptr + temp1 + index];
10301 unsigned short index,temp,temp1,romptr=0;
10303 temp = temp1 = GetTVPtrIndex(SiS_Pr) >> 1; /* 0: NTSC/YPbPr, 1: PAL, 2: HiTV */
10316 temp1 = GetOEMTVPtr661(SiS_Pr);
10317 temp1 >>= 1;
10326 temp1 <<= 1;
10327 temp = ROMAddr[romptr + temp1 + index];
10663 unsigned short romptr, temp1, temp2;
10679 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c;
10682 temp1 &= 0xfc;
10685 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x24,temp2,temp1);
10688 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1;
10689 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x0d,0xbf,temp1);