Lines Matching defs:romptr

180    unsigned short romptr = 0;
192 romptr = SISGETROMW(0x102);
193 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize);
196 return romptr;
3319 unsigned short tempax, tempbx, modeflag, romptr=0;
3343 if((romptr = (SISGETROMW(21)))) {
3344 romptr += (resinfo661 * 10);
3519 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) {
3522 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr];
3523 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1];
3524 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8);
3525 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4);
3526 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8);
3527 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4);
3528 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8);
3531 tempax = (ROMAddr[romptr+9] >> 4) & 0x07;
3532 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax;
3934 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
3939 (romptr) &&
3941 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]);
3942 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]);
3943 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]);
3944 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]);
3945 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]);
3947 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) {
4582 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
4583 if(romptr) {
4586 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0];
4587 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1];
4588 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2];
4589 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40;
4590 /* emidelay = SISGETROMW((romptr + 0x22)); */
9683 unsigned short romptr;
9686 romptr = SISGETROMW(0x128);
9688 romptr = SISGETROMW(0x12a);
9690 romptr = SISGETROMW(0x1a8);
9692 romptr = SISGETROMW(0x1aa);
9694 return romptr;
9701 unsigned short romptr;
9704 romptr = SISGETROMW(0x120);
9706 romptr = SISGETROMW(0x122);
9708 romptr = SISGETROMW(0x1a0);
9710 romptr = SISGETROMW(0x1a2);
9712 return romptr;
9719 unsigned short romptr;
9722 romptr = SISGETROMW(0x114);
9724 romptr = SISGETROMW(0x11a);
9726 romptr = SISGETROMW(0x194);
9728 romptr = SISGETROMW(0x19a);
9730 return romptr;
9865 unsigned short delay=0,index,myindex,temp,romptr=0;
9879 romptr = GetRAMDACromptr(SiS_Pr);
9881 if(romptr) delay = ROMAddr[romptr];
9990 /* romptr = SISGETROMW(0x120); */
9992 romptr = SISGETROMW(0x122);
9993 if(!romptr) return;
9994 delay = ROMAddr[(romptr + index)];
10013 ((romptr = GetLCDromptr(SiS_Pr)))) {
10017 delay = ROMAddr[(romptr + index)];
10060 /* romptr = SISGETROMW(0x114); */
10062 romptr = SISGETROMW(0x11a);
10063 if(!romptr) return;
10064 delay = ROMAddr[romptr + index];
10097 romptr = GetTVromptr(SiS_Pr);
10098 if(!romptr) return;
10099 delay = ROMAddr[romptr + index];
10172 unsigned short index,temp,temp1,romptr=0;
10190 romptr = SISGETROMW(0x260);
10192 romptr = SISGETROMW(0x360);
10196 romptr = SISGETROMW(0x192);
10198 romptr = SISGETROMW(0x112);
10202 if(romptr) {
10204 temp = ROMAddr[romptr + temp1 + index];
10217 unsigned short index,temp,temp1,romptr=0;
10231 romptr = SISGETROMW(0x26c);
10233 romptr = SISGETROMW(0x36c);
10237 romptr = SISGETROMW(0x1a4);
10239 romptr = SISGETROMW(0x124);
10243 if(romptr) {
10245 temp = ROMAddr[romptr + temp1 + index];
10289 unsigned short index,temp,i,j,resinfo,romptr=0;
10320 romptr = SISGETROMW(0x116);
10322 romptr = SISGETROMW(0x196);
10325 romptr = SISGETROMW(0x11c);
10327 romptr = SISGETROMW(0x19c);
10330 romptr = SISGETROMW(0x116);
10332 romptr = SISGETROMW(0x196);
10337 if(romptr) {
10338 romptr += (temp << 2);
10340 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
10377 unsigned short delay = 0, romptr = 0, index, lcdpdcindex;
10402 romptr = SISGETROMW(0x104);
10403 delay = ROMAddr[romptr + index];
10430 if((romptr = SISGETROMW(0x35e))) {
10431 delay = (ROMAddr[romptr + index] & 0x0f) << 1;
10457 romptr = SISGETROMW(0x106);
10458 if(SiS_Pr->SiS_VBType & VB_UMC) romptr += 12;
10459 delay = ROMAddr[romptr + index];
10470 ((romptr = GetLCDStructPtr661_2(SiS_Pr))) ) {
10475 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */
10476 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */
10581 unsigned short romptr, temp1, temp2;
10595 if((romptr = GetLCDStructPtr661_2(SiS_Pr))) {
10597 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c;
10606 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1;
10920 unsigned short tempbx=0,romptr=0;
10943 romptr = SISGETROMW(0x255);
10944 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
10957 romptr = SISGETROMW(0x255);
10958 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
10982 unsigned short index,temp,romptr=0;
10989 romptr = SISGETROMW(0x24b);
11009 if(romptr) {
11010 romptr += (temp * 2);
11011 romptr = SISGETROMW(romptr);
11012 romptr += index;
11013 temp = ROMAddr[romptr];
11023 if(romptr) {
11024 romptr += (temp * 2);
11025 romptr = SISGETROMW(romptr);
11026 romptr += index;
11027 temp = ROMAddr[romptr];
11033 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8);
11034 if(romptr) {
11035 romptr += (temp * 2);
11036 romptr = SISGETROMW(romptr);
11037 romptr += index;
11038 temp = ROMAddr[romptr];
11105 unsigned short index,temp,romptr=0;
11110 romptr = SISGETROMW(0x241);
11117 if(romptr) {
11118 romptr += (temp * 2);
11119 romptr = SISGETROMW(romptr) + index;
11120 temp = ROMAddr[romptr];
11136 unsigned short index,temp,romptr=0;
11141 romptr = SISGETROMW(0x243);
11148 if(romptr) {
11149 romptr += (temp * 2);
11150 romptr = SISGETROMW(romptr);
11151 romptr += index;
11152 temp = ROMAddr[romptr];
11164 unsigned short index,i,j,temp,romptr=0;
11173 romptr = SISGETROMW(0x245);
11185 if(romptr) {
11186 romptr += (temp * 2);
11187 romptr = SISGETROMW(romptr);
11188 romptr += (index * 4);
11190 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
11204 unsigned short index,temp,i,j,romptr=0;
11211 romptr = SISGETROMW(0x247);
11230 if((romptr) && (!(SiS_Pr->SiS_TVMode & (TVSetPALM|TVSetPALN)))) {
11231 romptr += (temp * 2);
11232 romptr = SISGETROMW(romptr);
11233 romptr += (index * 4);
11235 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);