Lines Matching refs:rom_start
130 static int check_for_compaq_ROM(void __iomem *rom_start) in check_for_compaq_ROM() argument
135 temp1 = readb(rom_start + 0xffea + 0); in check_for_compaq_ROM()
136 temp2 = readb(rom_start + 0xffea + 1); in check_for_compaq_ROM()
137 temp3 = readb(rom_start + 0xffea + 2); in check_for_compaq_ROM()
138 temp4 = readb(rom_start + 0xffea + 3); in check_for_compaq_ROM()
139 temp5 = readb(rom_start + 0xffea + 4); in check_for_compaq_ROM()
140 temp6 = readb(rom_start + 0xffea + 5); in check_for_compaq_ROM()
186 static int load_HRT(void __iomem *rom_start) in load_HRT() argument
193 if (!check_for_compaq_ROM(rom_start)) in load_HRT()
221 static u32 store_HRT(void __iomem *rom_start) in store_HRT() argument
238 if (!check_for_compaq_ROM(rom_start)) in store_HRT()
412 void compaq_nvram_init(void __iomem *rom_start) in compaq_nvram_init() argument
414 if (rom_start) in compaq_nvram_init()
415 compaq_int15_entry_point = (rom_start + ROM_INT15_PHY_ADDR - ROM_PHY_ADDR); in compaq_nvram_init()
424 int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl) in compaq_nvram_load() argument
439 if (load_HRT(rom_start)) in compaq_nvram_load()
639 int compaq_nvram_store(void __iomem *rom_start) in compaq_nvram_store() argument
643 if (rom_start == NULL) in compaq_nvram_store()
647 rc = store_HRT(rom_start); in compaq_nvram_store()