Home
last modified time | relevance | path

Searched refs:romptr (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/video/sis/
Dinit301.c172 unsigned short romptr = 0; in GetLCDStructPtr661_2() local
183 romptr = SISGETROMW(0x102); in GetLCDStructPtr661_2()
184 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize); in GetLCDStructPtr661_2()
187 return romptr; in GetLCDStructPtr661_2()
3206 unsigned short tempax, tempbx, modeflag, romptr=0; in SiS_GetCRT2Data301() local
3230 if((romptr = (SISGETROMW(21)))) { in SiS_GetCRT2Data301()
3231 romptr += (resinfo661 * 10); 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()
[all …]
Dinit.c1292 unsigned short romptr = 0; in SiSDetermineROMUsage() local
1321 if((romptr = SISGETROMW(0x0102))) { in SiSDetermineROMUsage()
1322 if(ROMAddr[romptr + (32 * 16)] == 0xff) in SiSDetermineROMUsage()
1324 else if(ROMAddr[romptr + (34 * 16)] == 0xff) in SiSDetermineROMUsage()
1326 else if(ROMAddr[romptr + (36 * 16)] == 0xff) /* 0.94, 2.05.00+ */ in SiSDetermineROMUsage()
1328 else if( (ROMAddr[romptr + (38 * 16)] == 0xff) || /* 2.00.00 - 2.02.00 */ in SiSDetermineROMUsage()
Dsis_main.c4078 int romptr; in sisfb_check_rom() local
4083 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4084 if(romptr > (0x10000 - 8)) in sisfb_check_rom()
4087 rom = rom_base + romptr; in sisfb_check_rom()
/linux-2.6.39/drivers/video/via/
Dlcd.c1021 unsigned char __iomem *romptr, *tableptr, *biosptr; in viafb_lcd_get_mobile_state() local
1034 romptr = biosptr + 0x1B; in viafb_lcd_get_mobile_state()
1035 tableptr = biosptr + readw(romptr); in viafb_lcd_get_mobile_state()
1039 romptr = tableptr + 18; in viafb_lcd_get_mobile_state()
1040 romptr = biosptr + readw(romptr); in viafb_lcd_get_mobile_state()
1045 romptr += 41; in viafb_lcd_get_mobile_state()
1047 core_base = readb(romptr); in viafb_lcd_get_mobile_state()