Lines Matching refs:temp
112 unsigned temp;
124 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->Part4Port, 0x03);
125 temp = (temp ^ 0x0E) & ((tempcx & 0x7F00) >> 8);
127 return (temp > 0);
139 USHORT tempax = 0 , tempbx , tempcx , temp ,
148 temp = tempax & 0x01 ;
150 temp = temp | ( tempax & 0x02 ) ;
151 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->P3d4 , 0x32 , 0xA0 , temp ) ;
306 unsigned temp = HwDeviceExtension->ulCRT2LCDType;
324 temp = 0;
334 temp = 0;
341 XGI_SetRegANDOR((XGIIOADDRESS)pVBInfo->P3d4, 0x36, 0xF0, temp);
381 USHORT tempbx , tempcx , temp , i , tempch;
390 temp = tempbx & 0xFF ;
391 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x11 , temp ) ;
392 temp = ( tempbx & 0xFF00 ) >> 8 ;
393 temp |= ( tempcx & 0x00FF ) ;
394 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
400 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x03 ) ;
401 temp = temp ^ ( 0x0E ) ;
402 temp &= tempch ;
404 if ( temp != tempch )
410 temp = tempbx & 0xFF ;
411 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x11 , temp ) ;
412 temp = ( tempbx & 0xFF00 ) >> 8 ;
413 temp |= ( tempcx & 0x00FF ) ;
414 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
420 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x03 ) ;
421 temp = temp ^ ( 0x0E ) ;
422 temp &= tempch ;
424 if ( temp != tempch )
430 temp = tempbx & 0xFF ;
431 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x11 , temp ) ;
432 temp = ( tempbx & 0xFF00 ) >> 8 ;
433 temp |= ( tempcx & 0x00FF ) ;
434 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->Part4Port , 0x10 , ~0x1F , temp ) ;
440 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->Part4Port , 0x03 ) ;
441 temp = temp ^ ( 0x0E ) ;
442 temp &= tempch ;
444 if ( temp != tempch )
509 UCHAR temp ;
549 temp = ( UCHAR )XGI_GetReg((XGIIOADDRESS) pVBInfo->P3c4 , 0x1f ) ;
550 temp &= 0x3f ;
558 XGINew_SetReg1( pVBInfo->P3c4 , 0x1f , ( UCHAR )( temp | 0x00 ) ) ;
584 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->P3d4 , 0x38 ) ;
585 if ( temp & 0xE0 )
599 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->P3d4 , 0x38 ) ;
600 if ( temp & 0xE0 )
646 XGI_SetReg((XGIIOADDRESS) pVBInfo->P3c4 , 0x1f , ( UCHAR )( temp | 0x40 ) ) ;
670 XGI_SetReg((XGIIOADDRESS) pVBInfo->P3c4 , 0x1f , ( UCHAR )( temp | 0x80 ) ) ;
681 XGINew_SetReg1( pVBInfo->P3c4 , 0x1f , ( UCHAR )( temp | 0xc0 ) ) ;
692 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->P3d4 , 0x38 ) ;
694 if ( temp & 0xE0 )
711 temp = XGI_GetReg((XGIIOADDRESS) pVBInfo->P3d4 , 0x38 ) ;
713 if ( temp & 0xE0 )