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