Lines Matching refs:rom_base
4078 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4084 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4087 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4091 rom = rom_base + romptr; in sisfb_check_rom()
4109 void __iomem *rom_base; in sisfb_find_rom() local
4119 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4121 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4124 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4128 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4142 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
4143 if (!rom_base) in sisfb_find_rom()
4146 if (!sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4147 iounmap(rom_base); in sisfb_find_rom()
4152 memcpy_fromio(myrombase, rom_base, 65536); in sisfb_find_rom()
4154 iounmap(rom_base); in sisfb_find_rom()