Lines Matching defs:ResIndex

2944 	       unsigned short *ResIndex)
3054 *ResIndex = tempal;
3119 (*ResIndex) = tempal & 0x1F;
3180 unsigned short ResIndex;
3185 ResIndex = SiS_Pr->CHTotal;
3186 if(SiS_Pr->CModeFlag & HalfDCLK) ResIndex <<= 1;
3187 SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_HT = ResIndex;
3191 ResIndex = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC;
3193 ResIndex = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC_NS;
3195 if(ResIndex == 0x09) {
3196 if(SiS_Pr->Alternate1600x1200) ResIndex = 0x20; /* 1600x1200 LCDA */
3197 else if(SiS_Pr->SiS_IF_DEF_LVDS == 1) ResIndex = 0x21; /* 1600x1200 LVDS */
3199 SiS_Pr->SiS_VGAHT = SiS_Pr->SiS_NoScaleData[ResIndex].VGAHT;
3200 SiS_Pr->SiS_VGAVT = SiS_Pr->SiS_NoScaleData[ResIndex].VGAVT;
3201 SiS_Pr->SiS_HT = SiS_Pr->SiS_NoScaleData[ResIndex].LCDHT;
3202 SiS_Pr->SiS_VT = SiS_Pr->SiS_NoScaleData[ResIndex].LCDVT;
3223 unsigned short CRT2Index, ResIndex, backup;
3256 &CRT2Index, &ResIndex);
3286 SiS_Pr->SiS_VGAHT = (LVDSData+ResIndex)->VGAHT;
3287 SiS_Pr->SiS_VGAVT = (LVDSData+ResIndex)->VGAVT;
3288 SiS_Pr->SiS_HT = (LVDSData+ResIndex)->LCDHT;
3289 SiS_Pr->SiS_VT = (LVDSData+ResIndex)->LCDVT;
3303 if(ResIndex < 0x08) {
3320 unsigned short resinfo, CRT2Index, ResIndex;
3385 &CRT2Index,&ResIndex);
3408 SiS_Pr->SiS_RVBHCMAX = (TVPtr+ResIndex)->RVBHCMAX;
3409 SiS_Pr->SiS_RVBHCFACT = (TVPtr+ResIndex)->RVBHCFACT;
3410 SiS_Pr->SiS_VGAHT = (TVPtr+ResIndex)->VGAHT;
3411 SiS_Pr->SiS_VGAVT = (TVPtr+ResIndex)->VGAVT;
3412 SiS_Pr->SiS_HDE = (TVPtr+ResIndex)->TVHDE;
3413 SiS_Pr->SiS_VDE = (TVPtr+ResIndex)->TVVDE;
3414 SiS_Pr->SiS_RVBHRS2 = (TVPtr+ResIndex)->RVBHRS2 & 0x0fff;
3416 SiS_Pr->SiS_RVBHRS = (TVPtr+ResIndex)->HALFRVBHRS;
3419 tempax = ((TVPtr+ResIndex)->RVBHRS2 >> 12) & 0x07;
3420 if((TVPtr+ResIndex)->RVBHRS2 & 0x8000) SiS_Pr->SiS_RVBHRS2 -= tempax;
3424 SiS_Pr->SiS_RVBHRS = (TVPtr+ResIndex)->RVBHRS;
3426 SiS_Pr->SiS_NewFlickerMode = ((TVPtr+ResIndex)->FlickerMode) << 7;
3469 SiS_Pr->SiS_RY1COE = (TVPtr+ResIndex)->RY1COE;
3470 SiS_Pr->SiS_RY2COE = (TVPtr+ResIndex)->RY2COE;
3471 SiS_Pr->SiS_RY3COE = (TVPtr+ResIndex)->RY3COE;
3472 SiS_Pr->SiS_RY4COE = (TVPtr+ResIndex)->RY4COE;
3555 &CRT2Index,&ResIndex);
3590 xf86DrvMsg(0, X_INFO, "GetCRT2Data: Index %d ResIndex %d\n", CRT2Index, ResIndex);
3594 SiS_Pr->SiS_RVBHCMAX = (LCDPtr+ResIndex)->RVBHCMAX;
3595 SiS_Pr->SiS_RVBHCFACT = (LCDPtr+ResIndex)->RVBHCFACT;
3596 SiS_Pr->SiS_VGAHT = (LCDPtr+ResIndex)->VGAHT;
3597 SiS_Pr->SiS_VGAVT = (LCDPtr+ResIndex)->VGAVT;
3598 SiS_Pr->SiS_HT = (LCDPtr+ResIndex)->LCDHT;
3599 SiS_Pr->SiS_VT = (LCDPtr+ResIndex)->LCDVT;
3712 unsigned short modeflag, ResIndex;
3752 if(ModeNo <= 0x13) ResIndex = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC;
3753 else ResIndex = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;
3797 if(ResIndex <= 3) SiS_Pr->SiS_LCDHDES = 256;
3802 SiS_Pr->SiS_LCDHDES = (PanelDesPtr+ResIndex)->LCDHDES;
3803 SiS_Pr->SiS_LCDVDES = (PanelDesPtr+ResIndex)->LCDVDES;
6456 unsigned short *ResIndex)
6462 (*ResIndex) = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC;
6464 (*ResIndex) = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;
6466 (*ResIndex) &= 0x3f;
7783 unsigned short RefreshRateTableIndex, unsigned short *ResIndex,
7793 (*ResIndex) = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_CRT2CRTC;
7796 (*ResIndex) = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;
7799 (*ResIndex) &= 0x3F;
7849 unsigned short tempah, i, modeflag, j, ResIndex, DisplayType;
7877 &ResIndex, &DisplayType))) {
7907 tempah = (LVDSCRT1Ptr + ResIndex)->CR[i];
7912 tempah = (LVDSCRT1Ptr + ResIndex)->CR[j];
7916 tempah = (LVDSCRT1Ptr + ResIndex)->CR[14] & 0xE0;
7922 tempah = ((LVDSCRT1Ptr + ResIndex)->CR[14] & 0x01) << 5;