• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/sis/

Lines Matching defs:tempax

945    unsigned short tempax, tempbx, temp;
964 tempax = SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) << 8;
965 tempax &= (DriverMode | LoadDACFlag | SetNotSimuMode | SetPALTV);
966 tempbx |= tempax;
1056 tempax = DisableCRT2Display;
1101 if(tempax & DisableCRT2Display) {
3059 unsigned short tempax=0, tempbx=0, index, dotclock;
3070 tempax = SiS_Pr->SiS_StandTable[index].CRTC[0];
3081 tempax = SiS_Pr->SiS_CRT1Table[index].CR[0];
3082 tempax |= (SiS_Pr->SiS_CRT1Table[index].CR[14] << 8);
3083 tempax &= 0x03FF;
3098 tempax += 5;
3099 tempax *= dotclock;
3100 if(modeflag & HalfDCLK) tempax <<= 1;
3104 SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
3251 unsigned short tempax, tempbx, modeflag, romptr=0;
3303 tempax = SiS_Pr->CHTotal;
3304 if(modeflag & HalfDCLK) tempax <<= 1;
3305 SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
3347 tempax = ((TVPtr+ResIndex)->RVBHRS2 >> 12) & 0x07;
3348 if((TVPtr+ResIndex)->RVBHRS2 & 0x8000) SiS_Pr->SiS_RVBHRS2 -= tempax;
3349 else SiS_Pr->SiS_RVBHRS2 += tempax;
3426 tempax = SiS_Pr->CHTotal;
3427 if(modeflag & HalfDCLK) tempax <<= 1;
3428 SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
3455 tempax = (ROMAddr[romptr+9] >> 4) & 0x07;
3456 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax;
3457 else SiS_Pr->SiS_RVBHRS2 += tempax;
3527 tempax = SiS_Pr->PanelXRes;
3565 tempax = SiS_Pr->SiS_VGAHDE;
3569 SiS_Pr->SiS_HDE = tempax;
5267 unsigned int tempax,tempbx;
5270 tempax = (SiS_Pr->SiS_VT - SiS_Pr->SiS_VDE) * SiS_Pr->SiS_RVBHCFACT;
5271 tempax = (tempax * SiS_Pr->SiS_HT) / tempbx;
5272 return (unsigned short)tempax;
5431 unsigned short push2, tempax, tempbx, tempcx, temp;
5503 tempax = SiS_Pr->SiS_LCDHDES;
5509 tempax -= 8;
5515 temp = (tempax & 0x0007);
5517 temp = (tempax >> 3) & 0x00FF;
5532 tempax += tempbx;
5533 if(tempax >= SiS_Pr->SiS_HT) tempax -= SiS_Pr->SiS_HT;
5535 temp = tempax;
5548 tempcx += tempax;
5597 tempax = SiS_Pr->SiS_VGAVDE;
5600 tempax = SiS_Pr->PanelYRes;
5604 tempbx = SiS_Pr->SiS_LCDVDES + tempax;
5887 tempax = SiS_Pr->SiS_HDE; /* Blps = lcdhdee(lcdhdes+HDE) + 64 */
5890 SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
5891 tempax += 64;
5892 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x38,tempax & 0xff);
5893 temp = (tempax >> 8) << 3;
5895 tempax += 32; /* Blpe = lBlps+32 */
5896 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x39,tempax & 0xff);
5900 tempax = SiS_Pr->SiS_VDE;
5903 SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
5904 tempax >>= 1;
5905 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x3B,tempax & 0xff);
5906 temp = (tempax >> 8) << 3;
5924 tempax = SiS_Pr->SiS_HDE;
5927 SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
5928 tempax >>= 4; /* BDxWadroff = HDE*4/8/8 */
5929 pushcx = tempax;
5930 temp = tempax & 0x00FF;
5932 temp = ((tempax & 0xFF00) >> 8) << 3;
5935 tempax = SiS_Pr->SiS_VDE; /* BDxWadrst1 = BDxWadrst0 + BDxWadroff * VDE */
5938 SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
5939 tempeax = tempax * pushcx;
5989 unsigned short temp=0, tempax=0, tempbx=0, tempcx=0, bridgeadd=0;
6060 tempax = SiS_Pr->SiS_VGAHDE >> 1;
6061 tempcx = SiS_Pr->SiS_HT - SiS_Pr->SiS_HDE + tempax;
6063 tempcx = SiS_Pr->SiS_HT - tempax;
6113 tempax = SiS_Pr->SiS_VGAHT;
6114 if(modeflag & HalfDCLK) tempax >>= 1;
6115 tempax--;
6116 if(tempcx > tempax) tempcx = tempax;
6138 tempax = SiS_Pr->SiS_VGAHT;
6139 if(modeflag & HalfDCLK) tempax >>= 1;
6140 tempax--;
6141 if(tempcx > tempax) tempcx = tempax;
6188 tempax = tempbx;
6190 tempcx -= tempax;
6323 tempax = 0;
6324 if(modeflag & DoubleScanMode) tempax |= 0x80;
6325 if(modeflag & HalfDCLK) tempax |= 0x40;
6326 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2C,0x3f,tempax);
6642 unsigned short i, j, tempax, tempbx, tempcx, tempch, tempcl, temp;
6756 if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) tempax = 950;
6757 else if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) tempax = 680;
6758 else if(SiS_Pr->SiS_TVMode & TVSetPAL) tempax = 520;
6759 else tempax = 440; /* NTSC, YPbPr 525 */
6761 if( ((SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) && (SiS_Pr->SiS_VDE <= tempax)) ||
6763 ((SiS_Pr->SiS_VGAHDE == 1024) || (SiS_Pr->SiS_VDE <= tempax)) ) ) {
6765 tempax -= SiS_Pr->SiS_VDE;
6766 tempax >>= 1;
6768 tempax >>= 1;
6770 tempax &= 0x00ff;
6772 temp = tempax + (unsigned short)TimingPoint[0];
6775 temp = tempax + (unsigned short)TimingPoint[1];
6896 tempax = 0;
6922 tempax = longtemp / SiS_Pr->SiS_HDE;
6923 if(longtemp % SiS_Pr->SiS_HDE) tempax++;
6924 tempbx |= ((tempax >> 8) & 0x1F);
6925 tempcx = tempax >> 13;
6928 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x44,tempax);
7070 tempax = 1;
7072 tempax = SiS_Pr->PanelYRes;
7073 /* if(SiS_Pr->SiS_VGAVDE == 525) tempax += 0x3c; */ /* 651+301C */
7075 tempax = tempcx = 0;
7077 tempax -= SiS_Pr->SiS_VDE;
7079 tempax >>= 1;
7081 tempcx -= tempax; /* lcdvdes */
7082 tempbx -= tempax; /* lcdvdee */
7100 tempax = SiS_Pr->SiS_VDE;
7102 tempax = SiS_Pr->PanelYRes;
7104 tempcx = (SiS_Pr->SiS_VT - tempax) >> 4;
7107 tempcx = (SiS_Pr->SiS_VT - tempax) / 10;
7115 tempax = SiS_Pr->SiS_VT - SiS_Pr->PanelYRes;
7116 if(tempax % 4) { tempax >>= 2; tempax++; }
7117 else { tempax >>= 2; }
7118 tempbx -= (tempax - 1);
7189 tempax = tempbx = SiS_Pr->SiS_HDE;
7192 tempax = SiS_Pr->PanelXRes;
7199 tempax >>= 1;
7213 tempcx = (tempcx - tempax) >> 2;
7463 unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo;
7585 tempax = SiS_Pr->SiS_VGAHDE;
7586 if(modeflag & HalfDCLK) tempax >>= 1;
7587 if(SiS_IsDualLink(SiS_Pr)) tempax >>= 1;
7588 if(tempax > 800) {
7590 tempax -= 800;
7593 if(tempax == 960) tempax *= 25; /* Correct */
7594 else if(tempax == 1024) tempax *= 25;
7595 else tempax *= 20;
7596 temp = tempax % 32;
7597 tempax /= 32;
7598 if(temp) tempax++;
7599 tempax++;
7606 tempax = (tempax & 0xff00) | 0x20;
7611 tempax--;
7612 temp = ((tempax >> 4) & 0x30) | tempbx;
7613 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x1D,tempax);
9425 SiS_WriteDDC2Data(struct SiS_Private *SiS_Pr, unsigned short tempax)
9432 if(tempax & flag) {
10511 unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp;
10682 tempax = 768 - SiS_Pr->SiS_VGAVDE;
10683 tempax >>= 4; /* 1.10.7w; 1.10.6s: 3; */
10684 if(SiS_Pr->SiS_VGAVDE <= 480) tempax >>= 4; /* 1.10.7w; 1.10.6s: < 480; >>=1; */
10685 tempbx -= tempax;