Home
last modified time | relevance | path

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

/openbmc/qemu/hw/mem/
H A Dnvdimm.c50 if (nvdimm->nvdimm_mr) { in nvdimm_set_label_size()
114 g_free(nvdimm->nvdimm_mr); in nvdimm_finalize()
123 g_assert(!nvdimm->nvdimm_mr); in nvdimm_prepare_memory_region()
161 nvdimm->nvdimm_mr = g_new(MemoryRegion, 1); in nvdimm_prepare_memory_region()
162 memory_region_init_alias(nvdimm->nvdimm_mr, OBJECT(dimm), in nvdimm_prepare_memory_region()
164 memory_region_set_nonvolatile(nvdimm->nvdimm_mr, true); in nvdimm_prepare_memory_region()
165 nvdimm->nvdimm_mr->align = align; in nvdimm_prepare_memory_region()
174 if (!nvdimm->nvdimm_mr) { in nvdimm_md_get_memory_region()
181 return nvdimm->nvdimm_mr; in nvdimm_md_get_memory_region()
189 if (!nvdimm->nvdimm_mr) { in nvdimm_realize()
/openbmc/qemu/include/hw/mem/
H A Dnvdimm.h70 MemoryRegion *nvdimm_mr; member