Lines Matching refs:rom_base
4061 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4067 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4070 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4074 rom = rom_base + romptr; in sisfb_check_rom()
4092 void __iomem *rom_base; in sisfb_find_rom() local
4102 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4104 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4107 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4111 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4125 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
4126 if (!rom_base) in sisfb_find_rom()
4129 if (!sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4130 iounmap(rom_base); in sisfb_find_rom()
4135 memcpy_fromio(myrombase, rom_base, 65536); in sisfb_find_rom()
4137 iounmap(rom_base); in sisfb_find_rom()