ROMAddr 1252 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 1262 drivers/video/fbdev/sis/init.c if((ROMAddr[0x1a] == 'N') && ROMAddr 1263 drivers/video/fbdev/sis/init.c (ROMAddr[0x1b] == 'e') && ROMAddr 1264 drivers/video/fbdev/sis/init.c (ROMAddr[0x1c] == 'w') && ROMAddr 1265 drivers/video/fbdev/sis/init.c (ROMAddr[0x1d] == 'V')) { ROMAddr 1268 drivers/video/fbdev/sis/init.c romversoffs = ROMAddr[0x16] | (ROMAddr[0x17] << 8); ROMAddr 1270 drivers/video/fbdev/sis/init.c if((ROMAddr[romversoffs+1] == '.') || (ROMAddr[romversoffs+4] == '.')) { ROMAddr 1271 drivers/video/fbdev/sis/init.c romvmaj = ROMAddr[romversoffs] - '0'; ROMAddr 1272 drivers/video/fbdev/sis/init.c romvmin = ((ROMAddr[romversoffs+2] -'0') * 10) + (ROMAddr[romversoffs+3] - '0'); ROMAddr 1279 drivers/video/fbdev/sis/init.c if((ROMAddr[0x1a] == 'N') && ROMAddr 1280 drivers/video/fbdev/sis/init.c (ROMAddr[0x1b] == 'e') && ROMAddr 1281 drivers/video/fbdev/sis/init.c (ROMAddr[0x1c] == 'w') && ROMAddr 1282 drivers/video/fbdev/sis/init.c (ROMAddr[0x1d] == 'V')) { ROMAddr 1292 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 1301 drivers/video/fbdev/sis/init.c if((ROMAddr) && (SiS_Pr->UseROM)) { ROMAddr 1307 drivers/video/fbdev/sis/init.c if((ROMAddr[3] == 0xe9) && ((ROMAddr[5] << 8) | ROMAddr[4]) > 0x21a) ROMAddr 1323 drivers/video/fbdev/sis/init.c if(ROMAddr[romptr + (32 * 16)] == 0xff) ROMAddr 1325 drivers/video/fbdev/sis/init.c else if(ROMAddr[romptr + (34 * 16)] == 0xff) ROMAddr 1327 drivers/video/fbdev/sis/init.c else if(ROMAddr[romptr + (36 * 16)] == 0xff) /* 0.94, 2.05.00+ */ ROMAddr 1329 drivers/video/fbdev/sis/init.c else if( (ROMAddr[romptr + (38 * 16)] == 0xff) || /* 2.00.00 - 2.02.00 */ ROMAddr 1330 drivers/video/fbdev/sis/init.c (ROMAddr[0x6F] & 0x01) ) { /* 2.03.00 - <2.05.00 */ ROMAddr 1545 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 2654 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 2742 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ROMNew) data = ROMAddr[0xf6]; ROMAddr 2743 drivers/video/fbdev/sis/init.c else if(SiS_Pr->SiS_UseROM) data = ROMAddr[0x100 + data]; ROMAddr 3060 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 3064 drivers/video/fbdev/sis/init.c SiS_Pr->Init_P4_0E = ROMAddr[0x82]; ROMAddr 3067 drivers/video/fbdev/sis/init.c SiS_Pr->Init_P4_0E = ROMAddr[0x80]; ROMAddr 3076 drivers/video/fbdev/sis/init.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 3082 drivers/video/fbdev/sis/init.c temp = ROMAddr[VB310Data_1_2_Offset] | 0x40; ROMAddr 3083 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; ROMAddr 3086 drivers/video/fbdev/sis/init.c temp = ROMAddr[0x7e] | 0x40; ROMAddr 3087 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; ROMAddr 3092 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_XGIROM) temp |= ROMAddr[0x7e]; ROMAddr 463 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 488 drivers/video/fbdev/sis/init301.c myptr = &ROMAddr[romindex]; ROMAddr 497 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 729 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 733 drivers/video/fbdev/sis/init301.c if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { ROMAddr 745 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 749 drivers/video/fbdev/sis/init301.c if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { ROMAddr 802 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 826 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x220] & 0x40) { ROMAddr 827 drivers/video/fbdev/sis/init301.c if(!(DelayTime & 0x01)) Delay = (unsigned short)ROMAddr[0x225]; ROMAddr 828 drivers/video/fbdev/sis/init301.c else Delay = (unsigned short)ROMAddr[0x226]; ROMAddr 873 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x13c] & 0x40) { ROMAddr 875 drivers/video/fbdev/sis/init301.c Delay = (unsigned short)ROMAddr[0x17e]; ROMAddr 877 drivers/video/fbdev/sis/init301.c Delay = (unsigned short)ROMAddr[0x17f]; ROMAddr 1531 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 1563 drivers/video/fbdev/sis/init301.c OutputSelect = ROMAddr[romindex]; ROMAddr 1745 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr; ROMAddr 1748 drivers/video/fbdev/sis/init301.c if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { ROMAddr 1763 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].CLOCK = (unsigned short)((unsigned char)ROMAddr[18]); ROMAddr 1765 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_A = ROMAddr[19]; ROMAddr 1767 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_B = ROMAddr[20]; ROMAddr 1795 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 2363 drivers/video/fbdev/sis/init301.c if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { ROMAddr 2364 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x235] & 0x02)) { ROMAddr 2694 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 2927 drivers/video/fbdev/sis/init301.c ((SiS_Pr->SiS_ROMNew) && (!(ROMAddr[0x5b] & 0x04)))) { ROMAddr 3527 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = NULL; ROMAddr 3551 drivers/video/fbdev/sis/init301.c if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { ROMAddr 3554 drivers/video/fbdev/sis/init301.c ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 3720 drivers/video/fbdev/sis/init301.c } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) { ROMAddr 3723 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr]; ROMAddr 3724 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1]; ROMAddr 3725 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8); ROMAddr 3726 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4); ROMAddr 3727 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8); ROMAddr 3728 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4); ROMAddr 3729 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8); ROMAddr 3732 drivers/video/fbdev/sis/init301.c tempax = (ROMAddr[romptr+9] >> 4) & 0x07; ROMAddr 3733 drivers/video/fbdev/sis/init301.c if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax; ROMAddr 4128 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 4136 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]); ROMAddr 4137 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]); ROMAddr 4138 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]); ROMAddr 4139 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]); ROMAddr 4140 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]); ROMAddr 4142 drivers/video/fbdev/sis/init301.c if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) { ROMAddr 4769 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 4774 drivers/video/fbdev/sis/init301.c SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0]; ROMAddr 4775 drivers/video/fbdev/sis/init301.c SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1]; ROMAddr 4776 drivers/video/fbdev/sis/init301.c SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2]; ROMAddr 4777 drivers/video/fbdev/sis/init301.c if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40; ROMAddr 5335 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 5451 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x220] & 0x01) { ROMAddr 5452 drivers/video/fbdev/sis/init301.c VCLK = ROMAddr[0x229] | (ROMAddr[0x22a] << 8); ROMAddr 6088 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 6096 drivers/video/fbdev/sis/init301.c trumpdata = &ROMAddr[0x8001 + (j * 80)]; ROMAddr 6231 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 6499 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x220] & 0x80) { ROMAddr 6501 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x221]; ROMAddr 6503 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x222]; ROMAddr 6505 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x223]; ROMAddr 6507 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x224]; ROMAddr 6520 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x220] & 0x80) { ROMAddr 6521 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x220]; ROMAddr 6558 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x13c] & 0x80) tempbl = 0xf0; ROMAddr 7594 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 7602 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x61] & 0x04)) return; ROMAddr 8095 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 8117 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x220] & 0x01) { ROMAddr 8118 drivers/video/fbdev/sis/init301.c sr2b = ROMAddr[0x227]; ROMAddr 8119 drivers/video/fbdev/sis/init301.c sr2c = ROMAddr[0x228]; ROMAddr 8834 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 8942 drivers/video/fbdev/sis/init301.c if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { ROMAddr 9771 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 9789 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 9807 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 9952 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 9969 drivers/video/fbdev/sis/init301.c if(romptr) delay = ROMAddr[romptr]; ROMAddr 10080 drivers/video/fbdev/sis/init301.c delay = ROMAddr[(romptr + index)]; ROMAddr 10103 drivers/video/fbdev/sis/init301.c delay = ROMAddr[(romptr + index)]; ROMAddr 10150 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; ROMAddr 10185 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; ROMAddr 10257 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 10288 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; ROMAddr 10300 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 10327 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; ROMAddr 10370 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 10422 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); ROMAddr 10460 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 10481 drivers/video/fbdev/sis/init301.c if((ROMAddr[0x5b] & 0x80) || (SiS_Pr->SiS_VBInfo & (SetCRT2ToRAMDAC | SetCRT2ToLCD))) { ROMAddr 10485 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; ROMAddr 10513 drivers/video/fbdev/sis/init301.c delay = (ROMAddr[romptr + index] & 0x0f) << 1; ROMAddr 10541 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; ROMAddr 10557 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */ ROMAddr 10558 drivers/video/fbdev/sis/init301.c delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */ ROMAddr 10662 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 10679 drivers/video/fbdev/sis/init301.c temp1 = (ROMAddr[romptr] & 0x03) | 0x0c; ROMAddr 10688 drivers/video/fbdev/sis/init301.c temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1; ROMAddr 11001 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11022 drivers/video/fbdev/sis/init301.c if(ROMAddr[0x235] & 0x80) { ROMAddr 11026 drivers/video/fbdev/sis/init301.c if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; ROMAddr 11040 drivers/video/fbdev/sis/init301.c if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; ROMAddr 11063 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11069 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x237] & 0x01)) return; ROMAddr 11070 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x237] & 0x02)) return; ROMAddr 11095 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; ROMAddr 11104 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_UseROM && (ROMAddr[0x235] & 0x80)) { ROMAddr 11109 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; ROMAddr 11115 drivers/video/fbdev/sis/init301.c romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8); ROMAddr 11120 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; ROMAddr 11137 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11141 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x237] & 0x01)) return; ROMAddr 11142 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x237] & 0x04)) return; ROMAddr 11186 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11190 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x01)) return; ROMAddr 11191 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x02)) return; ROMAddr 11203 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; ROMAddr 11218 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11222 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x01)) return; ROMAddr 11223 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x04)) return; ROMAddr 11235 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; ROMAddr 11246 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11254 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x01)) return; ROMAddr 11255 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x08)) return; ROMAddr 11273 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); ROMAddr 11286 drivers/video/fbdev/sis/init301.c unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; ROMAddr 11292 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x01)) return; ROMAddr 11293 drivers/video/fbdev/sis/init301.c if(!(ROMAddr[0x238] & 0x10)) return; ROMAddr 11318 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); ROMAddr 74 drivers/video/fbdev/sis/initdef.h #define SISGETROMW(x) (ROMAddr[(x)] | (ROMAddr[(x)+1] << 8))