Searched refs:nvram_size (Results 1 – 7 of 7) sorted by relevance
26 static unsigned int nvram_size; variable41 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 …]
23 static unsigned int nvram_size; variable33 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()
50 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()
119 ppc_md.nvram_size = mmio_nvram_get_size; in mmio_nvram_init()
218 .nvram_size = beat_nvram_get_size, in define_machine()
160 ssize_t (*nvram_size)(void); member
546 ppc_md.nvram_size = core99_nvram_size; in core99_nvram_setup()