Searched refs:romptr (Results 1 – 4 of 4) sorted by relevance
498 unsigned short romptr = 0; in GetLCDStructPtr661_2() local509 romptr = SISGETROMW(0x102); in GetLCDStructPtr661_2()510 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize); in GetLCDStructPtr661_2()513 return romptr; in GetLCDStructPtr661_2()3528 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local3552 if((romptr = (SISGETROMW(21)))) { in SiS_GetCRT2Data301()3553 romptr += (resinfo661 * 10); in SiS_GetCRT2Data301()3720 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) { in SiS_GetCRT2Data301()3723 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr]; in SiS_GetCRT2Data301()3724 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1]; in SiS_GetCRT2Data301()[all …]
1293 unsigned short romptr = 0; in SiSDetermineROMUsage() local1322 if((romptr = SISGETROMW(0x0102))) { 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()
4082 int romptr; in sisfb_check_rom() local4087 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()4088 if(romptr > (0x10000 - 8)) in sisfb_check_rom()4091 rom = rom_base + romptr; in sisfb_check_rom()
950 unsigned char __iomem *romptr, *tableptr, *biosptr; in viafb_lcd_get_mobile_state() local963 romptr = biosptr + 0x1B; in viafb_lcd_get_mobile_state()964 tableptr = biosptr + readw(romptr); in viafb_lcd_get_mobile_state()968 romptr = tableptr + 18; in viafb_lcd_get_mobile_state()969 romptr = biosptr + readw(romptr); in viafb_lcd_get_mobile_state()974 romptr += 41; in viafb_lcd_get_mobile_state()976 core_base = readb(romptr); in viafb_lcd_get_mobile_state()