Lines Matching refs:nvram_size
32 static unsigned int nvram_size; variable
128 if (nvram_size == 0 || nvram_fetch == RTAS_UNKNOWN_SERVICE) in pSeries_nvram_read()
131 if (*index >= nvram_size) in pSeries_nvram_read()
135 if (i + count > nvram_size) in pSeries_nvram_read()
136 count = nvram_size - i; in pSeries_nvram_read()
171 if (nvram_size == 0 || nvram_store == RTAS_UNKNOWN_SERVICE) in pSeries_nvram_write()
174 if (*index >= nvram_size) in pSeries_nvram_write()
178 if (i + count > nvram_size) in pSeries_nvram_write()
179 count = nvram_size - i; in pSeries_nvram_write()
207 return nvram_size ? nvram_size : -ENODEV; in pSeries_nvram_get_size()
492 nvram_size = *nbytes_p; in pSeries_nvram_init()
496 printk(KERN_INFO "PPC64 nvram contains %d bytes\n", nvram_size); in pSeries_nvram_init()
501 ppc_md.nvram_size = pSeries_nvram_get_size; in pSeries_nvram_init()