Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/powermac/
Dnvram.c79 static int core99_bank = 0; variable
285 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_erase_bank()
317 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in sm_write_bank()
352 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_erase_bank()
399 u8 __iomem *base = (u8 __iomem *)nvram_data + core99_bank*NVRAM_SIZE; in amd_write_bank()
484 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in core99_nvram_sync()
495 core99_bank = core99_bank ? 0 : 1; in core99_nvram_sync()
497 if (core99_erase_bank(core99_bank)) { in core99_nvram_sync()
498 printk("nvram: Error erasing bank %d\n", core99_bank); in core99_nvram_sync()
502 if (core99_write_bank(core99_bank, nvram_image)) in core99_nvram_sync()
[all …]