Lines Matching refs:romptr

498    unsigned short romptr = 0;  in GetLCDStructPtr661_2()  local
509 romptr = SISGETROMW(0x102); in GetLCDStructPtr661_2()
510 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize); in GetLCDStructPtr661_2()
513 return romptr; in GetLCDStructPtr661_2()
3530 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local
3554 if((romptr = (SISGETROMW(21)))) { in SiS_GetCRT2Data301()
3555 romptr += (resinfo661 * 10); in SiS_GetCRT2Data301()
3722 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) { in SiS_GetCRT2Data301()
3725 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr]; in SiS_GetCRT2Data301()
3726 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1]; in SiS_GetCRT2Data301()
3727 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8); in SiS_GetCRT2Data301()
3728 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3729 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8); in SiS_GetCRT2Data301()
3730 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3731 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8); in SiS_GetCRT2Data301()
3734 tempax = (ROMAddr[romptr+9] >> 4) & 0x07; in SiS_GetCRT2Data301()
3735 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax; in SiS_GetCRT2Data301()
4131 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr); in SiS_HandlePWD() local
4136 (romptr) && in SiS_HandlePWD()
4138 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]); in SiS_HandlePWD()
4139 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]); in SiS_HandlePWD()
4140 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]); in SiS_HandlePWD()
4141 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]); in SiS_HandlePWD()
4142 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]); in SiS_HandlePWD()
4144 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) { in SiS_HandlePWD()
4772 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr); in SiS_EnableBridge() local
4773 if(romptr) { in SiS_EnableBridge()
4776 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0]; in SiS_EnableBridge()
4777 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1]; in SiS_EnableBridge()
4778 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2]; in SiS_EnableBridge()
4779 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40; in SiS_EnableBridge()
9774 unsigned short romptr; in GetRAMDACromptr() local
9777 romptr = SISGETROMW(0x128); in GetRAMDACromptr()
9779 romptr = SISGETROMW(0x12a); in GetRAMDACromptr()
9781 romptr = SISGETROMW(0x1a8); in GetRAMDACromptr()
9783 romptr = SISGETROMW(0x1aa); in GetRAMDACromptr()
9785 return romptr; in GetRAMDACromptr()
9792 unsigned short romptr; in GetLCDromptr() local
9795 romptr = SISGETROMW(0x120); in GetLCDromptr()
9797 romptr = SISGETROMW(0x122); in GetLCDromptr()
9799 romptr = SISGETROMW(0x1a0); in GetLCDromptr()
9801 romptr = SISGETROMW(0x1a2); in GetLCDromptr()
9803 return romptr; in GetLCDromptr()
9810 unsigned short romptr; in GetTVromptr() local
9813 romptr = SISGETROMW(0x114); in GetTVromptr()
9815 romptr = SISGETROMW(0x11a); in GetTVromptr()
9817 romptr = SISGETROMW(0x194); in GetTVromptr()
9819 romptr = SISGETROMW(0x19a); in GetTVromptr()
9821 return romptr; in GetTVromptr()
9955 unsigned short delay=0,index,myindex,temp,romptr=0; in SetDelayComp() local
9969 romptr = GetRAMDACromptr(SiS_Pr); in SetDelayComp()
9971 if(romptr) delay = ROMAddr[romptr]; in SetDelayComp()
10080 romptr = SISGETROMW(0x122); in SetDelayComp()
10081 if(!romptr) return; in SetDelayComp()
10082 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
10101 ((romptr = GetLCDromptr(SiS_Pr)))) { in SetDelayComp()
10105 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
10150 romptr = SISGETROMW(0x11a); in SetDelayComp()
10151 if(!romptr) return; in SetDelayComp()
10152 delay = ROMAddr[romptr + index]; in SetDelayComp()
10185 romptr = GetTVromptr(SiS_Pr); in SetDelayComp()
10186 if(!romptr) return; in SetDelayComp()
10187 delay = ROMAddr[romptr + index]; in SetDelayComp()
10260 unsigned short index,temp,temp1,romptr=0; in SetAntiFlicker() local
10277 romptr = SISGETROMW(0x260); in SetAntiFlicker()
10279 romptr = SISGETROMW(0x360); in SetAntiFlicker()
10282 romptr = SISGETROMW(0x192); in SetAntiFlicker()
10284 romptr = SISGETROMW(0x112); in SetAntiFlicker()
10288 if(romptr) { in SetAntiFlicker()
10290 temp = ROMAddr[romptr + temp1 + index]; in SetAntiFlicker()
10303 unsigned short index,temp,temp1,romptr=0; in SetEdgeEnhance() local
10314 romptr = SISGETROMW(0x26c); in SetEdgeEnhance()
10316 romptr = SISGETROMW(0x36c); in SetEdgeEnhance()
10321 romptr = SISGETROMW(0x1a4); in SetEdgeEnhance()
10323 romptr = SISGETROMW(0x124); in SetEdgeEnhance()
10327 if(romptr) { in SetEdgeEnhance()
10329 temp = ROMAddr[romptr + temp1 + index]; in SetEdgeEnhance()
10373 unsigned short index,temp,i,j,resinfo,romptr=0; in SetPhaseIncr() local
10404 romptr = SISGETROMW(0x116); in SetPhaseIncr()
10406 romptr = SISGETROMW(0x196); in SetPhaseIncr()
10409 romptr = SISGETROMW(0x11c); in SetPhaseIncr()
10411 romptr = SISGETROMW(0x19c); in SetPhaseIncr()
10414 romptr = SISGETROMW(0x116); in SetPhaseIncr()
10416 romptr = SISGETROMW(0x196); in SetPhaseIncr()
10421 if(romptr) { in SetPhaseIncr()
10422 romptr += (temp << 2); in SetPhaseIncr()
10424 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetPhaseIncr()
10461 unsigned short delay = 0, romptr = 0, index, lcdpdcindex; in SetDelayComp661() local
10486 romptr = SISGETROMW(0x104); in SetDelayComp661()
10487 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10514 if((romptr = SISGETROMW(0x35e))) { in SetDelayComp661()
10515 delay = (ROMAddr[romptr + index] & 0x0f) << 1; in SetDelayComp661()
10541 romptr = SISGETROMW(0x106); in SetDelayComp661()
10542 if(SiS_Pr->SiS_VBType & VB_UMC) romptr += 12; in SetDelayComp661()
10543 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10554 ((romptr = GetLCDStructPtr661_2(SiS_Pr))) ) { in SetDelayComp661()
10559 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */ in SetDelayComp661()
10560 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */ in SetDelayComp661()
10665 unsigned short romptr, temp1, temp2; in SetPanelParms661() local
10679 if((romptr = GetLCDStructPtr661_2(SiS_Pr))) { in SetPanelParms661()
10681 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c; in SetPanelParms661()
10690 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1; in SetPanelParms661()
11004 unsigned short tempbx=0,romptr=0; in GetOEMLCDPtr() local
11027 romptr = SISGETROMW(0x255); in GetOEMLCDPtr()
11028 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
11041 romptr = SISGETROMW(0x255); in GetOEMLCDPtr()
11042 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
11066 unsigned short index,temp,romptr=0; in SetOEMLCDDelay() local
11073 romptr = SISGETROMW(0x24b); in SetOEMLCDDelay()
11093 if(romptr) { in SetOEMLCDDelay()
11094 romptr += (temp * 2); in SetOEMLCDDelay()
11095 romptr = SISGETROMW(romptr); in SetOEMLCDDelay()
11096 romptr += index; in SetOEMLCDDelay()
11097 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11107 if(romptr) { in SetOEMLCDDelay()
11108 romptr += (temp * 2); in SetOEMLCDDelay()
11109 romptr = SISGETROMW(romptr); in SetOEMLCDDelay()
11110 romptr += index; in SetOEMLCDDelay()
11111 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11117 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8); in SetOEMLCDDelay()
11118 if(romptr) { in SetOEMLCDDelay()
11119 romptr += (temp * 2); in SetOEMLCDDelay()
11120 romptr = SISGETROMW(romptr); in SetOEMLCDDelay()
11121 romptr += index; in SetOEMLCDDelay()
11122 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11189 unsigned short index,temp,romptr=0; in SetOEMTVDelay() local
11194 romptr = SISGETROMW(0x241); in SetOEMTVDelay()
11201 if(romptr) { in SetOEMTVDelay()
11202 romptr += (temp * 2); in SetOEMTVDelay()
11203 romptr = SISGETROMW(romptr); in SetOEMTVDelay()
11204 romptr += index; in SetOEMTVDelay()
11205 temp = ROMAddr[romptr]; in SetOEMTVDelay()
11221 unsigned short index,temp,romptr=0; in SetOEMAntiFlicker() local
11226 romptr = SISGETROMW(0x243); in SetOEMAntiFlicker()
11233 if(romptr) { in SetOEMAntiFlicker()
11234 romptr += (temp * 2); in SetOEMAntiFlicker()
11235 romptr = SISGETROMW(romptr); in SetOEMAntiFlicker()
11236 romptr += index; in SetOEMAntiFlicker()
11237 temp = ROMAddr[romptr]; in SetOEMAntiFlicker()
11249 unsigned short index,i,j,temp,romptr=0; in SetOEMPhaseIncr() local
11258 romptr = SISGETROMW(0x245); in SetOEMPhaseIncr()
11270 if(romptr) { in SetOEMPhaseIncr()
11271 romptr += (temp * 2); in SetOEMPhaseIncr()
11272 romptr = SISGETROMW(romptr); in SetOEMPhaseIncr()
11273 romptr += (index * 4); in SetOEMPhaseIncr()
11275 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMPhaseIncr()
11289 unsigned short index,temp,i,j,romptr=0; in SetOEMYFilter() local
11296 romptr = SISGETROMW(0x247); in SetOEMYFilter()
11315 if((romptr) && (!(SiS_Pr->SiS_TVMode & (TVSetPALM|TVSetPALN)))) { in SetOEMYFilter()
11316 romptr += (temp * 2); in SetOEMYFilter()
11317 romptr = SISGETROMW(romptr); in SetOEMYFilter()
11318 romptr += (index * 4); in SetOEMYFilter()
11320 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMYFilter()