tempax           3389 drivers/video/fbdev/sis/init.c    unsigned short modeflag, tempax, tempbx = 0, remaining = 0;
tempax           3419 drivers/video/fbdev/sis/init.c       tempax = SiS_Pr->SiS_VGAHDE;  /* not /2 ! */
tempax           3421 drivers/video/fbdev/sis/init.c          tempax = SiS_Pr->PanelXRes;
tempax           3423 drivers/video/fbdev/sis/init.c       tempbx += tempax;
tempax           3439 drivers/video/fbdev/sis/init.c 	 tempax = (SiS_Pr->PanelXRes - SiS_Pr->SiS_VGAHDE) >> 1;
tempax           3442 drivers/video/fbdev/sis/init.c 	    tempax >>= 1;
tempax           3445 drivers/video/fbdev/sis/init.c 	 SiS_Pr->CHSyncStart = (VGAHDE + tempax + tempbx + 7) & ~7;
tempax           3446 drivers/video/fbdev/sis/init.c 	 tempax = SiS_Pr->PanelHRE + 7;
tempax           3447 drivers/video/fbdev/sis/init.c 	 if(modeflag & HalfDCLK) tempax >>= 1;
tempax           3448 drivers/video/fbdev/sis/init.c 	 SiS_Pr->CHSyncEnd = (SiS_Pr->CHSyncStart + tempax) & ~7;
tempax           3453 drivers/video/fbdev/sis/init.c 	    tempax = ((SiS_Pr->CHTotal - SiS_Pr->CHSyncStart) / 3) << 1;
tempax           3454 drivers/video/fbdev/sis/init.c 	    SiS_Pr->CHSyncEnd = SiS_Pr->CHSyncStart + tempax;
tempax           3463 drivers/video/fbdev/sis/init.c       tempax = VGAHDE;
tempax           3467 drivers/video/fbdev/sis/init.c 	 tempax += ((tempbx - tempax) >> 1);
tempax           3469 drivers/video/fbdev/sis/init.c       tempax += SiS_Pr->PanelHRS;
tempax           3470 drivers/video/fbdev/sis/init.c       SiS_Pr->CHSyncStart = tempax;
tempax           3471 drivers/video/fbdev/sis/init.c       tempax += SiS_Pr->PanelHRE;
tempax           3472 drivers/video/fbdev/sis/init.c       SiS_Pr->CHSyncEnd = tempax;
tempax           3477 drivers/video/fbdev/sis/init.c    tempax = SiS_Pr->SiS_VGAVDE;
tempax           3479 drivers/video/fbdev/sis/init.c       tempax = SiS_Pr->PanelYRes;
tempax           3484 drivers/video/fbdev/sis/init.c 	 if((tempax + tempbx) == 438) tempbx += 16;
tempax           3487 drivers/video/fbdev/sis/init.c 	 tempax = 0;
tempax           3492 drivers/video/fbdev/sis/init.c    SiS_Pr->CVTotal = SiS_Pr->CVBlankEnd = tempbx + tempax;
tempax           3494 drivers/video/fbdev/sis/init.c    tempax = SiS_Pr->SiS_VGAVDE;
tempax           3496 drivers/video/fbdev/sis/init.c       tempax += (SiS_Pr->PanelYRes - tempax) >> 1;
tempax           3498 drivers/video/fbdev/sis/init.c    tempax += SiS_Pr->PanelVRS;
tempax           3499 drivers/video/fbdev/sis/init.c    SiS_Pr->CVSyncStart = tempax;
tempax           3500 drivers/video/fbdev/sis/init.c    tempax += SiS_Pr->PanelVRE;
tempax           3501 drivers/video/fbdev/sis/init.c    SiS_Pr->CVSyncEnd = tempax;
tempax           3527 drivers/video/fbdev/sis/init.c    tempax = SiS_Pr->CCRT1CRTC[16] & 0xE0;
tempax           3528 drivers/video/fbdev/sis/init.c    SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0x1F,tempax);
tempax           3530 drivers/video/fbdev/sis/init.c    tempax = (SiS_Pr->CCRT1CRTC[16] & 0x01) << 5;
tempax           3531 drivers/video/fbdev/sis/init.c    if(modeflag & DoubleScanMode) tempax |= 0x80;
tempax           3532 drivers/video/fbdev/sis/init.c    SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x09,0x5F,tempax);
tempax            389 drivers/video/fbdev/sis/init301.c static unsigned short	SiS_WriteDDC2Data(struct SiS_Private *SiS_Pr, unsigned short tempax);
tempax           1261 drivers/video/fbdev/sis/init301.c    unsigned short tempax, tempbx, temp;
tempax           1280 drivers/video/fbdev/sis/init301.c 	tempax = SiS_GetReg(SiS_Pr->SiS_P3d4,0x31) << 8;
tempax           1281 drivers/video/fbdev/sis/init301.c 	tempax &= (DriverMode | LoadDACFlag | SetNotSimuMode | SetPALTV);
tempax           1282 drivers/video/fbdev/sis/init301.c 	tempbx |= tempax;
tempax           1372 drivers/video/fbdev/sis/init301.c 	   tempax = DisableCRT2Display;
tempax           1417 drivers/video/fbdev/sis/init301.c 	if(tempax & DisableCRT2Display) {
tempax           3336 drivers/video/fbdev/sis/init301.c   unsigned short tempax=0, tempbx=0, index, dotclock;
tempax           3347 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_StandTable[index].CRTC[0];
tempax           3358 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_CRT1Table[index].CR[0];
tempax           3359 drivers/video/fbdev/sis/init301.c      tempax |= (SiS_Pr->SiS_CRT1Table[index].CR[14] << 8);
tempax           3360 drivers/video/fbdev/sis/init301.c      tempax &= 0x03FF;
tempax           3375 drivers/video/fbdev/sis/init301.c   tempax += 5;
tempax           3376 drivers/video/fbdev/sis/init301.c   tempax *= dotclock;
tempax           3377 drivers/video/fbdev/sis/init301.c   if(modeflag & HalfDCLK) tempax <<= 1;
tempax           3381 drivers/video/fbdev/sis/init301.c   SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
tempax           3528 drivers/video/fbdev/sis/init301.c   unsigned short tempax, tempbx, modeflag, romptr=0;
tempax           3580 drivers/video/fbdev/sis/init301.c 	tempax = SiS_Pr->CHTotal;
tempax           3581 drivers/video/fbdev/sis/init301.c 	if(modeflag & HalfDCLK) tempax <<= 1;
tempax           3582 drivers/video/fbdev/sis/init301.c 	SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
tempax           3624 drivers/video/fbdev/sis/init301.c 	   tempax = ((TVPtr+ResIndex)->RVBHRS2 >> 12) & 0x07;
tempax           3625 drivers/video/fbdev/sis/init301.c 	   if((TVPtr+ResIndex)->RVBHRS2 & 0x8000) SiS_Pr->SiS_RVBHRS2 -= tempax;
tempax           3626 drivers/video/fbdev/sis/init301.c 	   else                                   SiS_Pr->SiS_RVBHRS2 += tempax;
tempax           3703 drivers/video/fbdev/sis/init301.c 	tempax = SiS_Pr->CHTotal;
tempax           3704 drivers/video/fbdev/sis/init301.c 	if(modeflag & HalfDCLK) tempax <<= 1;
tempax           3705 drivers/video/fbdev/sis/init301.c 	SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = tempax;
tempax           3732 drivers/video/fbdev/sis/init301.c 	      tempax = (ROMAddr[romptr+9] >> 4) & 0x07;
tempax           3733 drivers/video/fbdev/sis/init301.c 	      if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax;
tempax           3734 drivers/video/fbdev/sis/init301.c 	      else                         SiS_Pr->SiS_RVBHRS2 += tempax;
tempax           3798 drivers/video/fbdev/sis/init301.c 	tempax = SiS_Pr->PanelXRes;
tempax           3836 drivers/video/fbdev/sis/init301.c 	   tempax = SiS_Pr->SiS_VGAHDE;
tempax           3840 drivers/video/fbdev/sis/init301.c 	SiS_Pr->SiS_HDE = tempax;
tempax           5532 drivers/video/fbdev/sis/init301.c   unsigned int tempax,tempbx;
tempax           5535 drivers/video/fbdev/sis/init301.c   tempax = (SiS_Pr->SiS_VT - SiS_Pr->SiS_VDE) * SiS_Pr->SiS_RVBHCFACT;
tempax           5536 drivers/video/fbdev/sis/init301.c   tempax = (tempax * SiS_Pr->SiS_HT) / tempbx;
tempax           5537 drivers/video/fbdev/sis/init301.c   return (unsigned short)tempax;
tempax           5675 drivers/video/fbdev/sis/init301.c   unsigned short push2, tempax, tempbx, tempcx, temp;
tempax           5747 drivers/video/fbdev/sis/init301.c   tempax = SiS_Pr->SiS_LCDHDES;
tempax           5753 drivers/video/fbdev/sis/init301.c 	      tempax -= 8;
tempax           5759 drivers/video/fbdev/sis/init301.c   temp = (tempax & 0x0007);
tempax           5761 drivers/video/fbdev/sis/init301.c   temp = (tempax >> 3) & 0x00FF;
tempax           5776 drivers/video/fbdev/sis/init301.c   tempax += tempbx;
tempax           5777 drivers/video/fbdev/sis/init301.c   if(tempax >= SiS_Pr->SiS_HT) tempax -= SiS_Pr->SiS_HT;
tempax           5779 drivers/video/fbdev/sis/init301.c   temp = tempax;
tempax           5792 drivers/video/fbdev/sis/init301.c   tempcx += tempax;
tempax           5841 drivers/video/fbdev/sis/init301.c   tempax = SiS_Pr->SiS_VGAVDE;
tempax           5844 drivers/video/fbdev/sis/init301.c 	tempax = SiS_Pr->PanelYRes;
tempax           5848 drivers/video/fbdev/sis/init301.c   tempbx = SiS_Pr->SiS_LCDVDES + tempax;
tempax           6131 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_HDE;					/* Blps = lcdhdee(lcdhdes+HDE) + 64 */
tempax           6134 drivers/video/fbdev/sis/init301.c         SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
tempax           6135 drivers/video/fbdev/sis/init301.c      tempax += 64;
tempax           6136 drivers/video/fbdev/sis/init301.c      SiS_SetReg(SiS_Pr->SiS_Part1Port,0x38,tempax & 0xff);
tempax           6137 drivers/video/fbdev/sis/init301.c      temp = (tempax >> 8) << 3;
tempax           6139 drivers/video/fbdev/sis/init301.c      tempax += 32;						/* Blpe = lBlps+32 */
tempax           6140 drivers/video/fbdev/sis/init301.c      SiS_SetReg(SiS_Pr->SiS_Part1Port,0x39,tempax & 0xff);
tempax           6144 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_VDE;
tempax           6147 drivers/video/fbdev/sis/init301.c         SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
tempax           6148 drivers/video/fbdev/sis/init301.c      tempax >>= 1;
tempax           6149 drivers/video/fbdev/sis/init301.c      SiS_SetReg(SiS_Pr->SiS_Part1Port,0x3B,tempax & 0xff);
tempax           6150 drivers/video/fbdev/sis/init301.c      temp = (tempax >> 8) << 3;
tempax           6168 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_HDE;
tempax           6171 drivers/video/fbdev/sis/init301.c         SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
tempax           6172 drivers/video/fbdev/sis/init301.c      tempax >>= 4;						/* BDxWadroff = HDE*4/8/8 */
tempax           6173 drivers/video/fbdev/sis/init301.c      pushcx = tempax;
tempax           6174 drivers/video/fbdev/sis/init301.c      temp = tempax & 0x00FF;
tempax           6176 drivers/video/fbdev/sis/init301.c      temp = ((tempax & 0xFF00) >> 8) << 3;
tempax           6179 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_VDE;				 	/* BDxWadrst1 = BDxWadrst0 + BDxWadroff * VDE */
tempax           6182 drivers/video/fbdev/sis/init301.c         SiS_Pr->SiS_LCDResInfo == Panel_320x240_3) tempax >>= 1;
tempax           6183 drivers/video/fbdev/sis/init301.c      tempeax = tempax * pushcx;
tempax           6233 drivers/video/fbdev/sis/init301.c   unsigned short  temp=0, tempax=0, tempbx=0, tempcx=0, bridgeadd=0;
tempax           6304 drivers/video/fbdev/sis/init301.c 	      tempax = SiS_Pr->SiS_VGAHDE >> 1;
tempax           6305 drivers/video/fbdev/sis/init301.c 	      tempcx = SiS_Pr->SiS_HT - SiS_Pr->SiS_HDE + tempax;
tempax           6307 drivers/video/fbdev/sis/init301.c 	         tempcx = SiS_Pr->SiS_HT - tempax;
tempax           6357 drivers/video/fbdev/sis/init301.c 	   tempax = SiS_Pr->SiS_VGAHT;
tempax           6358 drivers/video/fbdev/sis/init301.c 	   if(modeflag & HalfDCLK) tempax >>= 1;
tempax           6359 drivers/video/fbdev/sis/init301.c 	   tempax--;
tempax           6360 drivers/video/fbdev/sis/init301.c 	   if(tempcx > tempax) tempcx = tempax;
tempax           6382 drivers/video/fbdev/sis/init301.c 	   tempax = SiS_Pr->SiS_VGAHT;
tempax           6383 drivers/video/fbdev/sis/init301.c 	   if(modeflag & HalfDCLK) tempax >>= 1;
tempax           6384 drivers/video/fbdev/sis/init301.c 	   tempax--;
tempax           6385 drivers/video/fbdev/sis/init301.c 	   if(tempcx > tempax) tempcx = tempax;
tempax           6432 drivers/video/fbdev/sis/init301.c 	tempax = tempbx;
tempax           6434 drivers/video/fbdev/sis/init301.c 	tempcx -= tempax;
tempax           6567 drivers/video/fbdev/sis/init301.c 	tempax = 0;
tempax           6568 drivers/video/fbdev/sis/init301.c 	if(modeflag & DoubleScanMode) tempax |= 0x80;
tempax           6569 drivers/video/fbdev/sis/init301.c 	if(modeflag & HalfDCLK)       tempax |= 0x40;
tempax           6570 drivers/video/fbdev/sis/init301.c 	SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2C,0x3f,tempax);
tempax           6908 drivers/video/fbdev/sis/init301.c   unsigned short i, j, tempax, tempbx, tempcx, tempch, tempcl, temp;
tempax           7022 drivers/video/fbdev/sis/init301.c   if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision)	tempax = 950;
tempax           7023 drivers/video/fbdev/sis/init301.c   else if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p)  tempax = 680;
tempax           7024 drivers/video/fbdev/sis/init301.c   else if(SiS_Pr->SiS_TVMode & TVSetPAL)	tempax = 520;
tempax           7025 drivers/video/fbdev/sis/init301.c   else						tempax = 440; /* NTSC, YPbPr 525 */
tempax           7027 drivers/video/fbdev/sis/init301.c   if( ((SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) && (SiS_Pr->SiS_VDE <= tempax)) ||
tempax           7029 drivers/video/fbdev/sis/init301.c         ((SiS_Pr->SiS_VGAHDE == 1024) || (SiS_Pr->SiS_VDE <= tempax)) ) ) {
tempax           7031 drivers/video/fbdev/sis/init301.c      tempax -= SiS_Pr->SiS_VDE;
tempax           7032 drivers/video/fbdev/sis/init301.c      tempax >>= 1;
tempax           7034 drivers/video/fbdev/sis/init301.c         tempax >>= 1;
tempax           7036 drivers/video/fbdev/sis/init301.c      tempax &= 0x00ff;
tempax           7038 drivers/video/fbdev/sis/init301.c      temp = tempax + (unsigned short)TimingPoint[0];
tempax           7041 drivers/video/fbdev/sis/init301.c      temp = tempax + (unsigned short)TimingPoint[1];
tempax           7162 drivers/video/fbdev/sis/init301.c         tempax = 0;
tempax           7186 drivers/video/fbdev/sis/init301.c      tempax = longtemp / SiS_Pr->SiS_HDE;
tempax           7187 drivers/video/fbdev/sis/init301.c      if(longtemp % SiS_Pr->SiS_HDE) tempax++;
tempax           7188 drivers/video/fbdev/sis/init301.c      tempbx |= ((tempax >> 8) & 0x1F);
tempax           7189 drivers/video/fbdev/sis/init301.c      tempcx = tempax >> 13;
tempax           7192 drivers/video/fbdev/sis/init301.c   SiS_SetReg(SiS_Pr->SiS_Part2Port,0x44,tempax);
tempax           7334 drivers/video/fbdev/sis/init301.c        tempax = 1;
tempax           7336 drivers/video/fbdev/sis/init301.c           tempax = SiS_Pr->PanelYRes;
tempax           7339 drivers/video/fbdev/sis/init301.c              tempax = tempcx = 0;
tempax           7341 drivers/video/fbdev/sis/init301.c              tempax -= SiS_Pr->SiS_VDE;
tempax           7343 drivers/video/fbdev/sis/init301.c           tempax >>= 1;
tempax           7345 drivers/video/fbdev/sis/init301.c        tempcx -= tempax; /* lcdvdes */
tempax           7346 drivers/video/fbdev/sis/init301.c        tempbx -= tempax; /* lcdvdee */
tempax           7358 drivers/video/fbdev/sis/init301.c     tempax = SiS_Pr->SiS_VDE;
tempax           7360 drivers/video/fbdev/sis/init301.c        tempax = SiS_Pr->PanelYRes;
tempax           7362 drivers/video/fbdev/sis/init301.c     tempcx = (SiS_Pr->SiS_VT - tempax) >> 4;
tempax           7365 drivers/video/fbdev/sis/init301.c 	  tempcx = (SiS_Pr->SiS_VT - tempax) / 10;
tempax           7373 drivers/video/fbdev/sis/init301.c              tempax = SiS_Pr->SiS_VT - SiS_Pr->PanelYRes;
tempax           7374 drivers/video/fbdev/sis/init301.c 	     if(tempax % 4) { tempax >>= 2; tempax++; }
tempax           7375 drivers/video/fbdev/sis/init301.c 	     else           { tempax >>= 2;           }
tempax           7376 drivers/video/fbdev/sis/init301.c              tempbx -= (tempax - 1);
tempax           7435 drivers/video/fbdev/sis/init301.c     tempax = tempbx = SiS_Pr->SiS_HDE;
tempax           7438 drivers/video/fbdev/sis/init301.c           tempax = SiS_Pr->PanelXRes;
tempax           7445 drivers/video/fbdev/sis/init301.c        tempax >>= 1;
tempax           7453 drivers/video/fbdev/sis/init301.c     tempcx = (tempcx - tempax) >> 2;
tempax           7723 drivers/video/fbdev/sis/init301.c   unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo;
tempax           7845 drivers/video/fbdev/sis/init301.c      tempax = SiS_Pr->SiS_VGAHDE;
tempax           7846 drivers/video/fbdev/sis/init301.c      if(modeflag & HalfDCLK)    tempax >>= 1;
tempax           7847 drivers/video/fbdev/sis/init301.c      if(SiS_IsDualLink(SiS_Pr)) tempax >>= 1;
tempax           7848 drivers/video/fbdev/sis/init301.c      if(tempax > 800) {
tempax           7850 drivers/video/fbdev/sis/init301.c 	   tempax -= 800;
tempax           7853 drivers/video/fbdev/sis/init301.c 	   if(tempax == 960)	   tempax *= 25; /* Correct */
tempax           7854 drivers/video/fbdev/sis/init301.c            else if(tempax == 1024) tempax *= 25;
tempax           7855 drivers/video/fbdev/sis/init301.c            else			   tempax *= 20;
tempax           7856 drivers/video/fbdev/sis/init301.c 	   temp = tempax % 32;
tempax           7857 drivers/video/fbdev/sis/init301.c 	   tempax /= 32;
tempax           7858 drivers/video/fbdev/sis/init301.c 	   if(temp) tempax++;
tempax           7859 drivers/video/fbdev/sis/init301.c 	   tempax++;
tempax           7866 drivers/video/fbdev/sis/init301.c 	         tempax = (tempax & 0xff00) | 0x20;
tempax           7871 drivers/video/fbdev/sis/init301.c      tempax--;
tempax           7872 drivers/video/fbdev/sis/init301.c      temp = ((tempax >> 4) & 0x30) | tempbx;
tempax           7873 drivers/video/fbdev/sis/init301.c      SiS_SetReg(SiS_Pr->SiS_Part4Port,0x1D,tempax);
tempax           9667 drivers/video/fbdev/sis/init301.c SiS_WriteDDC2Data(struct SiS_Private *SiS_Pr, unsigned short tempax)
tempax           9674 drivers/video/fbdev/sis/init301.c     if(tempax & flag) {
tempax           10753 drivers/video/fbdev/sis/init301.c   unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp;
tempax           10932 drivers/video/fbdev/sis/init301.c 		    tempax = 768 - SiS_Pr->SiS_VGAVDE;
tempax           10933 drivers/video/fbdev/sis/init301.c 		    tempax >>= 4;  				 /* 1.10.7w; 1.10.6s: 3;  */
tempax           10934 drivers/video/fbdev/sis/init301.c 		    if(SiS_Pr->SiS_VGAVDE <= 480)  tempax >>= 4; /* 1.10.7w; 1.10.6s: < 480; >>=1; */
tempax           10935 drivers/video/fbdev/sis/init301.c 		    tempbx -= tempax;
tempax             91 drivers/video/fbdev/sis/init301.h unsigned short	SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempax);
tempax             93 drivers/video/fbdev/sis/init301.h unsigned short	SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempax);
tempax            373 drivers/video/fbdev/sis/sis.h extern unsigned short	SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempax);