Lines Matching refs:ROMAddr

137    unsigned char  *ROMAddr = SiS_Pr->VirtualRomBase;  in GetLCDStructPtr661()  local
162 myptr = &ROMAddr[romindex]; in GetLCDStructPtr661()
171 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetLCDStructPtr661_2() local
403 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_CR36BIOSWord23b() local
407 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_CR36BIOSWord23b()
419 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_CR36BIOSWord23d() local
423 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_CR36BIOSWord23d()
476 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_PanelDelay() local
500 if(ROMAddr[0x220] & 0x40) { in SiS_PanelDelay()
501 if(!(DelayTime & 0x01)) Delay = (unsigned short)ROMAddr[0x225]; in SiS_PanelDelay()
502 else Delay = (unsigned short)ROMAddr[0x226]; in SiS_PanelDelay()
549 if(ROMAddr[0x13c] & 0x40) { in SiS_PanelDelay()
551 Delay = (unsigned short)ROMAddr[0x17e]; in SiS_PanelDelay()
553 Delay = (unsigned short)ROMAddr[0x17f]; in SiS_PanelDelay()
1207 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetTVMode() local
1239 OutputSelect = ROMAddr[romindex]; in SiS_SetTVMode()
1421 unsigned char *ROMAddr; in SiS_GetLCDInfoBIOS() local
1424 if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { in SiS_GetLCDInfoBIOS()
1439 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].CLOCK = (unsigned short)((unsigned char)ROMAddr[18]); in SiS_GetLCDInfoBIOS()
1441 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_A = ROMAddr[19]; in SiS_GetLCDInfoBIOS()
1443 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_B = ROMAddr[20]; in SiS_GetLCDInfoBIOS()
1471 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_GetLCDResInfo() local
2039 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_GetLCDResInfo()
2040 if(!(ROMAddr[0x235] & 0x02)) { in SiS_GetLCDResInfo()
2372 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2ModeRegs() local
2605 ((SiS_Pr->SiS_ROMNew) && (!(ROMAddr[0x5b] & 0x04)))) { in SiS_SetCRT2ModeRegs()
3205 unsigned char *ROMAddr = NULL; in SiS_GetCRT2Data301() local
3229 if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { in SiS_GetCRT2Data301()
3232 ROMAddr = SiS_Pr->VirtualRomBase; in SiS_GetCRT2Data301()
3398 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) { in SiS_GetCRT2Data301()
3401 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr]; in SiS_GetCRT2Data301()
3402 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1]; in SiS_GetCRT2Data301()
3403 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8); in SiS_GetCRT2Data301()
3404 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3405 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8); in SiS_GetCRT2Data301()
3406 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3407 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8); in SiS_GetCRT2Data301()
3410 tempax = (ROMAddr[romptr+9] >> 4) & 0x07; in SiS_GetCRT2Data301()
3411 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax; in SiS_GetCRT2Data301()
3806 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_HandlePWD() local
3814 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]); in SiS_HandlePWD()
3815 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]); in SiS_HandlePWD()
3816 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]); in SiS_HandlePWD()
3817 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]); in SiS_HandlePWD()
3818 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]); in SiS_HandlePWD()
3820 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) { in SiS_HandlePWD()
4447 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_EnableBridge() local
4452 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0]; in SiS_EnableBridge()
4453 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1]; in SiS_EnableBridge()
4454 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2]; in SiS_EnableBridge()
4455 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40; in SiS_EnableBridge()
5013 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2FIFO_300() local
5129 if(ROMAddr[0x220] & 0x01) { in SiS_SetCRT2FIFO_300()
5130 VCLK = ROMAddr[0x229] | (ROMAddr[0x22a] << 8); in SiS_SetCRT2FIFO_300()
5766 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup1_LVDS() local
5774 trumpdata = &ROMAddr[0x8001 + (j * 80)]; in SiS_SetGroup1_LVDS()
5909 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup1() local
6177 if(ROMAddr[0x220] & 0x80) { in SiS_SetGroup1()
6179 temp = ROMAddr[0x221]; in SiS_SetGroup1()
6181 temp = ROMAddr[0x222]; in SiS_SetGroup1()
6183 temp = ROMAddr[0x223]; in SiS_SetGroup1()
6185 temp = ROMAddr[0x224]; in SiS_SetGroup1()
6198 if(ROMAddr[0x220] & 0x80) { in SiS_SetGroup1()
6199 temp = ROMAddr[0x220]; in SiS_SetGroup1()
6236 if(ROMAddr[0x13c] & 0x80) tempbl = 0xf0; in SiS_SetGroup1()
7274 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup4_C_ELV() local
7282 if(!(ROMAddr[0x61] & 0x04)) return; in SiS_SetGroup4_C_ELV()
7779 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2ECLK() local
7801 if(ROMAddr[0x220] & 0x01) { in SiS_SetCRT2ECLK()
7802 sr2b = ROMAddr[0x227]; in SiS_SetCRT2ECLK()
7803 sr2c = ROMAddr[0x228]; in SiS_SetCRT2ECLK()
8523 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2Group() local
8631 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_SetCRT2Group()
9460 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetRAMDACromptr() local
9478 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetLCDromptr() local
9496 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetTVromptr() local
9641 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetDelayComp() local
9658 if(romptr) delay = ROMAddr[romptr]; in SetDelayComp()
9771 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
9794 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
9841 delay = ROMAddr[romptr + index]; in SetDelayComp()
9876 delay = ROMAddr[romptr + index]; in SetDelayComp()
9948 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetAntiFlicker() local
9979 temp = ROMAddr[romptr + temp1 + index]; in SetAntiFlicker()
9991 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetEdgeEnhance() local
10018 temp = ROMAddr[romptr + temp1 + index]; in SetEdgeEnhance()
10061 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetPhaseIncr() local
10113 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetPhaseIncr()
10151 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetDelayComp661() local
10172 if((ROMAddr[0x5b] & 0x80) || (SiS_Pr->SiS_VBInfo & (SetCRT2ToRAMDAC | SetCRT2ToLCD))) { in SetDelayComp661()
10176 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10204 delay = (ROMAddr[romptr + index] & 0x0f) << 1; in SetDelayComp661()
10232 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10248 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */ in SetDelayComp661()
10249 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */ in SetDelayComp661()
10353 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetPanelParms661() local
10370 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c; in SetPanelParms661()
10379 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1; in SetPanelParms661()
10692 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetOEMLCDPtr() local
10713 if(ROMAddr[0x235] & 0x80) { in GetOEMLCDPtr()
10717 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
10731 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
10754 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMLCDDelay() local
10760 if(!(ROMAddr[0x237] & 0x01)) return; in SetOEMLCDDelay()
10761 if(!(ROMAddr[0x237] & 0x02)) return; in SetOEMLCDDelay()
10786 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
10795 if(SiS_Pr->SiS_UseROM && (ROMAddr[0x235] & 0x80)) { in SetOEMLCDDelay()
10800 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
10806 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8); in SetOEMLCDDelay()
10811 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
10828 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMLCDData()
10832 if(!(ROMAddr[0x237] & 0x01)) return; in SetOEMLCDData()
10833 if(!(ROMAddr[0x237] & 0x04)) return; in SetOEMLCDData()
10877 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMTVDelay() local
10881 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMTVDelay()
10882 if(!(ROMAddr[0x238] & 0x02)) return; in SetOEMTVDelay()
10894 temp = ROMAddr[romptr]; in SetOEMTVDelay()
10909 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMAntiFlicker() local
10913 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMAntiFlicker()
10914 if(!(ROMAddr[0x238] & 0x04)) return; in SetOEMAntiFlicker()
10926 temp = ROMAddr[romptr]; in SetOEMAntiFlicker()
10937 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMPhaseIncr() local
10945 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMPhaseIncr()
10946 if(!(ROMAddr[0x238] & 0x08)) return; in SetOEMPhaseIncr()
10964 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMPhaseIncr()
10977 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMYFilter() local
10983 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMYFilter()
10984 if(!(ROMAddr[0x238] & 0x10)) return; in SetOEMYFilter()
11009 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMYFilter()