Lines Matching refs:ROMAddr
462 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetLCDStructPtr661() local
487 myptr = &ROMAddr[romindex]; in GetLCDStructPtr661()
496 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetLCDStructPtr661_2() local
728 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_CR36BIOSWord23b() local
732 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_CR36BIOSWord23b()
744 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_CR36BIOSWord23d() local
748 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_CR36BIOSWord23d()
801 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_PanelDelay() local
825 if(ROMAddr[0x220] & 0x40) { in SiS_PanelDelay()
826 if(!(DelayTime & 0x01)) Delay = (unsigned short)ROMAddr[0x225]; in SiS_PanelDelay()
827 else Delay = (unsigned short)ROMAddr[0x226]; in SiS_PanelDelay()
872 if(ROMAddr[0x13c] & 0x40) { in SiS_PanelDelay()
874 Delay = (unsigned short)ROMAddr[0x17e]; in SiS_PanelDelay()
876 Delay = (unsigned short)ROMAddr[0x17f]; in SiS_PanelDelay()
1530 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetTVMode() local
1562 OutputSelect = ROMAddr[romindex]; in SiS_SetTVMode()
1744 unsigned char *ROMAddr; in SiS_GetLCDInfoBIOS() local
1747 if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { in SiS_GetLCDInfoBIOS()
1762 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].CLOCK = (unsigned short)((unsigned char)ROMAddr[18]); in SiS_GetLCDInfoBIOS()
1764 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_A = ROMAddr[19]; in SiS_GetLCDInfoBIOS()
1766 SiS_Pr->SiS_VBVCLKData[VCLK_CUSTOM_315].Part4_B = ROMAddr[20]; in SiS_GetLCDInfoBIOS()
1794 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_GetLCDResInfo() local
2362 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_GetLCDResInfo()
2363 if(!(ROMAddr[0x235] & 0x02)) { in SiS_GetLCDResInfo()
2693 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2ModeRegs() local
2926 ((SiS_Pr->SiS_ROMNew) && (!(ROMAddr[0x5b] & 0x04)))) { in SiS_SetCRT2ModeRegs()
3526 unsigned char *ROMAddr = NULL; in SiS_GetCRT2Data301() local
3550 if((ROMAddr = GetLCDStructPtr661(SiS_Pr))) { in SiS_GetCRT2Data301()
3553 ROMAddr = SiS_Pr->VirtualRomBase; in SiS_GetCRT2Data301()
3719 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) { in SiS_GetCRT2Data301()
3722 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr]; in SiS_GetCRT2Data301()
3723 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1]; in SiS_GetCRT2Data301()
3724 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8); in SiS_GetCRT2Data301()
3725 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3726 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8); in SiS_GetCRT2Data301()
3727 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4); in SiS_GetCRT2Data301()
3728 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8); in SiS_GetCRT2Data301()
3731 tempax = (ROMAddr[romptr+9] >> 4) & 0x07; in SiS_GetCRT2Data301()
3732 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax; in SiS_GetCRT2Data301()
4127 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_HandlePWD() local
4135 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]); in SiS_HandlePWD()
4136 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]); in SiS_HandlePWD()
4137 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]); in SiS_HandlePWD()
4138 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]); in SiS_HandlePWD()
4139 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]); in SiS_HandlePWD()
4141 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) { in SiS_HandlePWD()
4768 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_EnableBridge() local
4773 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0]; in SiS_EnableBridge()
4774 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1]; in SiS_EnableBridge()
4775 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2]; in SiS_EnableBridge()
4776 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40; in SiS_EnableBridge()
5334 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2FIFO_300() local
5450 if(ROMAddr[0x220] & 0x01) { in SiS_SetCRT2FIFO_300()
5451 VCLK = ROMAddr[0x229] | (ROMAddr[0x22a] << 8); in SiS_SetCRT2FIFO_300()
6087 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup1_LVDS() local
6095 trumpdata = &ROMAddr[0x8001 + (j * 80)]; in SiS_SetGroup1_LVDS()
6230 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup1() local
6498 if(ROMAddr[0x220] & 0x80) { in SiS_SetGroup1()
6500 temp = ROMAddr[0x221]; in SiS_SetGroup1()
6502 temp = ROMAddr[0x222]; in SiS_SetGroup1()
6504 temp = ROMAddr[0x223]; in SiS_SetGroup1()
6506 temp = ROMAddr[0x224]; in SiS_SetGroup1()
6519 if(ROMAddr[0x220] & 0x80) { in SiS_SetGroup1()
6520 temp = ROMAddr[0x220]; in SiS_SetGroup1()
6557 if(ROMAddr[0x13c] & 0x80) tempbl = 0xf0; in SiS_SetGroup1()
7593 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetGroup4_C_ELV() local
7601 if(!(ROMAddr[0x61] & 0x04)) return; in SiS_SetGroup4_C_ELV()
8094 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2ECLK() local
8116 if(ROMAddr[0x220] & 0x01) { in SiS_SetCRT2ECLK()
8117 sr2b = ROMAddr[0x227]; in SiS_SetCRT2ECLK()
8118 sr2c = ROMAddr[0x228]; in SiS_SetCRT2ECLK()
8833 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SiS_SetCRT2Group() local
8941 if((ROMAddr[0x233] == 0x12) && (ROMAddr[0x234] == 0x34)) { in SiS_SetCRT2Group()
9770 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetRAMDACromptr() local
9788 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetLCDromptr() local
9806 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetTVromptr() local
9951 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetDelayComp() local
9968 if(romptr) delay = ROMAddr[romptr]; in SetDelayComp()
10079 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
10102 delay = ROMAddr[(romptr + index)]; in SetDelayComp()
10149 delay = ROMAddr[romptr + index]; in SetDelayComp()
10184 delay = ROMAddr[romptr + index]; in SetDelayComp()
10256 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetAntiFlicker() local
10287 temp = ROMAddr[romptr + temp1 + index]; in SetAntiFlicker()
10299 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetEdgeEnhance() local
10326 temp = ROMAddr[romptr + temp1 + index]; in SetEdgeEnhance()
10369 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetPhaseIncr() local
10421 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetPhaseIncr()
10459 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetDelayComp661() local
10480 if((ROMAddr[0x5b] & 0x80) || (SiS_Pr->SiS_VBInfo & (SetCRT2ToRAMDAC | SetCRT2ToLCD))) { in SetDelayComp661()
10484 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10512 delay = (ROMAddr[romptr + index] & 0x0f) << 1; in SetDelayComp661()
10540 delay = ROMAddr[romptr + index]; in SetDelayComp661()
10556 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */ in SetDelayComp661()
10557 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */ in SetDelayComp661()
10661 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetPanelParms661() local
10678 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c; in SetPanelParms661()
10687 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1; in SetPanelParms661()
11000 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in GetOEMLCDPtr() local
11021 if(ROMAddr[0x235] & 0x80) { in GetOEMLCDPtr()
11025 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
11039 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo]; in GetOEMLCDPtr()
11062 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMLCDDelay() local
11068 if(!(ROMAddr[0x237] & 0x01)) return; in SetOEMLCDDelay()
11069 if(!(ROMAddr[0x237] & 0x02)) return; in SetOEMLCDDelay()
11094 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11103 if(SiS_Pr->SiS_UseROM && (ROMAddr[0x235] & 0x80)) { in SetOEMLCDDelay()
11108 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11114 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8); in SetOEMLCDDelay()
11119 temp = ROMAddr[romptr]; in SetOEMLCDDelay()
11136 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMLCDData()
11140 if(!(ROMAddr[0x237] & 0x01)) return; in SetOEMLCDData()
11141 if(!(ROMAddr[0x237] & 0x04)) return; in SetOEMLCDData()
11185 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMTVDelay() local
11189 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMTVDelay()
11190 if(!(ROMAddr[0x238] & 0x02)) return; in SetOEMTVDelay()
11202 temp = ROMAddr[romptr]; in SetOEMTVDelay()
11217 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMAntiFlicker() local
11221 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMAntiFlicker()
11222 if(!(ROMAddr[0x238] & 0x04)) return; in SetOEMAntiFlicker()
11234 temp = ROMAddr[romptr]; in SetOEMAntiFlicker()
11245 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMPhaseIncr() local
11253 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMPhaseIncr()
11254 if(!(ROMAddr[0x238] & 0x08)) return; in SetOEMPhaseIncr()
11272 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMPhaseIncr()
11285 unsigned char *ROMAddr = SiS_Pr->VirtualRomBase; in SetOEMYFilter() local
11291 if(!(ROMAddr[0x238] & 0x01)) return; in SetOEMYFilter()
11292 if(!(ROMAddr[0x238] & 0x10)) return; in SetOEMYFilter()
11317 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]); in SetOEMYFilter()