Lines Matching defs:tempbx

214 void XGI_GetTVPtrIndex2(USHORT * tempbx, UCHAR * tempcl, UCHAR * tempch,
1609 USHORT tempax, tempbx, resinfo, modeflag, infoflag;
1619 tempbx = pVBInfo->RefIndex[RefreshRateTableIndex + (*i)].ModeID;
1722 for (; pVBInfo->RefIndex[RefreshRateTableIndex + (*i)].ModeID == tempbx;
1736 if (pVBInfo->RefIndex[RefreshRateTableIndex + (*i)].ModeID != tempbx) {
2414 USHORT tempax, tempbx, tempcx, temp, modeflag;
2422 tempbx = pVBInfo->StResInfo[resindex].VTotal;
2427 tempbx = pVBInfo->ModeResInfo[resindex].VTotal;
2440 tempbx = tempbx >> 1;
2443 tempbx = tempbx << 1;
2453 tempbx -= 1;
2462 XGI_SetReg((XGIIOADDRESS) pVBInfo->P3d4, 0x12, (USHORT) (tempbx & 0xff));
2464 tempbx = tempbx >> 8;
2466 if (tempbx & 0x01)
2469 if (tempbx & 0x02)
2477 if (tempbx & 0x04)
3172 USHORT tempbx;
3175 tempbx = 2;
3179 (XGI330_LVDSDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3210 USHORT tempbx, i;
3225 tempbx = 0;
3229 (XGI_LVDSCRT1HDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3240 tempbx = 1;
3244 (XGI_LVDSCRT1VDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3268 ULONG tempbx, tempax, tempcx, tempdx, push1, push2, modeflag;
3280 tempbx = 8;
3282 (XGI330_LCDDataDesStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3289 tempbx = 3;
3292 (XGI330_LCDDataDesStruct2 *) XGI_GetLcdPtr(tempbx, ModeNo,
3298 (XGI330_LCDDataDesStruct *) XGI_GetLcdPtr(tempbx, ModeNo,
3304 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
3305 push1 = tempbx;
3318 tempbx = (pVBInfo->LCDInfo & EnableScalingLCD)
3322 tempbx = tempbx & 0x0fff;
3323 tempcx += tempbx;
3328 XGI_SetReg((XGIIOADDRESS) pVBInfo->Part1Port, 0x1A, tempbx & 0x07);
3331 tempbx = tempbx >> 3;
3334 (USHORT) (tempbx & 0xff));
3341 tempbx = LCDPtr1->LCDHRS;
3343 tempbx = LCDPtr->LCDHRS;
3350 tempcx += tempbx;
3356 tempax = tempbx & 0x07;
3359 tempbx = tempbx >> 3;
3366 (USHORT) (tempbx & 0xff));
3370 tempbx = LCDPtr1->LCDVDES;
3372 tempbx = LCDPtr->LCDVDES;
3375 tempbx = tempbx & 0x0fff;
3376 tempcx += tempbx;
3381 (USHORT) (tempbx & 0xff));
3385 tempbx = (tempbx >> 8) & 0x07;
3389 (USHORT) ((tempcx << 3) | tempbx));
3393 tempbx = LCDPtr1->LCDVRS;
3395 tempbx = LCDPtr->LCDVRS;
3397 /* tempbx = tempbx >> 4 ; */
3403 tempcx += tempbx;
3408 (USHORT) (tempbx & 0xff));
3412 tempax = ((tempbx >> 8) & 0x07) << 3;
3414 tempbx = pVBInfo->VGAVDE;
3415 if (tempbx != pVBInfo->VDE)
3425 tempbx = pVBInfo->VDE;
3430 temp1 = (temp << 18) / tempbx;
3432 tempdx = (USHORT) ((temp << 18) % tempbx);
3445 tempbx = (USHORT) (temp2 >> 16);
3446 tempax = tempbx & 0x03;
3448 tempbx = pVBInfo->VGAVDE;
3449 if (tempbx == pVBInfo->VDE)
3460 tempbx = (USHORT) (temp2 >> 16);
3462 (USHORT) ((tempbx & 0xff) << 6));
3474 tempbx = pVBInfo->HDE;
3478 tempax = (USHORT) (temp1 / tempbx);
3480 if ((tempbx & 0xffff) == (tempcx & 0xffff))
3497 tempbx = (USHORT) (temp1 & 0xffff);
3500 tempbx -= 1;
3502 tempax = ((tempbx >> 8) & 0xff) << 3;
3507 (USHORT) (tempbx & 0xff));
3666 USHORT flag, tempbx, tempah;
3671 tempbx = VB_XGI302B;
3674 tempbx = VB_XGI301;
3677 tempbx = VB_XGI301B;
3679 tempbx = VB_XGI301C;
3681 tempbx = VB_XGI301LV;
3683 tempbx = VB_XGI302LV;
3687 tempbx = VB_XGI301C;
3692 if (tempbx & (VB_XGI301B | VB_XGI302B)) {
3696 tempbx = tempbx | VB_NoLCD;
3701 pVBInfo->VBType = tempbx;
3716 USHORT tempax, push, tempbx, temp, modeflag;
3727 tempbx = 0;
3731 tempbx = tempbx | temp;
3736 tempbx = tempbx | tempax;
3741 tempbx &= temp;
3751 tempbx |= SetCRT2ToDualEdge;
3754 tempbx |= SetCRT2ToLCDA;
3767 tempbx |= SetCRT2ToHiVisionTV;
3770 tempbx &= (~SetCRT2ToHiVisionTV);
3771 tempbx |= SetCRT2ToYPbPr;
3775 /* tempbx |= SetCRT2ToYPbPr ; */
3811 if (!(tempbx & temp)) {
3813 tempbx = 0;
3818 if (tempbx & SetCRT2ToLCDA) {
3819 if (tempbx & SetSimuScanMode)
3820 tempbx &=
3824 tempbx &=
3833 if (!(tempbx & (SwitchToCRT2 | SetSimuScanMode))) { /* for driver abnormal */
3835 if (tempbx & SetCRT2ToRAMDAC) {
3836 tempbx &=
3839 tempbx &= (0x00FF | (~SetCRT2ToYPbPr));
3843 tempbx &= (~(SetCRT2ToRAMDAC | SetCRT2ToLCD | SetCRT2ToTV));
3847 if (tempbx & SetCRT2ToLCD) {
3848 tempbx &=
3850 tempbx &= (0x00FF | (~SetCRT2ToYPbPr));
3854 if (tempbx & SetCRT2ToSCART) {
3855 tempbx &=
3857 tempbx &= (0x00FF | (~SetCRT2ToYPbPr));
3861 if (tempbx & SetCRT2ToYPbPr)
3862 tempbx &= (0xFF00 | SwitchToCRT2 | SetSimuScanMode);
3866 if (tempbx & SetCRT2ToHiVisionTV)
3867 tempbx &=
3873 if (!(tempbx & (SwitchToCRT2 | SetSimuScanMode)))
3874 tempbx = DisableCRT2Display;
3877 if (!(tempbx & DisableCRT2Display)) {
3878 if ((!(tempbx & DriverMode)) || (!(modeflag & CRT2Mode))) {
3880 if (!(tempbx & SetCRT2ToLCDA))
3881 tempbx |= (SetInSlaveMode | SetSimuScanMode);
3889 if (!(tempbx & SetCRT2ToRAMDAC)) {
3890 tempbx &= (0x00FF | (~SetInSlaveMode));
3899 if ((tempbx & SetInSlaveMode) && (tempbx & SetCRT2ToLCDA)) {
3900 tempbx ^= (SetCRT2ToLCD | SetCRT2ToLCDA | SetCRT2ToDualEdge);
3906 pVBInfo->VBInfo = tempbx;
3919 USHORT temp, tempbx = 0, resinfo = 0, modeflag, index1;
3921 tempbx = 0;
3936 tempbx = temp;
3937 if (tempbx & SetPALTV) {
3938 tempbx &=
3940 if (tempbx & SetPALMTV)
3941 tempbx &= ~SetPALTV; /* set to NTSC if PAL-M */
3944 tempbx &= (SetCHTVOverScan | SetNTSCJ | SetPALTV);
3951 tempbx |= SetPALTV;
3960 tempbx |= SetYPbPrMode525i;
3963 tempbx = tempbx | SetYPbPrMode525p;
3965 tempbx = tempbx | SetYPbPrMode750p;
3971 tempbx = tempbx | SetYPbPrMode1080i | SetPALTV;
3980 tempbx |= TVSimuMode;
3982 if (!(tempbx & SetPALTV) && (modeflag > 13) && (resinfo == 8)) /* NTSC 1024x768, */
3983 tempbx |= NTSC1024x768;
3985 tempbx |= RPLLDIV2XO;
3989 tempbx &= (~RPLLDIV2XO);
3992 if (tempbx & (SetYPbPrMode525p | SetYPbPrMode750p))
3993 tempbx &= (~RPLLDIV2XO);
3998 if (tempbx & TVSimuMode)
3999 tempbx &= (~RPLLDIV2XO);
4004 pVBInfo->TVInfo = tempbx;
4017 USHORT temp, tempax, tempbx, modeflag, resinfo = 0, LCDIdIndex;
4032 tempbx = temp & 0x0F;
4034 if (tempbx == 0)
4035 tempbx = Panel1024x768; /* default */
4038 if ((tempbx == Panel1024x768) || (tempbx == Panel1280x1024)) {
4048 tempbx |= PanelRef75Hz;
4052 tempbx |= PanelRef75Hz;
4057 pVBInfo->LCDResInfo = tempbx;
4069 tempbx = 0;
4078 tempbx |= temp;
4089 tempbx |= SetLCDDualLink;
4098 && (resinfo == 9) && (!(tempbx & EnableScalingLCD)))
4099 tempbx |= SetLCDtoNonExpanding; /* set to center in 1280x1024 LCDB for Panel1400x1050 */
4105 tempbx |= SetLCDBToA ;
4112 if (!(tempbx & SetLCDtoNonExpanding)) {
4113 tempbx |= EnableLVDSDDA;
4119 tempbx |= EnableLVDSDDA;
4129 tempbx |= LCDVESATiming;
4133 tempbx |= LCDVESATiming;
4138 tempbx |= EnableReduceTiming;
4141 pVBInfo->LCDInfo = tempbx;
4569 USHORT tempbx, ModeIdIndex, RefreshRateTableIndex;
4572 tempbx = pVBInfo->VBInfo;
4725 USHORT tempax = 0, tempbx, modeflag, resinfo;
4751 tempbx = 4;
4755 (XGI_LCDDataStruct *) XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
4771 tempbx = 768;
4775 tempbx = 527;
4777 tempbx = 620;
4779 tempbx = 775;
4781 tempbx = 775;
4782 /* else if(pVBInfo->VGAVDE==350) tempbx=560; */
4783 /* else if(pVBInfo->VGAVDE==400) tempbx=640; */
4785 tempbx = 768;
4788 tempbx = 768;
4792 tempbx = 768;
4797 tempbx = 768;
4799 tempbx = 800;
4801 tempbx = 864;
4803 tempbx = 1024;
4807 tempbx = 1024;
4812 tempbx = 700;
4814 tempbx = 800;
4816 tempbx = 960;
4818 tempbx = 960;
4822 tempbx = 1050;
4826 tempbx = 1024;
4831 tempbx = 1200; /* alan 10/14/2003 */
4834 tempbx = 875;
4836 tempbx = 1000;
4842 tempbx = pVBInfo->VGAVDE;
4846 pVBInfo->VDE = tempbx;
4851 tempbx = 4;
4853 (XGI_TVDataStruct *) XGI_GetTVPtr(tempbx, ModeNo, ModeIdIndex,
4876 tempbx = ExtHiTVVT;
4881 tempbx = StHiTVVT;
4885 tempbx = StHiTextTVVT;
4893 tempbx = YPbPrTV750pVT; /* Ext750pTVVT */
4898 tempbx = YPbPrTV525pVT; /* Ext525pTVVT */
4902 tempbx = YPbPrTV525iVT; /* Ext525iTVVT */
4909 tempbx = PALVT;
4912 tempbx = NTSCVT;
4919 pVBInfo->VT = tempbx;
5213 USHORT temp = 0, tempax = 0, tempbx = 0, pushbx = 0, modeflag;
5248 tempbx = 0,
5276 tempbx = pushbx + tempcx; /* bx BTVGA@HRS 0x0B,0x0C */
5277 tempcx += tempbx;
5280 tempbx = pVBInfo->XGINEWUB_CRT1Table[CRT1Index].CR[4];
5281 tempbx |=
5283 tempbx = (tempbx - 3) << 3; /* (VGAHRS-3)*8 */
5291 tempbx += 4;
5297 temp = tempbx & 0x00FF;
5312 tempbx = pushbx + tempcx; /* bx BTVGA@HRS 0x0B,0x0C */
5313 tempcx += tempbx;
5316 tempbx = pVBInfo->XGINEWUB_CRT1Table[CRT1Index].CR[3];
5317 tempbx |=
5319 tempbx = (tempbx - 3) << 3; /* (VGAHRS-3)*8 */
5325 tempbx += 16;
5332 temp = tempbx & 0x00FF;
5336 tempax = (tempax & 0x00FF) | (tempbx & 0xFF00);
5337 tempbx = pushbx;
5338 tempbx = (tempbx & 0x00FF) | ((tempbx & 0xFF00) << 4);
5339 tempax |= (tempbx & 0xFF00);
5348 tempbx = pVBInfo->VGAVDE - 1;
5349 temp = tempbx & 0x00FF;
5351 temp = ((tempbx & 0xFF00) << 3) >> 8;
5356 tempbx = pVBInfo->VGAVDE;
5358 tempbx = (pVBInfo->VGAVT + pVBInfo->VGAVDE) >> 1; /* BTVGA2VRS 0x10,0x11 */
5359 tempcx = ((pVBInfo->VGAVT - pVBInfo->VGAVDE) >> 4) + tempbx + 1; /* BTVGA2VRE 0x11 */
5362 tempbx = pVBInfo->XGINEWUB_CRT1Table[CRT1Index].CR[10];
5366 tempbx |= 0x0100;
5369 tempbx |= 0x0200;
5374 tempbx |= 0x0400;
5380 temp = tempbx & 0x00FF;
5382 temp = ((tempbx & 0xFF00) >> 8) << 4;
5409 push2, tempax, tempbx = 0, tempcx, temp, resinfo, modeflag, CRT1Index;
5441 tempbx |= ((tempax & 0x00FF) << 8);
5445 temp = (tempbx & 0xFF00) >> 8;
5487 temp = (tempbx & 0x00FF) - 1;
5498 /* tempcx = tempbx & 0x00FF ; */
5499 tempbx = (tempbx & 0xFF00) >> 8;
5500 tempcx = (tempcx + tempbx) >> 1;
5598 tempbx = pVBInfo->VGAVT;
5599 push1 = tempbx;
5601 tempbx = pVBInfo->VGAVDE; /* 0x0E Virtical Display End */
5603 if (tempbx == 357)
5604 tempbx = 350;
5605 if (tempbx == 360)
5606 tempbx = 350;
5607 if (tempbx == 375)
5608 tempbx = 350;
5609 if (tempbx == 405)
5610 tempbx = 400;
5611 if (tempbx == 525)
5612 tempbx = 480;
5614 push2 = tempbx;
5619 if (tempbx == 350)
5620 tempbx += 5;
5621 if (tempbx == 480)
5622 tempbx += 5;
5626 tempbx--;
5627 temp = tempbx & 0x00FF;
5628 tempbx--;
5629 temp = tempbx & 0x00FF;
5631 tempbx = push2;
5632 tempbx--;
5633 temp = tempbx & 0x00FF;
5636 if (tempbx & 0x0100) {
5646 if (tempbx & 0x0200) {
5653 if (tempbx & 0x0400) {
5660 tempax -= tempbx; /* 0x0C Vertical Retrace Start */
5666 tempbx += tempax;
5672 tempbx -= 10;
5681 tempbx += 40;
5684 tempbx += 40;
5690 tempbx -= 10;
5700 tempbx += 40;
5703 tempbx += 40;
5710 tempax += tempbx;
5714 if (tempbx <= 513) {
5716 tempbx = 513;
5721 temp = tempbx & 0x00FF;
5723 tempbx--;
5724 temp = tempbx & 0x00FF;
5727 if (tempbx & 0x0100) {
5731 if (tempbx & 0x0200) {
5735 tempbx++;
5737 if (tempbx & 0x0100) {
5741 if (tempbx & 0x0200) {
5745 if (tempbx & 0x0400) {
5749 tempbx = push1; /* pop ax */
5750 temp = tempbx & 0x00FF;
5754 if (tempbx & 0x0010) {
5798 tempbx, tempcx, temp, push1, push2, modeflag, resinfo, crt2crtc;
5980 tempbx = TimingPoint[j] | ((TimingPoint[j + 1]) << 8);
5981 tempbx += tempcx;
5982 push2 = tempbx;
5983 temp = tempbx & 0x00FF;
5985 temp = (tempbx & 0xFF00) >> 8;
5989 tempbx = push2;
5990 tempbx = tempbx + 8;
5992 tempbx = tempbx - 4;
5993 tempcx = tempbx;
5996 temp = (tempbx & 0x00FF) << 4;
6032 tempbx = pVBInfo->VDE;
6035 tempbx = 746;
6037 tempbx = 746;
6039 tempbx = 853;
6044 tempbx = tempbx >> 1;
6047 tempbx = tempbx >> 1;
6050 tempbx -= 2;
6051 temp = tempbx & 0x00FF;
6073 temp |= ((tempbx & 0xFF00) >> 8) << 6;
6094 tempbx = pVBInfo->VDE;
6095 tempcx = tempbx - 2;
6099 tempbx = tempbx >> 1;
6107 if (tempbx & 0x0400)
6113 temp = (((tempbx - 3) & 0x0300) >> 8) << 5;
6115 temp = (tempbx - 3) & 0x00FF;
6119 tempbx = tempbx & 0x00FF;
6124 tempbx |= 0x2000;
6136 tempbx = tempbx & 0xDFFF;
6141 if (!(tempbx & 0x2000)) {
6146 push1 = tempbx;
6180 tempbx = push1;
6181 tempbx =
6182 (USHORT) (((tempeax & 0x0000FF00) & 0x1F00) | (tempbx & 0x00FF));
6191 temp = (tempbx & 0xFF00) >> 8;
6195 if (tempbx & 0x2000)
6203 tempbx = 0x0382;
6207 tempbx = 0x0369;
6211 temp = tempbx & 0x00FF;
6218 temp |= ((tempbx & 0xFF00) >> 8) & 0x03;
6289 tempbx,
6311 tempbx = pVBInfo->HDE; /* RHACTE=HDE-1 */
6314 tempbx = tempbx >> 1;
6316 tempbx -= 1;
6317 temp = tempbx & 0x00FF;
6319 temp = (tempbx & 0xFF00) >> 8;
6335 tempbx = pVBInfo->VDE; /* RTVACTEO=(VDE-1)&0xFF */
6336 push1 = tempbx;
6337 tempbx--;
6338 temp = tempbx & 0x00FF;
6340 temp = ((tempbx & 0xFF00) >> 8) & 0x07;
6361 tempbx = pVBInfo->HDE;
6365 get_HDE_VDE(pVBInfo, & tempbx, & tempcx);
6368 pushbx = tempbx;
6374 tempbx = pVBInfo->LCDVDES;
6375 tempcx += tempbx;
6380 temp = tempbx & 0x00FF; /* RVEQ1EQ=lcdvdes */
6385 tempbh = ((tempbx & 0xFF00) >> 8) & 0x07;
6392 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
6398 tempbx = LCDPtr1->LCDVSync;
6400 tempcx = tempbx;
6402 tempbx = pVBInfo->LCDVRS;
6405 tempcx += tempbx;
6409 temp = tempbx & 0x00FF; /* RTVACTEE=lcdvrs */
6411 temp = (tempbx & 0xFF00) >> 8;
6417 tempbx = pVBInfo->LCDHDES;
6418 tempbx &= 0x0FFF;
6422 tempbx = tempbx >> 1;
6427 tempbx += 1;
6430 tempbx += 1;
6432 tempcx += tempbx;
6437 temp = tempbx & 0x00FF;
6439 temp = ((tempbx & 0xFF00) >> 8) << 4;
6447 XGI_GetLCDSync(&tempax, &tempbx, pVBInfo);
6457 tempbx = pVBInfo->LCDHRS;
6461 tempbx = tempbx >> 1;
6466 tempbx += 1;
6468 tempcx += tempbx;
6473 temp = tempbx & 0x00FF; /* RHBURSTS=lcdhrs */
6476 temp = (tempbx & 0xFF00) >> 8;
6519 USHORT tempax, tempbx, i;
6525 tempbx = pVBInfo->HDE;
6529 tempbx = pVBInfo->VDE;
6532 if (tempax < tempbx)
6534 else if (tempax == tempbx)
6694 USHORT tempax, tempcx, tempbx, modeflag, temp, temp2;
6712 tempbx = pVBInfo->RVBHCMAX;
6713 temp = tempbx & 0x00FF;
6715 temp2 = ((tempbx & 0xFF00) >> 8) << 7;
6734 tempbx = pVBInfo->VGAHDE;
6737 tempbx = tempbx >> 1;
6741 tempbx = tempbx >> 1;
6745 if (tempbx <= 1024)
6747 if (tempbx == 1280)
6752 if (tempbx <= 800)
6759 if (tempbx > 800)
6777 tempbx = tempbx >> 1;
6811 tempbx = (USHORT) (tempebx >> 16);
6812 temp = tempbx & 0x00FF;
6902 tempbx = pVBInfo->HT;
6904 tempbx = tempbx >> 1;
6905 tempbx = (tempbx >> 1) - 2;
6906 temp = ((tempbx & 0x0700) >> 8) << 3;
6909 temp = tempbx & 0x00FF;
6954 USHORT i, tempdx, tempcx, tempbx, tempal, modeflag, table;
6959 tempbx = BX;
6981 if (tempbx <= 1) { /* ExpLink */
6997 if (tempbx & 0x01)
7003 tempcx = LCDLenList[tempbx]; /* mov cl,byte ptr cs:LCDLenList[bx] */
7006 if ((tempbx == 5) || (tempbx) == 7)
7008 else if ((tempbx == 3) || (tempbx == 8))
7012 /* tempdi=pVideoMemory[LCDDataList+tempbx*2]|(pVideoMemory[LCDDataList+tempbx*2+1]<<8); */
7014 switch (tempbx) {
7048 table = tempbx;
7053 if (tempbx & 0x0080) { /* OEMUtil */
7054 tempbx &= (~0x0080);
7068 tempbx = tempdi[i].MASK;
7077 tempbx &= tempdx;
7078 if (tempbx == tempdi[i].CAP)
7459 USHORT i, tempdx, tempbx, tempal, modeflag, table;
7462 tempbx = BX;
7474 table = tempbx;
7476 switch (tempbx) {
8481 USHORT tempbx, tempah;
8483 tempbx = pVBInfo->SetFlag & (DisableChA | DisableChB);
8486 if (tempbx & (EnableChA | DisableChA)) {
8491 if (!(tempbx & (EnableChB | DisableChB)))
8510 USHORT tempbx, tempah;
8513 tempbx = pVBInfo->SetFlag & (EnableChA | EnableChB);
8516 if (tempbx & (EnableChA | DisableChA)) {
8521 if (!(tempbx & (EnableChB | DisableChB)))
8837 USHORT tempax, tempbx, tempah = 0, tempbl = 0;
8854 tempbx = 0xFE; /* not 01h */
8858 tempbx = 0xF7; /* not 08h */
8861 XGI_SetPanelPower(tempax, tempbx, pVBInfo);
8995 USHORT tempbx = 0;
8998 tempbx = 2;
9000 tempbx = 4;
9002 tempbx = 6;
9004 tempbx = 8;
9006 tempbx = 10;
9008 tempbx++;
9010 return tempbx;
9269 USHORT tempbx, index;
9276 tempbx = XGI_GetTVPtrIndex(pVBInfo);
9277 tempbx &= 0xFE;
9286 tempbx += index;
9287 tempah = TVAntiFlickList[tempbx];
9303 USHORT tempbx, index;
9308 tempbx = XGI_GetTVPtrIndex(pVBInfo);
9309 tempbx &= 0xFE;
9318 tempbx += index;
9319 tempah = TVEdgeList[tempbx];
9335 USHORT tempbx;
9341 XGI_GetTVPtrIndex2(&tempbx, &tempcl, &tempch, pVBInfo); /* bx, cl, ch */
9342 tempData = TVPhaseList[tempbx];
9364 USHORT tempbx, index;
9369 XGI_GetTVPtrIndex2(&tempbx, &tempcl, &tempch, pVBInfo); /* bx, cl, ch */
9371 switch (tempbx) {
9470 XGI_GetTVPtrIndex2(USHORT * tempbx, UCHAR * tempcl, UCHAR * tempch,
9473 *tempbx = 0;
9478 *tempbx = 1;
9481 *tempbx = 2;
9484 *tempbx = 3;
9487 *tempbx = 4;
9489 *tempbx = 5;
9497 *tempbx += 8;
9749 USHORT tempax, tempbx, temp1, temp2, modeflag = 0, tempcx, CRT1Index;
9764 tempbx = pVBInfo->StandTable[StandTableIndex].CRTC[6];
9774 tempbx = (USHORT) pVBInfo->XGINEWUB_CRT1Table[CRT1Index].CR[8];
9778 tempbx |= tempcx;
9783 tempbx |= 0x0100;
9786 tempbx |= 0x0200;
9796 tempbx++;
9797 pVBInfo->VGAVT = tempbx;
9798 pVBInfo->VT = tempbx;
9996 ULONG tempax, tempbx;
9998 tempbx =
10001 tempax = (tempax * pVBInfo->HT) / tempbx;
10020 USHORT tempbx ;
10113 tempbx = 0 ;
10116 tempbx += 2 ;
10119 tempbx += 1 ;
10121 switch( tempbx )