Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/platforms/powermac/
Dnvram.c78 static int core99_bank = 0; variable
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()
479 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in core99_nvram_sync()
490 core99_bank = core99_bank ? 0 : 1; in core99_nvram_sync()
492 if (core99_erase_bank(core99_bank)) { in core99_nvram_sync()
493 printk("nvram: Error erasing bank %d\n", core99_bank); in core99_nvram_sync()
497 if (core99_write_bank(core99_bank, nvram_image)) in core99_nvram_sync()
[all …]