Lines Matching refs:nvram_data
76 static volatile unsigned char __iomem *nvram_data; variable
152 return in_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult]); in direct_nvram_read_byte()
157 out_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult], val); in direct_nvram_write_byte()
168 val = in_8(&nvram_data[(addr & 0x1f) << 4]); in indirect_nvram_read_byte()
180 out_8(&nvram_data[(addr & 0x1f) << 4], val); in indirect_nvram_write_byte()
284 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_erase_bank()
315 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_write_bank()
349 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_erase_bank()
395 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_write_bank()
475 if (!is_core_99 || !nvram_data || !nvram_image) in core99_nvram_sync()
479 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in core99_nvram_sync()
517 nvram_data = ioremap(addr, NVRAM_SIZE*2); in core99_nvram_setup()
522 gen_bank0 = core99_check((u8 *)nvram_data); in core99_nvram_setup()
523 gen_bank1 = core99_check((u8 *)nvram_data + NVRAM_SIZE); in core99_nvram_setup()
530 nvram_image[i] = nvram_data[i + core99_bank*NVRAM_SIZE]; in core99_nvram_setup()
589 nvram_data = ioremap(r1.start, s1); in pmac_nvram_init()
594 nvram_data = ioremap(r1.start, s1); in pmac_nvram_init()
600 nvram_data = ioremap(r2.start, s2); in pmac_nvram_init()