Searched refs:nvram_size (Results 1 – 9 of 9) sorted by relevance
21 static unsigned int nvram_size; variable25 return nvram_size; in opal_nvram_size()33 if (*index >= nvram_size) in opal_nvram_read()36 if ((off + count) > nvram_size) in opal_nvram_read()37 count = nvram_size - off; in opal_nvram_read()50 if (*index >= nvram_size) in opal_nvram_write()53 if ((off + count) > nvram_size) in opal_nvram_write()54 count = nvram_size - off; in opal_nvram_write()79 nvram_size = *nbytes_p; in opal_nvram_init()81 printk(KERN_INFO "OPAL nvram setup, %u bytes\n", nvram_size); in opal_nvram_init()[all …]
22 static unsigned int nvram_size; variable32 if (addr >= nvram_size) { in chrp_nvram_read()34 current->comm, addr, nvram_size); in chrp_nvram_read()53 if (addr >= nvram_size) { in chrp_nvram_write()55 current->comm, addr, nvram_size); in chrp_nvram_write()82 nvram_size = *nbytes_p; in chrp_nvram_init()84 printk(KERN_INFO "CHRP nvram contains %u bytes\n", nvram_size); in chrp_nvram_init()
32 static unsigned int nvram_size; variable128 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()[all …]
61 if (ppc_md.nvram_size == NULL) in dev_nvram_llseek()63 size = ppc_md.nvram_size(); in dev_nvram_llseek()88 if (!ppc_md.nvram_size) in dev_nvram_read()92 size = ppc_md.nvram_size(); in dev_nvram_read()125 if (!ppc_md.nvram_size) in dev_nvram_write()129 size = ppc_md.nvram_size(); in dev_nvram_write()477 if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) in nvram_scan_partitions()479 total_size = ppc_md.nvram_size(); in nvram_scan_partitions()545 if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) in nvram_init()
221 if (ppc_md.nvram_size) in nvram_get_size()222 return ppc_md.nvram_size(); in nvram_get_size()
153 ppc_md.nvram_size = mmio_nvram_get_size; in mmio_nvram_init()
214 .nvram_size = beat_nvram_get_size, in define_machine()
147 ssize_t (*nvram_size)(void); member
540 ppc_md.nvram_size = core99_nvram_size; in core99_nvram_setup()