Lines Matching refs:tempax
3387 unsigned short modeflag, tempax, tempbx = 0, remaining = 0; in SiS_CalcLCDACRT1Timing() local
3417 tempax = SiS_Pr->SiS_VGAHDE; /* not /2 ! */ in SiS_CalcLCDACRT1Timing()
3419 tempax = SiS_Pr->PanelXRes; in SiS_CalcLCDACRT1Timing()
3421 tempbx += tempax; in SiS_CalcLCDACRT1Timing()
3437 tempax = (SiS_Pr->PanelXRes - SiS_Pr->SiS_VGAHDE) >> 1; in SiS_CalcLCDACRT1Timing()
3440 tempax >>= 1; in SiS_CalcLCDACRT1Timing()
3443 SiS_Pr->CHSyncStart = (VGAHDE + tempax + tempbx + 7) & ~7; in SiS_CalcLCDACRT1Timing()
3444 tempax = SiS_Pr->PanelHRE + 7; in SiS_CalcLCDACRT1Timing()
3445 if(modeflag & HalfDCLK) tempax >>= 1; in SiS_CalcLCDACRT1Timing()
3446 SiS_Pr->CHSyncEnd = (SiS_Pr->CHSyncStart + tempax) & ~7; in SiS_CalcLCDACRT1Timing()
3451 tempax = ((SiS_Pr->CHTotal - SiS_Pr->CHSyncStart) / 3) << 1; in SiS_CalcLCDACRT1Timing()
3452 SiS_Pr->CHSyncEnd = SiS_Pr->CHSyncStart + tempax; in SiS_CalcLCDACRT1Timing()
3461 tempax = VGAHDE; in SiS_CalcLCDACRT1Timing()
3465 tempax += ((tempbx - tempax) >> 1); in SiS_CalcLCDACRT1Timing()
3467 tempax += SiS_Pr->PanelHRS; in SiS_CalcLCDACRT1Timing()
3468 SiS_Pr->CHSyncStart = tempax; in SiS_CalcLCDACRT1Timing()
3469 tempax += SiS_Pr->PanelHRE; in SiS_CalcLCDACRT1Timing()
3470 SiS_Pr->CHSyncEnd = tempax; in SiS_CalcLCDACRT1Timing()
3475 tempax = SiS_Pr->SiS_VGAVDE; in SiS_CalcLCDACRT1Timing()
3477 tempax = SiS_Pr->PanelYRes; in SiS_CalcLCDACRT1Timing()
3482 if((tempax + tempbx) == 438) tempbx += 16; in SiS_CalcLCDACRT1Timing()
3485 tempax = 0; in SiS_CalcLCDACRT1Timing()
3490 SiS_Pr->CVTotal = SiS_Pr->CVBlankEnd = tempbx + tempax; in SiS_CalcLCDACRT1Timing()
3492 tempax = SiS_Pr->SiS_VGAVDE; in SiS_CalcLCDACRT1Timing()
3494 tempax += (SiS_Pr->PanelYRes - tempax) >> 1; in SiS_CalcLCDACRT1Timing()
3496 tempax += SiS_Pr->PanelVRS; in SiS_CalcLCDACRT1Timing()
3497 SiS_Pr->CVSyncStart = tempax; in SiS_CalcLCDACRT1Timing()
3498 tempax += SiS_Pr->PanelVRE; in SiS_CalcLCDACRT1Timing()
3499 SiS_Pr->CVSyncEnd = tempax; in SiS_CalcLCDACRT1Timing()
3525 tempax = SiS_Pr->CCRT1CRTC[16] & 0xE0; in SiS_CalcLCDACRT1Timing()
3526 SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0x1F,tempax); in SiS_CalcLCDACRT1Timing()
3528 tempax = (SiS_Pr->CCRT1CRTC[16] & 0x01) << 5; in SiS_CalcLCDACRT1Timing()
3529 if(modeflag & DoubleScanMode) tempax |= 0x80; in SiS_CalcLCDACRT1Timing()
3530 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x09,0x5F,tempax); in SiS_CalcLCDACRT1Timing()