Lines Matching refs:tempbx

1261    unsigned short tempax, tempbx, temp;
1274 tempbx = 0;
1279 tempbx |= temp;
1282 tempbx |= tempax;
1306 tempbx |= SetCRT2ToLCDA;
1311 tempbx &= ~(SetCRT2ToYPbPr525750 | SetCRT2ToHiVision);
1314 if(temp == 0x60) tempbx |= SetCRT2ToHiVision;
1316 tempbx |= SetCRT2ToYPbPr525750;
1324 tempbx |= SetCRT2ToLCDA;
1328 tempbx |= SetCRT2ToCHYPbPr;
1337 tempbx &= ~(SetCRT2ToRAMDAC);
1371 if(!(tempbx & temp)) {
1373 tempbx = 0;
1387 if(tempbx & SetCRT2ToLCDA) tempbx &= (clearmask | SetCRT2ToLCDA);
1388 if(tempbx & SetCRT2ToRAMDAC) tempbx &= (clearmask | SetCRT2ToRAMDAC);
1389 if(tempbx & SetCRT2ToLCD) tempbx &= (clearmask | SetCRT2ToLCD);
1390 if(tempbx & SetCRT2ToSCART) tempbx &= (clearmask | SetCRT2ToSCART);
1391 if(tempbx & SetCRT2ToHiVision) tempbx &= (clearmask | SetCRT2ToHiVision);
1392 if(tempbx & SetCRT2ToYPbPr525750) tempbx &= (clearmask | SetCRT2ToYPbPr525750);
1397 if(tempbx & SetCRT2ToLCDA) {
1398 tempbx &= (0xFF00|SwitchCRT2|SetSimuScanMode);
1402 if(tempbx & SetCRT2ToTV) {
1403 tempbx &= (0xFF00|SetCRT2ToTV|SwitchCRT2|SetSimuScanMode);
1406 if(tempbx & SetCRT2ToLCD) {
1407 tempbx &= (0xFF00|SetCRT2ToLCD|SwitchCRT2|SetSimuScanMode);
1410 if(tempbx & SetCRT2ToLCDA) {
1411 tempbx |= SetCRT2ToLCD;
1418 if(!(tempbx & (SwitchCRT2 | SetSimuScanMode))) {
1419 tempbx = SetSimuScanMode | DisableCRT2Display;
1423 if(!(tempbx & DriverMode)) tempbx |= SetSimuScanMode;
1428 ((SiS_Pr->SiS_VBType & VB_NoLCD) && (tempbx & SetCRT2ToLCD)) ) {
1433 if(!(tempbx & SetSimuScanMode)) {
1434 if(tempbx & SwitchCRT2) {
1437 tempbx |= SetSimuScanMode;
1442 if(!(tempbx & DriverMode)) {
1444 tempbx |= SetSimuScanMode;
1451 if(!(tempbx & DisableCRT2Display)) {
1452 if(tempbx & DriverMode) {
1453 if(tempbx & SetSimuScanMode) {
1456 tempbx |= SetInSlaveMode;
1461 tempbx |= SetInSlaveMode;
1467 SiS_Pr->SiS_VBInfo = tempbx;
2478 unsigned short resinfo, tempbx;
2590 tempbx = 0;
2591 if(SiS_Pr->SiS_TVMode & TVSetCHOverScan) tempbx += 1;
2593 tempbx += 2;
2595 if(SiS_Pr->SiS_CHSOverScan) tempbx = 8;
2598 tempbx = 4;
2599 if(SiS_Pr->SiS_TVMode & TVSetCHOverScan) tempbx += 1;
2601 tempbx = 6;
2602 if(SiS_Pr->SiS_TVMode & TVSetCHOverScan) tempbx += 1;
2605 switch(tempbx) {
3157 unsigned short tempbx=0, tempal=0, resinfo=0;
3170 tempbx = SiS_Pr->SiS_LCDResInfo;
3171 if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) tempbx += 32;
3187 tempbx = 100;
3197 tempbx = 200;
3198 if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) tempbx++;
3208 tempbx = 2;
3210 tempbx = 13;
3211 if(!(SiS_Pr->SiS_TVMode & TVSetTVSimuMode)) tempbx = 14;
3214 if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) tempbx = 7;
3215 else if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) tempbx = 6;
3216 else tempbx = 5;
3217 if(SiS_Pr->SiS_TVMode & TVSetTVSimuMode) tempbx += 5;
3219 if(SiS_Pr->SiS_TVMode & TVSetPAL) tempbx = 3;
3220 else tempbx = 4;
3221 if(SiS_Pr->SiS_TVMode & TVSetTVSimuMode) tempbx += 5;
3262 *CRT2Index = tempbx;
3267 tempbx = 0;
3270 tempbx = 90;
3272 tempbx = 92;
3274 if(SiS_Pr->SiS_CHSOverScan) tempbx = 99;
3276 if(SiS_Pr->SiS_TVMode & TVSetPALM) tempbx = 94;
3277 else if(SiS_Pr->SiS_TVMode & TVSetPALN) tempbx = 96;
3279 if(tempbx != 99) {
3280 if(SiS_Pr->SiS_TVMode & TVSetCHOverScan) tempbx++;
3286 case Panel_640x480: tempbx = 12; break;
3287 case Panel_320x240_1: tempbx = 10; break;
3289 case Panel_320x240_3: tempbx = 14; break;
3290 case Panel_800x600: tempbx = 16; break;
3291 case Panel_1024x600: tempbx = 18; break;
3293 case Panel_1024x768: tempbx = 20; break;
3294 case Panel_1280x768: tempbx = 22; break;
3295 case Panel_1280x1024: tempbx = 24; break;
3296 case Panel_1400x1050: tempbx = 26; break;
3297 case Panel_1600x1200: tempbx = 28; break;
3299 case Panel_Barco1366: tempbx = 80; break;
3310 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx++;
3313 if(SiS_Pr->SiS_LCDInfo & LCDPass11) tempbx = 30;
3317 tempbx = 82;
3318 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx++;
3320 tempbx = 84;
3321 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx++;
3327 (*CRT2Index) = tempbx;
3336 unsigned short tempax=0, tempbx=0, index, dotclock;
3348 tempbx = SiS_Pr->SiS_StandTable[index].CRTC[6];
3361 tempbx = SiS_Pr->SiS_CRT1Table[index].CR[6];
3365 tempbx |= tempcx;
3372 if(temp1 & 0x01) tempbx |= 0x0100;
3373 if(temp1 & 0x20) tempbx |= 0x0200;
3379 tempbx++;
3382 SiS_Pr->SiS_VGAVT = SiS_Pr->SiS_VT = tempbx;
3528 unsigned short tempax, tempbx, modeflag, romptr=0;
3799 tempbx = SiS_Pr->PanelYRes;
3805 if (SiS_Pr->SiS_VGAVDE == 350) tempbx = 560;
3806 else if(SiS_Pr->SiS_VGAVDE == 400) tempbx = 640;
3809 if (SiS_Pr->SiS_VGAVDE == 357) tempbx = 527;
3810 else if(SiS_Pr->SiS_VGAVDE == 420) tempbx = 620;
3811 else if(SiS_Pr->SiS_VGAVDE == 525) tempbx = 775;
3812 else if(SiS_Pr->SiS_VGAVDE == 600) tempbx = 775;
3813 else if(SiS_Pr->SiS_VGAVDE == 350) tempbx = 560;
3814 else if(SiS_Pr->SiS_VGAVDE == 400) tempbx = 640;
3818 if (SiS_Pr->SiS_VGAVDE == 350) tempbx = 700;
3819 else if(SiS_Pr->SiS_VGAVDE == 400) tempbx = 800;
3820 else if(SiS_Pr->SiS_VGAVDE == 1024) tempbx = 960;
3823 if (SiS_Pr->SiS_VGAVDE == 360) tempbx = 768;
3824 else if(SiS_Pr->SiS_VGAVDE == 375) tempbx = 800;
3825 else if(SiS_Pr->SiS_VGAVDE == 405) tempbx = 864;
3829 if (SiS_Pr->SiS_VGAVDE == 350) tempbx = 875;
3830 else if(SiS_Pr->SiS_VGAVDE == 400) tempbx = 1000;
3837 tempbx = SiS_Pr->SiS_VGAVDE;
3841 SiS_Pr->SiS_VDE = tempbx;
5338 unsigned short tempbx, tempcl, CRT1ModeNo, CRT2ModeNo, SelectRate_backup;
5398 SiS_GetFIFOThresholdIndex300(SiS_Pr, &tempbx, &tempcl);
5399 data = SiS_GetFIFOThresholdB300(tempbx, tempcl);
5532 unsigned int tempax,tempbx;
5534 tempbx = (SiS_Pr->SiS_VGAVT - SiS_Pr->SiS_VGAVDE) * SiS_Pr->SiS_RVBHCMAX;
5536 tempax = (tempax * SiS_Pr->SiS_HT) / tempbx;
5675 unsigned short push2, tempax, tempbx, tempcx, temp;
5764 tempbx = SiS_Pr->SiS_HDE;
5767 tempbx = SiS_Pr->PanelXRes;
5772 tempbx >>= 1;
5776 tempax += tempbx;
5784 tempcx = (SiS_Pr->SiS_HT - tempbx) >> 2;
5848 tempbx = SiS_Pr->SiS_LCDVDES + tempax;
5849 if(tempbx >= SiS_Pr->SiS_VT) tempbx -= SiS_Pr->SiS_VT;
5851 push2 = tempbx;
5868 tempbx += tempcx;
5869 if(issis) tempbx++;
5871 tempbx += tempcx;
5872 if(SiS_Pr->ChipType < SIS_315H) tempbx++;
5873 else if(issis) tempbx++;
5876 if(tempbx >= SiS_Pr->SiS_VT) tempbx -= SiS_Pr->SiS_VT;
5878 temp = tempbx & 0x00FF;
5895 tempcx += tempbx;
5899 temp = ((tempbx >> 8) & 0x07) << 3;
5906 tempbx = 0x87;
5909 tempbx = 0x07;
5922 SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x1A,tempbx,temp);
5924 tempbx = push2; /* BPLVDEE */
5931 tempbx = SiS_Pr->SiS_VGAVDE - 1;
5957 temp = ((tempbx >> 8) & 0x07) << 3;
5960 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1C,tempbx);
6040 tempbx = (unsigned short)(tempeax & 0xFFFF);
6043 tempbx = tempvcfact & 0x3f;
6044 if(tempbx == 0) tempbx = 64;
6045 tempeax /= tempbx;
6046 tempbx = (unsigned short)(tempeax & 0xFFFF);
6048 if(SiS_Pr->SiS_LCDResInfo == Panel_1024x768) tempbx--;
6050 if((!SiS_Pr->SiS_IF_DEF_FSTN) && (!SiS_Pr->SiS_IF_DEF_DSTN)) tempbx = 1;
6051 else if(SiS_Pr->SiS_LCDResInfo != Panel_640x480) tempbx = 1;
6054 temp = ((tempbx >> 8) & 0x07) << 3;
6057 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x21,tempbx);
6233 unsigned short temp=0, tempax=0, tempbx=0, tempcx=0, bridgeadd=0;
6287 tempbx = pushbx + tempcx;
6289 tempcx += tempbx;
6317 tempbx = SiS_Pr->SiS_VGAHDE;
6318 tempcx -= tempbx;
6321 tempbx >>= 1;
6324 tempbx += 16;
6326 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0A,tempbx); /* CRT2 Horizontal Display Enable End */
6328 pushbx = tempbx;
6330 tempbx += tempcx;
6331 tempcx += tempbx;
6355 tempbx = SiS_Pr->CHSyncStart + bridgeadd;
6376 tempbx = ((cr4 | ((cr14 & 0xC0) << 2)) - 3) << 3; /* (VGAHRS-3)*8 */
6379 tempcx |= (tempbx & 0xFF00);
6380 tempbx += bridgeadd;
6389 tempbx = 1040;
6395 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0B,tempbx); /* CRT2 Horizontal Retrace Start */
6399 temp = ((tempbx >> 8) & 0x0F) | ((pushbx >> 4) & 0xF0);
6424 tempbx = SiS_Pr->SiS_VGAVDE - 1;
6425 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0F,tempbx); /* CRT2 Vertical Display Enable End */
6427 temp = ((tempbx >> 5) & 0x38) | ((tempcx >> 8) & 0x07);
6431 tempbx++;
6432 tempax = tempbx;
6436 tempbx += tempcx;
6439 tempcx += tempbx;
6442 tempbx = (SiS_Pr->SiS_VGAVT + SiS_Pr->SiS_VGAVDE) >> 1; /* BTVGA2VRS 0x10,0x11 */
6443 tempcx = ((SiS_Pr->SiS_VGAVT - SiS_Pr->SiS_VGAVDE) >> 4) + tempbx + 1; /* BTVGA2VRE 0x11 */
6448 tempbx = SiS_Pr->CVSyncStart;
6464 tempbx = cr8;
6465 if(cr7 & 0x04) tempbx |= 0x0100;
6466 if(cr7 & 0x80) tempbx |= 0x0200;
6467 if(cr13 & 0x08) tempbx |= 0x0400;
6470 SiS_SetReg(SiS_Pr->SiS_Part1Port,0x10,tempbx); /* CRT2 Vertical Retrace Start */
6472 temp = ((tempbx >> 4) & 0x70) | (tempcx & 0x0F);
6908 unsigned short i, j, tempax, tempbx, tempcx, tempch, tempcl, temp;
7069 tempbx = TimingPoint[j] | (TimingPoint[j+1] << 8);
7070 tempbx += tempcx;
7071 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x24,tempbx);
7072 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x25,0x0F,((tempbx >> 4) & 0xf0));
7074 tempbx += 8;
7076 tempbx -= 4;
7077 tempcx = tempbx;
7079 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x29,0x0F,((tempbx << 4) & 0xf0));
7102 tempbx = SiS_Pr->SiS_VDE;
7104 if(SiS_Pr->SiS_VGAVDE == 360) tempbx = 746;
7105 if(SiS_Pr->SiS_VGAVDE == 375) tempbx = 746;
7106 if(SiS_Pr->SiS_VGAVDE == 405) tempbx = 853;
7109 tempbx >>= 1;
7112 if((ModeNo <= 0x13) && (crt2crtc == 1)) tempbx++;
7115 if(crt2crtc == 4) tempbx++;
7121 if((ModeNo == 0x2f) || (ModeNo == 0x5d) || (ModeNo == 0x5e)) tempbx++;
7124 if(ModeNo == 0x03) tempbx++; /* From 1.10.7w - doesn't make sense */
7128 tempbx -= 2;
7129 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x2F,tempbx);
7132 temp |= ((tempbx >> 2) & 0xC0);
7140 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x10,0xdf,((tempbx & 0x0400) >> 5));
7144 tempbx = SiS_Pr->SiS_VDE;
7147 tempbx >>= 1;
7149 tempbx -= 3;
7150 temp = ((tempbx >> 3) & 0x60) | 0x18;
7152 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x47,tempbx);
7155 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x10,0xbf,((tempbx & 0x0400) >> 4));
7159 tempbx = 0;
7163 tempbx |= 0x20;
7174 tempbx &= ~0x20;
7182 if(!(tempbx & 0x20)) {
7188 tempbx |= ((tempax >> 8) & 0x1F);
7193 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x45,0xC0,tempbx);
7198 if(tempbx & 0x20) tempcx = 0;
7202 tempbx = 0x0382;
7205 tempbx = 0x0369;
7208 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x4B,tempbx);
7211 temp |= ((tempbx >> 8) & 0x03);
7250 tempbx = SiS_Pr->SiS_HDE;
7251 if(SiS_IsDualLink(SiS_Pr)) tempbx >>= 1;
7252 tempbx--; /* RHACTE = HDE - 1 */
7253 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x2C,tempbx);
7254 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x2B,0x0F,((tempbx >> 4) & 0xf0));
7269 tempbx = SiS_Pr->SiS_VDE - 1;
7270 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x03,tempbx);
7271 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x0C,0xF8,((tempbx >> 8) & 0x07));
7325 tempbx = SiS_Pr->SiS_VDE - 1;
7328 tempbx = SiS_Pr->SiS_VDE + ((SiS_Pr->PanelYRes - SiS_Pr->SiS_VDE) / 2);
7332 tempbx = SiS_Pr->PanelYRes;
7346 tempbx -= tempax; /* lcdvdee */
7349 /* Non-expanding: lcdvdes = tempcx = VT-1; lcdvdee = tempbx = VDE-1 */
7352 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x06,tempbx); /* lcdvdee */
7354 temp = (tempbx >> 5) & 0x38;
7369 tempbx = ((SiS_Pr->SiS_VT + SiS_Pr->SiS_VDE) >> 1) - 1;
7376 tempbx -= (tempax - 1);
7378 tempbx -= 10;
7379 if(tempbx <= SiS_Pr->SiS_VDE) tempbx = SiS_Pr->SiS_VDE + 1;
7384 tempbx++;
7387 tempbx = 770;
7396 tempbx = SiS_Pr->CVSyncStart;
7399 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x04,tempbx); /* lcdvrs */
7401 temp = (tempbx >> 4) & 0xF0;
7402 tempbx += (tempcx + 1);
7403 temp |= (tempbx & 0x0F);
7435 tempax = tempbx = SiS_Pr->SiS_HDE;
7439 tempbx = SiS_Pr->PanelXRes - ((SiS_Pr->PanelXRes - SiS_Pr->SiS_HDE) / 2);
7444 tempbx >>= 1;
7448 tempbx += bridgeoffset;
7450 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x23,tempbx); /* lcdhdee */
7451 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x25,0xF0,((tempbx >> 8) & 0x0f));
7455 tempbx += tempcx;
7456 push2 = tempbx;
7461 if(SiS_Pr->SiS_HDE == 1280) tempbx = (tempbx & 0xff00) | 0x47;
7467 tempbx = SiS_Pr->CHSyncStart;
7468 if(modeflag & HalfDCLK) tempbx <<= 1;
7469 if(SiS_IsDualLink(SiS_Pr)) tempbx >>= 1;
7470 tempbx += bridgeoffset;
7473 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x1C,tempbx); /* lcdhrs */
7474 SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1D,0x0F,((tempbx >> 4) & 0xf0));
7476 tempbx = push2;
7482 tempbx += tempcx;
7485 tempbx = SiS_Pr->CHSyncEnd;
7486 if(modeflag & HalfDCLK) tempbx <<= 1;
7487 if(SiS_IsDualLink(SiS_Pr)) tempbx >>= 1;
7488 tempbx += bridgeoffset;
7491 SiS_SetReg(SiS_Pr->SiS_Part2Port,0x21,tempbx); /* lcdhre */
7723 unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo;
7760 tempbx = SiS_Pr->SiS_RVBHCMAX;
7761 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x14,tempbx);
7763 temp = (tempbx >> 1) & 0x80;
7777 tempbx = SiS_Pr->SiS_VGAHDE;
7778 if(modeflag & HalfDCLK) tempbx >>= 1;
7779 if(SiS_IsDualLink(SiS_Pr)) tempbx >>= 1;
7783 if(tempbx > 800) temp = 0x60;
7786 if(tempbx > 1024) temp = 0xC0;
7787 else if(tempbx >= 960) temp = 0xA0;
7790 if(tempbx >= 1280) temp = 0x40;
7791 else if(tempbx >= 1024) temp = 0x20;
7794 if(tempbx >= 1024) temp = 0xA0;
7843 tempbx = 0;
7844 if(SiS_Pr->SiS_TVMode & (TVSetHiVision | TVSetYPbPr750p)) tempbx = 0x08;
7852 tempbx = 0x08;
7872 temp = ((tempax >> 4) & 0x30) | tempbx;
7876 temp = 0x0036; tempbx = 0xD0;
7878 temp = 0x0026; tempbx = 0xC0; /* See En/DisableBridge() */
7890 SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x1F,tempbx,temp);
7892 tempbx = SiS_Pr->SiS_HT >> 1;
7893 if(SiS_IsDualLink(SiS_Pr)) tempbx >>= 1;
7894 tempbx -= 2;
7895 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x22,tempbx);
7896 temp = (tempbx >> 5) & 0x38;
9202 SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempbx)
9217 SiS_Pr->SiS_DDC_ReadAddr = tempbx;
9235 SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempbx)
9243 SiS_Pr->SiS_DDC_ReadAddr = tempbx;
9252 SiS_GetCH70xx(struct SiS_Private *SiS_Pr, unsigned short tempbx)
9255 return SiS_GetCH700x(SiS_Pr, tempbx);
9257 return SiS_GetCH701x(SiS_Pr, tempbx);
10753 unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp;
10874 tempbx = 806; /* 0x326 */ /* other older BIOSes */
10875 tempbx--;
10876 temp = tempbx & 0xff;
10878 temp = (tempbx >> 8) & 0x03;
10924 tempbx = (tempbh << 8) | tempbl;
10928 tempbx = 770;
10930 if(tempbx > 770) tempbx = 770;
10935 tempbx -= tempax;
10940 temp = tempbx & 0xff;
10942 temp = ((tempbx & 0xff00) >> 4) | tempcl;
11002 unsigned short tempbx=0,romptr=0;
11014 tempbx = SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) & 0x0f;
11015 if(SiS_Pr->SiS_VBType & VB_SIS301) tempbx &= 0x07;
11016 tempbx -= 2;
11017 if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) tempbx += 4;
11019 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx += 3;
11023 tempbx = SiS_Pr->SiS_LCDTypeInfo;
11026 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
11027 else tempbx = customtable300[SiS_Pr->SiS_LCDTypeInfo];
11028 if(tempbx == 0xFF) return 0xFFFF;
11030 tempbx <<= 1;
11031 if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) tempbx++;
11040 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
11041 else tempbx = 0xff;
11043 tempbx = customtable630[SiS_Pr->SiS_LCDTypeInfo];
11045 if(tempbx == 0xFF) return 0xFFFF;
11046 tempbx <<= 2;
11047 if(SiS_Pr->SiS_VBInfo & SetInSlaveMode) tempbx += 2;
11048 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx++;
11049 return tempbx;
11051 tempbx = SiS_Pr->SiS_LCDTypeInfo << 2;
11052 if(SiS_Pr->SiS_VBInfo & SetInSlaveMode) tempbx += 2;
11053 if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) tempbx++;
11057 return tempbx;