Home
last modified time | relevance | path

Searched refs:nvram_data (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/powermac/
Dnvram.c76 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()
[all …]
/arch/powerpc/platforms/chrp/
Dtime.c40 static int nvram_data = NVRAM_DATA; variable
62 nvram_data = base + 1; in chrp_time_init()
72 return (inb(nvram_data)); in chrp_cmos_clock_read()
80 outb(val, nvram_data); in chrp_cmos_clock_write()