Lines Matching refs:nvram_image
67 static char* nvram_image;
69 static char nvram_image[NVRAM_SIZE] __pmacdata; variable
248 nvram_image = kmalloc(NVRAM_SIZE, GFP_KERNEL); in pmac_nvram_init()
249 if (!nvram_image) { in pmac_nvram_init()
266 nvram_image[i] = nvram_data[i + core99_bank*NVRAM_SIZE]; in pmac_nvram_init()
291 if (!is_core_99 || !nvram_data || !nvram_image) in pmac_nvram_update()
293 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in pmac_nvram_update()
299 hdr99 = (struct core99_header*)nvram_image; in pmac_nvram_update()
303 hdr99->adler = core99_calc_adler(nvram_image); in pmac_nvram_update()
309 if (core99_write_bank(core99_bank, nvram_image)) in pmac_nvram_update()
331 return nvram_image[addr]; in nvram_read_byte()
359 nvram_image[addr] = val; in nvram_write_byte()