Lines Matching defs:tempax
1609 USHORT tempax, tempbx, resinfo, modeflag, infoflag;
1620 tempax = 0;
1626 tempax |= SupportRAMDAC2;
1629 tempax |= SupportCRT2in301C;
1633 tempax |= SupportLCD;
1639 tempax = 0;
1650 tempax |= SupportYPbPr;
1663 tempax |= SupportHiVisionTV;
1682 tempax |= SupportTV;
1687 tempax |= SupportTV1024;
1706 tempax |= SupportLCD ;
1726 if (infoflag & tempax) {
1740 if (infoflag & tempax) {
2414 USHORT tempax, tempbx, tempcx, temp, modeflag;
2421 tempax = pVBInfo->StResInfo[resindex].HTotal;
2426 tempax = pVBInfo->ModeResInfo[resindex].HTotal;
2431 tempax = tempax >> 1;
2435 tempax = tempax << 1;
2451 tempax /= tempcx;
2452 tempax -= 1;
2454 tempcx = tempax;
2463 tempax = 0;
2467 tempax |= 0x02;
2470 tempax |= 0x40;
2472 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->P3d4, 0x07, ~0x42, tempax);
2475 tempax = 0;
2478 tempax |= 0x02;
2480 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->P3d4, 0x0a, ~0x02, tempax);
3268 ULONG tempbx, tempax, tempcx, tempdx, push1, push2, modeflag;
3304 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
3306 push2 = tempax;
3316 tempax = pVBInfo->HT;
3325 if (tempcx >= tempax)
3326 tempcx -= tempax;
3338 tempax = pVBInfo->HT;
3352 if (tempcx >= tempax)
3353 tempcx -= tempax;
3355 /* FIXME: Won't this *always* set tempax to zero? */
3356 tempax = tempbx & 0x07;
3357 tempax = tempax >> 5;
3362 tempax |= tempcx;
3364 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part1Port, 0x15, tempax);
3368 tempax = pVBInfo->VT;
3377 if (tempcx >= tempax)
3378 tempcx -= tempax;
3391 tempax = pVBInfo->VT;
3404 if (tempcx >= tempax)
3405 tempcx -= tempax;
3412 tempax = ((tempbx >> 8) & 0x07) << 3;
3416 tempax |= 0x40;
3419 tempax |= 0x40;
3422 tempax);
3426 tempax = pVBInfo->VGAVDE;
3427 tempcx -= tempax;
3429 temp = tempax; /* 0430 ylshieh */
3446 tempax = tempbx & 0x03;
3450 tempax |= 0x04;
3452 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part1Port, 0x35, tempax);
3478 tempax = (USHORT) (temp1 / tempbx);
3481 tempax = 65535;
3483 temp3 = tempax;
3492 tempax = (USHORT) (temp3 & 0xff);
3493 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part1Port, 0x1f, tempax);
3502 tempax = ((tempbx >> 8) & 0xff) << 3;
3503 tempax |= (USHORT) ((temp3 >> 8) & 0x07);
3505 (USHORT) (tempax & 0xff));
3566 USHORT tempcl, tempch, temp, tempbl, tempax;
3594 tempax = XGI_GetReg((XGIIOADDRESS) pVBInfo->Part1Port, 0x13); /* Check ChannelA by Part1_13 [2003/10/03] */
3595 if (tempax & 0x04)
3716 USHORT tempax, push, tempbx, temp, modeflag;
3735 tempax = temp << 8;
3736 tempbx = tempbx | tempax;
3780 tempax = push; /* restore CR31 */
3812 tempax |= DisableCRT2Display;
3872 if (tempax & DisableCRT2Display) { /* Set Display Device Info */
4017 USHORT temp, tempax, tempbx, modeflag, resinfo = 0, LCDIdIndex;
4040 tempax = XGI_GetReg((XGIIOADDRESS) pVBInfo->P3d4, 0x33);
4042 tempax &= 0x0F;
4044 tempax = tempax >> 4;
4047 if (tempax >= 3)
4051 if (tempax >= 4)
4082 tempax = pVBInfo->LCDCapList[LCDIdIndex].LCD_Capability;
4088 && (tempax & LCDDualLink)) {
4103 if ( tempax & LCDBToA )
4147 if (!(tempax & PWDEnable)) {
4157 if (tempax & (LockLCDBToA | StLCDBToA)) {
4159 if (!(tempax & LockLCDBToA)) {
4725 USHORT tempax = 0, tempbx, modeflag, resinfo;
4770 tempax = 1024;
4791 tempax = 1024;
4795 tempax = 1280;
4806 tempax = 1280;
4810 tempax = 1280;
4821 tempax = 1400;
4825 tempax = 1280;
4830 tempax = 1600;
4841 tempax = pVBInfo->VGAHDE;
4845 pVBInfo->HDE = tempax;
4875 tempax = ExtHiTVHT;
4880 tempax = StHiTVHT;
4884 tempax = StHiTextTVHT;
4892 tempax = YPbPrTV750pHT; /* Ext750pTVHT */
4897 tempax = YPbPrTV525pHT; /* Ext525pTVHT */
4901 tempax = YPbPrTV525iHT; /* Ext525iTVHT */
4904 tempax = NTSC1024x768HT;
4908 tempax = PALHT;
4911 tempax = NTSCHT;
4914 tempax = NTSC1024x768HT;
4918 pVBInfo->HT = tempax;
5213 USHORT temp = 0, tempax = 0, tempbx = 0, pushbx = 0, modeflag;
5247 tempax = 0,
5336 tempax = (tempax & 0x00FF) | (tempbx & 0xFF00);
5339 tempax |= (tempbx & 0xFF00);
5340 temp = (tempax & 0xFF00) >> 8;
5355 tempax = pVBInfo->VGAVDE;
5385 tempax = 0;
5388 tempax |= 0x80;
5391 tempax |= 0x40;
5393 XGI_SetRegANDOR((XGIIOADDRESS) pVBInfo->Part1Port, 0x2C, ~0x0C0, tempax);
5409 push2, tempax, tempbx = 0, tempcx, temp, resinfo, modeflag, CRT1Index;
5435 tempax = pVBInfo->VGAHDE; /* 0x04 Horizontal Display End */
5438 tempax = tempax >> 1;
5440 tempax = (tempax / tempcx) - 1;
5441 tempbx |= ((tempax & 0x00FF) << 8);
5442 temp = tempax & 0x00FF;
5471 tempax = pVBInfo->VGAHT;
5473 tempax = XGI_GetVGAHT2(pVBInfo);
5476 if (tempax >= pVBInfo->VGAHT) {
5477 tempax = pVBInfo->VGAHT;
5481 tempax = tempax >> 1;
5484 tempax = (tempax / tempcx) - 5;
5485 tempcx = tempax; /* 20030401 0x07 horizontal Retrace Start */
5640 tempax = 0x000B;
5643 tempax |= 0x08000;
5650 temp = (tempax & 0xFF00) >> 8;
5659 tempax = push1;
5660 tempax -= tempbx; /* 0x0C Vertical Retrace Start */
5661 tempax = tempax >> 2;
5662 push1 = tempax; /* push ax */
5665 tempax = tempax << 1;
5666 tempbx += tempax;
5707 tempax = push1;
5708 tempax = tempax >> 2;
5709 tempax++;
5710 tempax += tempbx;
5711 push1 = tempax; /* push ax */
5715 if (tempax >= 513) {
5762 tempax = modeflag;
5763 temp = (tempax & 0xFF00) >> 8;
5797 tempax,
5829 tempax = 0;
5832 tempax |= 0x0800;
5835 tempax |= 0x0400;
5838 tempax |= 0x0200;
5841 tempax |= 0x1000;
5844 tempax |= 0x0100;
5847 tempax &= 0xfe00;
5853 tempax = (tempax & 0xff00) >> 8;
5854 ErrorF("tempax = %x ", tempax);
5855 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part2Port, 0x0, tempax);
5903 tempax = 950;
5906 tempax = 520;
5908 tempax = 440;
5910 if (pVBInfo->VDE <= tempax) {
5911 tempax -= pVBInfo->VDE;
5912 tempax = tempax >> 2;
5913 tempax = (tempax & 0x00FF) | ((tempax & 0x00FF) << 8);
5914 push1 = tempax;
5915 temp = (tempax & 0xFF00) >> 8;
5934 tempax = push1;
5935 temp = (tempax & 0xFF00) >> 8;
6026 tempax = XGI_GetVGAHT2(pVBInfo);
6027 tempcx = tempax - 1;
6125 tempax &= 0x00FF;
6170 tempax = (USHORT) tempeax;
6176 tempcx = ((tempax & 0xFF00) >> 5) >> 8;
6183 tempax = (USHORT) (((tempeax & 0x000000FF) << 8) | (tempax & 0x00FF));
6184 temp = (tempax & 0xFF00) >> 8;
6187 temp = (tempax & 0x00FF) >> 8;
6252 tempax = (UCHAR) XGI_GetReg((XGIIOADDRESS) pVBInfo->Part2Port, 0x01);
6253 tempax--;
6254 XGI_SetRegAND((XGIIOADDRESS) pVBInfo->Part2Port, 0x01, tempax);
6288 tempax,
6369 tempax = pVBInfo->VT;
6377 if (tempcx >= tempax)
6378 tempcx -= tempax; /* lcdvdes */
6392 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
6401 tempax = pVBInfo->VT;
6406 if (tempcx >= tempax)
6407 tempcx -= tempax;
6416 tempax = pVBInfo->HT;
6421 tempax = tempax >> 1;
6434 if (tempcx >= tempax)
6435 tempcx -= tempax;
6447 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
6453 tempax = LCDPtr1->LCDHSync;
6455 tempcx = tempax;
6456 tempax = pVBInfo->HT;
6460 tempax = tempax >> 1;
6470 if (tempcx >= tempax)
6471 tempcx -= tempax;
6519 USHORT tempax, tempbx, i;
6524 tempax = pVBInfo->VGAHDE;
6528 tempax = pVBInfo->VGAVDE;
6532 if (tempax < tempbx)
6534 else if (tempax == tempbx)
6557 if (Tap4TimingPtr[i].DE == tempax)
6694 USHORT tempax, tempcx, tempbx, modeflag, temp, temp2;
6823 tempax = pVBInfo->VGAHDE;
6825 tempax = tempax >> 1;
6829 tempax = tempax >> 1;
6833 if (tempax > 800)
6834 tempax -= 800;
6839 tempax = (tempax * 25 / 32) - 1;
6841 tempax = (tempax * 20 / 32) - 1;
6844 tempax -= 1;
6856 tempax = ( tempax * 25 / 32 ) - 1 ;
6858 tempax = ( tempax * 20 / 32 ) - 1 ;
6867 tempax = ( tempax * 25 / 32 ) - 1 ;
6869 tempax = ( tempax * 20 / 32 ) - 1 ;
6875 temp = (tempax & 0xFF00) >> 8;
6878 temp = (tempax & 0x00FF);
8421 USHORT tempax;
8423 tempax = pVBInfo->VBInfo;
8424 if (tempax & SetCRT2ToDualEdge)
8426 else if (tempax & (DisableCRT2Display | SwitchToCRT2 | SetSimuScanMode))
8638 USHORT tempax;
8837 USHORT tempax, tempbx, tempah = 0, tempbl = 0;
8855 tempax = 0;
8859 tempax = 0x08;
8861 XGI_SetPanelPower(tempax, tempbx, pVBInfo);
9749 USHORT tempax, tempbx, temp1, temp2, modeflag = 0, tempcx, CRT1Index;
9763 tempax = pVBInfo->StandTable[StandTableIndex].CRTC[0];
9773 tempax = (temp1 & 0xFF) | ((temp2 & 0x03) << 8);
9787 tempax += 5;
9790 tempax *= 8;
9792 tempax *= 9;
9794 pVBInfo->VGAHT = tempax;
9795 pVBInfo->HT = tempax;
9996 ULONG tempax, tempbx;
10000 tempax = (pVBInfo->VT - pVBInfo->VDE) * pVBInfo->RVBHCFACT;
10001 tempax = (tempax * pVBInfo->HT) / tempbx;
10003 return ((USHORT) tempax);