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

Lines Matching refs:tempax

1157     unsigned short tempax, tempbx, resinfo, modeflag, infoflag;
1170 tempax = 0 ;
1176 tempax |= SupportRAMDAC2 ;
1179 tempax |= SupportCRT2in301C ;
1184 tempax |= SupportLCD ;
1194 tempax = 0 ;
1206 tempax |= SupportYPbPr ;
1221 tempax |= SupportHiVisionTV ;
1242 tempax |= SupportTV ;
1246 tempax |= SupportTV1024 ;
1271 tempax |= SupportCHTV ;
1277 tempax |= SupportLCD ;
1296 if ( infoflag & tempax )
1312 if ( infoflag & tempax )
1948 unsigned short resindex, tempax, tempbx, tempcx, temp, modeflag;
1957 tempax = pVBInfo->StResInfo[ resindex ].HTotal ;
1963 tempax = pVBInfo->ModeResInfo[ resindex ].HTotal ;
1968 tempax = tempax >> 1 ;
1973 tempax = tempax << 1 ;
1989 tempax /= tempcx ;
1990 tempax -= 1 ;
1992 tempcx = tempax ;
2000 tempax = 0 ;
2004 tempax |= 0x02 ;
2007 tempax |= 0x40 ;
2009 XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x07 , ~0x42 , tempax ) ;
2012 tempax = 0 ;
2015 tempax |= 0x02 ;
2017 XGINew_SetRegANDOR( pVBInfo->P3d4 ,0x0a , ~0x02 , tempax ) ;
2930 unsigned short tempbx , tempax , tempcx , tempdx , push1 , push2 , modeflag ;
2959 XGI_GetLCDSync( &tempax , &tempbx ,pVBInfo) ;
2961 push2 = tempax ;
2966 tempax = 1024 ;
2971 tempax = 1280 ;
2976 tempax = 1400 ;
2981 tempax = 1600 ;
2987 pVBInfo->HDE=tempax;
2989 pVBInfo->VGAHDE=tempax;
2995 tempax=pVBInfo->HDE;
2999 tempax = pVBInfo->HT ;
3010 if ( tempcx >= tempax )
3011 tempcx -= tempax ;
3021 tempax = pVBInfo->HT ;
3035 if ( tempcx >= tempax )
3036 tempcx -= tempax ;
3038 tempax = tempbx & 0x07 ;
3039 tempax = tempax >> 5 ;
3044 tempax |= tempcx ;
3046 XGINew_SetReg1( pVBInfo->Part1Port , 0x15 , tempax ) ;
3049 tempax = pVBInfo->VT ;
3058 if ( tempcx >= tempax )
3059 tempcx -= tempax ;
3069 tempax = pVBInfo->VT ;
3082 if ( tempcx >= tempax )
3083 tempcx -= tempax ;
3088 tempax = ( ( tempbx >> 8 ) & 0x07 ) << 3 ;
3092 tempax |= 0x40 ;
3095 tempax |= 0x40 ;
3097 XGINew_SetRegANDOR( pVBInfo->Part1Port , 0x1a , 0x07 , tempax ) ;
3101 tempax = pVBInfo->VGAVDE ;
3102 tempcx -= tempax ;
3104 temp = tempax ; /* 0430 ylshieh */
3119 tempax = tempbx & 0x03 ;
3123 tempax |= 0x04 ;
3125 XGINew_SetReg1( pVBInfo->Part1Port , 0x35 , tempax ) ;
3147 tempax = (unsigned short)(temp1 / tempbx);
3150 tempax = 65535 ;
3152 temp3 = tempax ;
3161 tempax = (unsigned short)(temp3 & 0xff);
3162 XGINew_SetReg1( pVBInfo->Part1Port , 0x1f , tempax ) ;
3171 tempax = ( ( tempbx >> 8 ) & 0xff ) << 3 ;
3172 tempax |= (unsigned short)((temp3 >> 8) & 0x07);
3173 XGINew_SetReg1(pVBInfo->Part1Port, 0x20, (unsigned short)(tempax & 0xff));
3237 tempax ;
3265 tempax = XGINew_GetReg1( pVBInfo->Part1Port , 0x13 ) ; /* Check ChannelA by Part1_13 [2003/10/03] */
3266 if ( tempax & 0x04 )
3426 unsigned short tempax ,
3452 tempax = temp << 8 ;
3453 tempbx = tempbx | tempax ;
3518 tempax = push ; /* restore CR31 */
3551 tempax |= DisableCRT2Display ;
3611 if ( tempax & DisableCRT2Display ) /* Set Display Device Info */
3804 tempax ,
3835 tempax = XGINew_GetReg1( pVBInfo->P3d4 , 0x33 ) ;
3837 tempax &= 0x0F ;
3839 tempax = tempax >> 4 ;
3843 if ( tempax >= 3 )
3848 if ( tempax >= 4 )
3881 tempax = pVBInfo->LCDCapList[ LCDIdIndex ].LCD_Capability ;
3885 if ( ( ( pVBInfo->VBType & VB_XGI302LV ) || ( pVBInfo->VBType & VB_XGI301C ) ) && ( tempax & LCDDualLink ) )
3893 if ( tempax & LCDDualLink )
3906 if ( tempax & LCDBToA )
3957 if ( !( tempax & PWDEnable ) )
3967 if ( tempax & ( LockLCDBToA | StLCDBToA ) )
3971 if ( !( tempax & LockLCDBToA ) )
3986 if ( tempax & ( LockLCDBToA | StLCDBToA ) )
3990 if ( !( ( !( tempax & LockLCDBToA ) ) && ( ModeNo > 0x13 ) ) )
4630 unsigned short tempax = 0,
4673 tempax = 1024 ;
4696 tempax = 1024 ;
4701 tempax = 1280 ;
4713 tempax = 1280 ;
4718 tempax = 1280 ;
4730 tempax = 1400 ;
4735 tempax = 1280 ;
4741 tempax = 1600 ;
4754 tempax = pVBInfo->VGAHDE ;
4758 pVBInfo->HDE = tempax ;
4789 tempax = ExtHiTVHT ;
4796 tempax = StHiTVHT ;
4801 tempax = StHiTextTVHT ;
4811 tempax = YPbPrTV750pHT ; /* Ext750pTVHT */
4817 tempax = YPbPrTV525pHT ; /* Ext525pTVHT */
4822 tempax = YPbPrTV525iHT ; /* Ext525iTVHT */
4825 tempax = NTSC1024x768HT ;
4830 tempax = PALHT ;
4834 tempax = NTSCHT ;
4837 tempax = NTSC1024x768HT ;
4841 pVBInfo->HT = tempax ;
5273 tempax = 0 ,
5369 tempax = ( tempax & 0x00FF ) | ( tempbx & 0xFF00 ) ;
5372 tempax |= ( tempbx & 0xFF00 ) ;
5373 temp = ( tempax & 0xFF00 ) >> 8 ;
5396 tempax = pVBInfo->VGAVDE ;
5427 tempax = 0 ;
5430 tempax |= 0x80 ;
5433 tempax |= 0x40 ;
5435 XGINew_SetRegANDOR( pVBInfo->Part1Port , 0x2C , ~0x0C0 , tempax ) ;
5452 tempax ,
5487 tempax = pVBInfo->VGAHDE ; /* 0x04 Horizontal Display End */
5490 tempax = tempax >> 1 ;
5492 tempax = ( tempax / tempcx ) - 1 ;
5493 tempbx |= ( ( tempax & 0x00FF ) << 8 ) ;
5494 temp = tempax & 0x00FF ;
5526 tempax = pVBInfo->VGAHT ;
5528 tempax = XGI_GetVGAHT2( pVBInfo) ;
5531 if ( tempax >= pVBInfo->VGAHT )
5533 tempax = pVBInfo->VGAHT ;
5538 tempax = tempax >> 1 ;
5541 tempax = ( tempax / tempcx ) - 5 ;
5542 tempcx = tempax ; /* 20030401 0x07 horizontal Retrace Start */
5726 tempax = 0x000B ;
5730 tempax |= 0x08000 ;
5738 temp = ( tempax & 0xFF00 ) >> 8 ;
5748 tempax = push1 ;
5749 tempax -= tempbx ; /* 0x0C Vertical Retrace Start */
5750 tempax = tempax >> 2 ;
5751 push1 = tempax ; /* push ax */
5755 tempax = tempax << 1 ;
5756 tempbx += tempax ;
5801 tempax = push1 ;
5802 tempax = tempax >> 2 ;
5803 tempax++ ;
5804 tempax += tempbx ;
5805 push1 = tempax ; /* push ax */
5811 if ( tempax >= 513 )
5865 tempax = modeflag ;
5866 temp = ( tempax & 0xFF00 ) >> 8 ;
5899 tempax ,
5929 tempax = 0 ;
5932 tempax |= 0x0800 ;
5935 tempax |= 0x0400 ;
5938 tempax |= 0x0200 ;
5941 tempax |= 0x1000 ;
5944 tempax |= 0x0100 ;
5947 tempax &= 0xfe00 ;
5949 tempax = ( tempax & 0xff00 ) >> 8 ;
5951 XGINew_SetReg1( pVBInfo->Part2Port , 0x0 , tempax ) ;
6005 tempax = 950 ;
6008 tempax = 520 ;
6010 tempax = 440 ;
6012 if ( pVBInfo->VDE <= tempax )
6014 tempax -= pVBInfo->VDE ;
6015 tempax = tempax >> 2 ;
6016 tempax = ( tempax & 0x00FF ) | ( ( tempax & 0x00FF ) << 8 ) ;
6017 push1 = tempax ;
6018 temp = ( tempax & 0xFF00 ) >> 8 ;
6036 tempax = push1 ;
6037 temp = ( tempax & 0xFF00 ) >> 8 ;
6131 tempax = XGI_GetVGAHT2( pVBInfo) ;
6132 tempcx = tempax - 1 ;
6247 tempax &= 0x00FF ;
6296 tempax = (unsigned short)tempeax;
6301 tempcx = ( ( tempax & 0xFF00 ) >> 5 ) >> 8 ;
6307 tempax = (unsigned short)(((tempeax & 0x000000FF) << 8) | (tempax & 0x00FF));
6308 temp = ( tempax & 0xFF00 ) >> 8 ;
6312 temp = ( tempax & 0x00FF ) >> 8 ;
6384 tempax = (unsigned char)XGINew_GetReg1(pVBInfo->Part2Port, 0x01);
6385 tempax-- ;
6386 XGINew_SetRegAND( pVBInfo->Part2Port , 0x01 , tempax ) ;
6418 tempax ,
6531 tempax = pVBInfo->VT ;
6539 if ( tempcx >= tempax )
6540 tempcx -= tempax ; /* lcdvdes */
6554 XGI_GetLCDSync( &tempax , &tempbx,pVBInfo ) ;
6556 tempax = pVBInfo->VT ;
6561 if ( tempcx >= tempax )
6562 tempcx -= tempax ;
6571 tempax = pVBInfo->HT ;
6577 tempax = tempax >> 1 ;
6590 if ( tempcx >= tempax )
6591 tempcx -= tempax ;
6603 XGI_GetLCDSync( &tempax , &tempbx ,pVBInfo) ;
6604 tempcx = tempax ;
6605 tempax = pVBInfo->HT ;
6610 tempax = tempax >> 1 ;
6620 if ( tempcx >= tempax )
6621 tempcx -= tempax ;
6670 unsigned short tempax ,
6678 tempax = pVBInfo->VGAHDE ;
6683 tempax = pVBInfo->VGAVDE ;
6687 if ( tempax < tempbx )
6689 else if( tempax == tempbx )
6714 if ( Tap4TimingPtr[ i ].DE == tempax )
6855 unsigned short tempax ,
7000 tempax = pVBInfo->VGAHDE ;
7003 tempax = tempax >> 1 ;
7007 tempax = tempax >> 1 ;
7012 if ( tempax > 800 )
7013 tempax -= 800 ;
7020 tempax = ( tempax * 25 / 32 ) - 1 ;
7022 tempax = ( tempax * 20 / 32 ) - 1 ;
7025 tempax -= 1 ;
7037 tempax = ( tempax * 25 / 32 ) - 1 ;
7039 tempax = ( tempax * 20 / 32 ) - 1 ;
7048 tempax = ( tempax * 25 / 32 ) - 1 ;
7050 tempax = ( tempax * 20 / 32 ) - 1 ;
7056 temp = ( tempax & 0xFF00 ) >> 8 ;
7059 temp = ( tempax & 0x00FF ) ;
8534 unsigned short tempax ;
8536 tempax = pVBInfo->VBInfo ;
8537 if ( tempax & SetCRT2ToDualEdge )
8539 else if ( tempax & ( DisableCRT2Display | SwitchToCRT2 | SetSimuScanMode ) )
8966 unsigned short tempax ,
8990 tempax = 0 ;
8995 tempax = 0x08 ;
8997 XGI_SetPanelPower( tempax , tempbx , pVBInfo) ;
9922 unsigned short tempax ,
9938 tempax = pVBInfo->StandTable[ StandTableIndex ].CRTC[ 0 ] ;
9949 tempax = ( temp1 & 0xFF ) | ( ( temp2 & 0x03 ) << 8 ) ;
9963 tempax += 5 ;
9966 tempax *= 8 ;
9968 tempax *= 9 ;
9970 pVBInfo->VGAHT = tempax ;
9971 pVBInfo->HT = tempax ;
10211 unsigned long tempax ,
10215 tempax = ( pVBInfo->VT - pVBInfo->VDE ) * pVBInfo->RVBHCFACT ;
10216 tempax = ( tempax * pVBInfo->HT ) /tempbx ;
10218 return( (unsigned short)tempax ) ;