Lines Matching refs:rom_base
4040 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4046 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4049 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4053 rom = rom_base + romptr; in sisfb_check_rom()
4071 void __iomem *rom_base; in sisfb_find_rom() local
4081 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4083 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4086 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4090 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4104 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
4105 if (!rom_base) in sisfb_find_rom()
4108 if (!sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4109 iounmap(rom_base); in sisfb_find_rom()
4114 memcpy_fromio(myrombase, rom_base, 65536); in sisfb_find_rom()
4116 iounmap(rom_base); in sisfb_find_rom()