Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powermac/
H A Dnvram.c74 static int core99_bank; variable
285 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_erase_bank()
316 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_write_bank()
350 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_erase_bank()
396 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_write_bank()
480 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in core99_nvram_sync()
491 core99_bank = core99_bank ? 0 : 1; in core99_nvram_sync()
493 if (core99_erase_bank(core99_bank)) { in core99_nvram_sync()
494 printk("nvram: Error erasing bank %d\n", core99_bank); in core99_nvram_sync()
498 if (core99_write_bank(core99_bank, nvram_image)) in core99_nvram_sync()
[all …]