Lines Matching defs:temp
109 unsigned short temp, i, tempch;
111 temp = tempbx & 0xFF ;
112 XGINew_SetReg1( pVBInfo->Part4Port , 0x11 , temp ) ;
113 temp = ( tempbx & 0xFF00 ) >> 8 ;
114 temp |= ( tempcx & 0x00FF ) ;
115 XGINew_SetRegANDOR( pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
121 temp = XGINew_GetReg1( pVBInfo->Part4Port , 0x03 ) ;
122 temp = temp ^ ( 0x0E ) ;
123 temp &= tempch ;
125 if ( temp > 0 )
142 unsigned char temp;
216 temp = (unsigned char)XGINew_GetReg1(pVBInfo->P3c4, 0x1f);
217 temp &= 0x3f ;
223 XGINew_SetReg1(pVBInfo->P3c4, 0x1f, (unsigned char)(temp | 0x00));
249 temp = XGINew_GetReg1( pVBInfo->P3d4 , 0x38 ) ;
250 if ( temp & 0xE0 )
262 temp = XGINew_GetReg1( pVBInfo->P3d4 , 0x38 ) ;
263 if ( temp & 0xE0 )
281 XGINew_SetReg1(pVBInfo->P3c4, 0x1f, (unsigned char)(temp | 0x40));
294 XGINew_SetReg1(pVBInfo->P3c4, 0x1f, (unsigned char)(temp | 0x80));
299 XGINew_SetReg1(pVBInfo->P3c4, 0x1f, (unsigned char)(temp | 0xc0));
310 temp = XGINew_GetReg1( pVBInfo->P3d4 , 0x38 ) ;
311 if ( temp & 0xE0 )
324 temp = XGINew_GetReg1( pVBInfo->P3d4 , 0x38 ) ;
325 if ( temp & 0xE0 )
364 unsigned short tempax = 0 , tempbx , tempcx , temp ,
376 temp = XGINew_GetLCDDDCInfo( HwDeviceExtension, pVBInfo ) ;
377 if ( temp == 1 )
381 temp = LCDSense ;
385 temp = 0 ;
391 temp = LCDSense ;
395 XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x32 , tempbx , temp ) ;
402 temp = tempax & 0x01 ;
404 temp = temp | ( tempax & 0x02 ) ;
405 XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x32 , 0xA0 , temp ) ;
418 temp = XGI_SearchModeID( SenseModeNo , &ModeIdIndex, pVBInfo ) ;
565 unsigned short temp ;
568 temp = 0 ;
570 temp=XGINew_GetPanelID(pVBInfo) ;
572 if( !temp )
573 temp = XGINew_GetLCDDDCInfo( HwDeviceExtension, pVBInfo ) ;
575 return( temp ) ;
587 unsigned short temp ;
596 temp = (unsigned short)HwDeviceExtension->ulCRT2LCDType ;
610 temp = 0 ;
620 temp = 0 ;
626 XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x36 , 0xF0 , temp ) ;
657 unsigned short tempax , tempbx, temp;
673 temp = XGINew_GetReg1( pVBInfo->P3c4 , 0x38 ) ;
674 if ( temp & 0x40 )
676 if ( temp & 0x20 )
678 if ( temp & 0x01 )
681 temp = XGINew_GetReg1( pVBInfo->P3c4 , 0x39 ) ;
682 if ( temp & 0x80 )
693 temp = tempbx & 0x00F ;
694 XGINew_SetReg1( pVBInfo->P3d4 , 0x36 , temp ) ;
698 temp = ( tempbx & 0xFF00 ) >> 8 ;
699 XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x37 , ~( LCDSyncBit | LCDRGB18Bit ) , temp ) ;
740 unsigned short tempbx , tempcx , temp , i , tempch;
746 temp = tempbx & 0xFF ;
747 XGINew_SetReg1( pVBInfo->Part4Port , 0x11 , temp ) ;
748 temp = ( tempbx & 0xFF00 ) >> 8 ;
749 temp |= ( tempcx & 0x00FF ) ;
750 XGINew_SetRegANDOR( pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
756 temp = XGINew_GetReg1( pVBInfo->Part4Port , 0x03 ) ;
757 temp = temp ^ ( 0x0E ) ;
758 temp &= tempch ;
760 if ( temp != tempch )
766 temp = tempbx & 0xFF ;
767 XGINew_SetReg1( pVBInfo->Part4Port , 0x11 , temp ) ;
768 temp = ( tempbx & 0xFF00 ) >> 8 ;
769 temp |= ( tempcx & 0x00FF ) ;
770 XGINew_SetRegANDOR( pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
776 temp = XGINew_GetReg1( pVBInfo->Part4Port , 0x03 ) ;
777 temp = temp ^ ( 0x0E ) ;
778 temp &= tempch ;
780 if ( temp != tempch )
786 temp = tempbx & 0xFF ;
787 XGINew_SetReg1( pVBInfo->Part4Port , 0x11 , temp ) ;
788 temp = ( tempbx & 0xFF00 ) >> 8 ;
789 temp |= ( tempcx & 0x00FF ) ;
790 XGINew_SetRegANDOR( pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
796 temp = XGINew_GetReg1( pVBInfo->Part4Port , 0x03 ) ;
797 temp = temp ^ ( 0x0E ) ;
798 temp &= tempch ;
800 if ( temp != tempch )