Lines Matching defs:romptr
498 unsigned short romptr = 0;
509 romptr = SISGETROMW(0x102);
510 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize);
513 return romptr;
3528 unsigned short tempax, tempbx, modeflag, romptr=0;
3552 if((romptr = (SISGETROMW(21)))) {
3553 romptr += (resinfo661 * 10);
3720 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) {
3723 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr];
3724 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1];
3725 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8);
3726 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4);
3727 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8);
3728 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4);
3729 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8);
3732 tempax = (ROMAddr[romptr+9] >> 4) & 0x07;
3733 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax;
4129 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
4134 (romptr) &&
4136 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]);
4137 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]);
4138 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]);
4139 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]);
4140 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]);
4142 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) {
4770 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
4771 if(romptr) {
4774 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0];
4775 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1];
4776 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2];
4777 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40;
4778 /* emidelay = SISGETROMW((romptr + 0x22)); */
9772 unsigned short romptr;
9775 romptr = SISGETROMW(0x128);
9777 romptr = SISGETROMW(0x12a);
9779 romptr = SISGETROMW(0x1a8);
9781 romptr = SISGETROMW(0x1aa);
9783 return romptr;
9790 unsigned short romptr;
9793 romptr = SISGETROMW(0x120);
9795 romptr = SISGETROMW(0x122);
9797 romptr = SISGETROMW(0x1a0);
9799 romptr = SISGETROMW(0x1a2);
9801 return romptr;
9808 unsigned short romptr;
9811 romptr = SISGETROMW(0x114);
9813 romptr = SISGETROMW(0x11a);
9815 romptr = SISGETROMW(0x194);
9817 romptr = SISGETROMW(0x19a);
9819 return romptr;
9953 unsigned short delay=0,index,myindex,temp,romptr=0;
9967 romptr = GetRAMDACromptr(SiS_Pr);
9969 if(romptr) delay = ROMAddr[romptr];
10076 /* romptr = SISGETROMW(0x120); */
10078 romptr = SISGETROMW(0x122);
10079 if(!romptr) return;
10080 delay = ROMAddr[(romptr + index)];
10099 ((romptr = GetLCDromptr(SiS_Pr)))) {
10103 delay = ROMAddr[(romptr + index)];
10146 /* romptr = SISGETROMW(0x114); */
10148 romptr = SISGETROMW(0x11a);
10149 if(!romptr) return;
10150 delay = ROMAddr[romptr + index];
10183 romptr = GetTVromptr(SiS_Pr);
10184 if(!romptr) return;
10185 delay = ROMAddr[romptr + index];
10258 unsigned short index,temp,temp1,romptr=0;
10275 romptr = SISGETROMW(0x260);
10277 romptr = SISGETROMW(0x360);
10280 romptr = SISGETROMW(0x192);
10282 romptr = SISGETROMW(0x112);
10286 if(romptr) {
10288 temp = ROMAddr[romptr + temp1 + index];
10301 unsigned short index,temp,temp1,romptr=0;
10312 romptr = SISGETROMW(0x26c);
10314 romptr = SISGETROMW(0x36c);
10319 romptr = SISGETROMW(0x1a4);
10321 romptr = SISGETROMW(0x124);
10325 if(romptr) {
10327 temp = ROMAddr[romptr + temp1 + index];
10371 unsigned short index,temp,i,j,resinfo,romptr=0;
10402 romptr = SISGETROMW(0x116);
10404 romptr = SISGETROMW(0x196);
10407 romptr = SISGETROMW(0x11c);
10409 romptr = SISGETROMW(0x19c);
10412 romptr = SISGETROMW(0x116);
10414 romptr = SISGETROMW(0x196);
10419 if(romptr) {
10420 romptr += (temp << 2);
10422 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
10459 unsigned short delay = 0, romptr = 0, index, lcdpdcindex;
10484 romptr = SISGETROMW(0x104);
10485 delay = ROMAddr[romptr + index];
10512 if((romptr = SISGETROMW(0x35e))) {
10513 delay = (ROMAddr[romptr + index] & 0x0f) << 1;
10539 romptr = SISGETROMW(0x106);
10540 if(SiS_Pr->SiS_VBType & VB_UMC) romptr += 12;
10541 delay = ROMAddr[romptr + index];
10552 ((romptr = GetLCDStructPtr661_2(SiS_Pr))) ) {
10557 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */
10558 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */
10663 unsigned short romptr, temp1, temp2;
10677 if((romptr = GetLCDStructPtr661_2(SiS_Pr))) {
10679 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c;
10688 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1;
11002 unsigned short tempbx=0,romptr=0;
11025 romptr = SISGETROMW(0x255);
11026 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
11039 romptr = SISGETROMW(0x255);
11040 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
11064 unsigned short index,temp,romptr=0;
11071 romptr = SISGETROMW(0x24b);
11091 if(romptr) {
11092 romptr += (temp * 2);
11093 romptr = SISGETROMW(romptr);
11094 romptr += index;
11095 temp = ROMAddr[romptr];
11105 if(romptr) {
11106 romptr += (temp * 2);
11107 romptr = SISGETROMW(romptr);
11108 romptr += index;
11109 temp = ROMAddr[romptr];
11115 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8);
11116 if(romptr) {
11117 romptr += (temp * 2);
11118 romptr = SISGETROMW(romptr);
11119 romptr += index;
11120 temp = ROMAddr[romptr];
11187 unsigned short index,temp,romptr=0;
11192 romptr = SISGETROMW(0x241);
11199 if(romptr) {
11200 romptr += (temp * 2);
11201 romptr = SISGETROMW(romptr);
11202 romptr += index;
11203 temp = ROMAddr[romptr];
11219 unsigned short index,temp,romptr=0;
11224 romptr = SISGETROMW(0x243);
11231 if(romptr) {
11232 romptr += (temp * 2);
11233 romptr = SISGETROMW(romptr);
11234 romptr += index;
11235 temp = ROMAddr[romptr];
11247 unsigned short index,i,j,temp,romptr=0;
11256 romptr = SISGETROMW(0x245);
11268 if(romptr) {
11269 romptr += (temp * 2);
11270 romptr = SISGETROMW(romptr);
11271 romptr += (index * 4);
11273 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
11287 unsigned short index,temp,i,j,romptr=0;
11294 romptr = SISGETROMW(0x247);
11313 if((romptr) && (!(SiS_Pr->SiS_TVMode & (TVSetPALM|TVSetPALN)))) {
11314 romptr += (temp * 2);
11315 romptr = SISGETROMW(romptr);
11316 romptr += (index * 4);
11318 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);