Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dnvram.c26 static unsigned int nvram_size; variable
41 if (nvram_size == 0 || nvram_fetch == RTAS_UNKNOWN_SERVICE) in pSeries_nvram_read()
44 if (*index >= nvram_size) in pSeries_nvram_read()
48 if (i + count > nvram_size) in pSeries_nvram_read()
49 count = nvram_size - i; in pSeries_nvram_read()
84 if (nvram_size == 0 || nvram_store == RTAS_UNKNOWN_SERVICE) in pSeries_nvram_write()
87 if (*index >= nvram_size) in pSeries_nvram_write()
91 if (i + count > nvram_size) in pSeries_nvram_write()
92 count = nvram_size - i; in pSeries_nvram_write()
120 return nvram_size ? nvram_size : -ENODEV; in pSeries_nvram_get_size()
[all …]
/arch/powerpc/platforms/chrp/
Dnvram.c23 static unsigned int nvram_size; variable
33 if (addr >= nvram_size) { in chrp_nvram_read()
35 current->comm, addr, nvram_size); in chrp_nvram_read()
54 if (addr >= nvram_size) { in chrp_nvram_write()
56 current->comm, addr, nvram_size); in chrp_nvram_write()
81 nvram_size = *nbytes_p; in chrp_nvram_init()
83 printk(KERN_INFO "CHRP nvram contains %u bytes\n", nvram_size); in chrp_nvram_init()
/arch/powerpc/kernel/
Dnvram_64.c50 if (ppc_md.nvram_size == NULL) in dev_nvram_llseek()
52 size = ppc_md.nvram_size(); in dev_nvram_llseek()
77 if (!ppc_md.nvram_size) in dev_nvram_read()
81 size = ppc_md.nvram_size(); in dev_nvram_read()
114 if (!ppc_md.nvram_size) in dev_nvram_write()
118 size = ppc_md.nvram_size(); in dev_nvram_write()
493 if (ppc_md.nvram_size == NULL) in nvram_scan_partitions()
495 total_size = ppc_md.nvram_size(); in nvram_scan_partitions()
556 if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) in nvram_init()
/arch/powerpc/sysdev/
Dmmio_nvram.c119 ppc_md.nvram_size = mmio_nvram_get_size; in mmio_nvram_init()
/arch/powerpc/platforms/cell/
Dcelleb_setup.c218 .nvram_size = beat_nvram_get_size, in define_machine()
/arch/powerpc/include/asm/
Dmachdep.h160 ssize_t (*nvram_size)(void); member
/arch/powerpc/platforms/powermac/
Dnvram.c546 ppc_md.nvram_size = core99_nvram_size; in core99_nvram_setup()