Lines Matching refs:ROMAddr

1252    unsigned char  *ROMAddr  = SiS_Pr->VirtualRomBase;  in SiSDetermineROMLayout661()  local
1262 if((ROMAddr[0x1a] == 'N') && in SiSDetermineROMLayout661()
1263 (ROMAddr[0x1b] == 'e') && in SiSDetermineROMLayout661()
1264 (ROMAddr[0x1c] == 'w') && in SiSDetermineROMLayout661()
1265 (ROMAddr[0x1d] == 'V')) { in SiSDetermineROMLayout661()
1268 romversoffs = ROMAddr[0x16] | (ROMAddr[0x17] << 8); in SiSDetermineROMLayout661()
1270 if((ROMAddr[romversoffs+1] == '.') || (ROMAddr[romversoffs+4] == '.')) { in SiSDetermineROMLayout661()
1271 romvmaj = ROMAddr[romversoffs] - '0'; in SiSDetermineROMLayout661()
1272 romvmin = ((ROMAddr[romversoffs+2] -'0') * 10) + (ROMAddr[romversoffs+3] - '0'); in SiSDetermineROMLayout661()
1279 if((ROMAddr[0x1a] == 'N') && in SiSDetermineROMLayout661()
1280 (ROMAddr[0x1b] == 'e') && in SiSDetermineROMLayout661()
1281 (ROMAddr[0x1c] == 'w') && in SiSDetermineROMLayout661()
1282 (ROMAddr[0x1d] == 'V')) { in SiSDetermineROMLayout661()
1292 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiSDetermineROMUsage() local
1301 if((ROMAddr) && (SiS_Pr->UseROM)) { in SiSDetermineROMUsage()
1307 if((ROMAddr[3] == 0xe9) && ((ROMAddr[5] << 8) | ROMAddr[4]) > 0x21a) in SiSDetermineROMUsage()
1323 if(ROMAddr[romptr + (32 * 16)] == 0xff) in SiSDetermineROMUsage()
1325 else if(ROMAddr[romptr + (34 * 16)] == 0xff) in SiSDetermineROMUsage()
1327 else if(ROMAddr[romptr + (36 * 16)] == 0xff) /* 0.94, 2.05.00+ */ in SiSDetermineROMUsage()
1329 else if( (ROMAddr[romptr + (38 * 16)] == 0xff) || /* 2.00.00 - 2.02.00 */ in SiSDetermineROMUsage()
1330 (ROMAddr[0x6F] & 0x01) ) { /* 2.03.00 - <2.05.00 */ in SiSDetermineROMUsage()
1545 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_GetMCLK() local
2653 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT1ModeRegs() local
2740 if(SiS_Pr->SiS_ROMNew) data = ROMAddr[0xf6]; in SiS_SetCRT1ModeRegs()
2741 else if(SiS_Pr->SiS_UseROM) data = ROMAddr[0x100 + data]; in SiS_SetCRT1ModeRegs()
3058 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_InitVB() local
3062 SiS_Pr->Init_P4_0E = ROMAddr[0x82]; in SiS_InitVB()
3065 SiS_Pr->Init_P4_0E = ROMAddr[0x80]; in SiS_InitVB()
3074 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_ResetVB() local
3080 temp = ROMAddr[VB310Data_1_2_Offset] | 0x40; in SiS_ResetVB()
3081 if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; in SiS_ResetVB()
3084 temp = ROMAddr[0x7e] | 0x40; in SiS_ResetVB()
3085 if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; in SiS_ResetVB()
3090 if(SiS_Pr->SiS_XGIROM) temp |= ROMAddr[0x7e]; in SiS_ResetVB()