Lines Matching refs:hostpmem
176 if (!ct3d->hostpmem && !ct3d->hostvmem) { in ct3_build_cdat_table()
188 if (ct3d->hostpmem) { in ct3_build_cdat_table()
189 nonvolatile_mr = host_memory_backend_get_memory(ct3d->hostpmem); in ct3_build_cdat_table()
330 if (ct3d->hostpmem) { in build_dvsecs()
331 range2_size_hi = ct3d->hostpmem->size >> 32; in build_dvsecs()
333 (ct3d->hostpmem->size & 0xF0000000); in build_dvsecs()
336 range1_size_hi = ct3d->hostpmem->size >> 32; in build_dvsecs()
338 (ct3d->hostpmem->size & 0xF0000000); in build_dvsecs()
609 if (!ct3d->hostmem && !ct3d->hostvmem && !ct3d->hostpmem) { in cxl_setup_memory()
612 } else if (ct3d->hostmem && ct3d->hostpmem) { in cxl_setup_memory()
618 ct3d->hostpmem = ct3d->hostmem; in cxl_setup_memory()
622 if (ct3d->hostpmem && !ct3d->lsa) { in cxl_setup_memory()
650 if (ct3d->hostpmem) { in cxl_setup_memory()
654 pmr = host_memory_backend_get_memory(ct3d->hostpmem); in cxl_setup_memory()
661 host_memory_backend_set_mapped(ct3d->hostpmem, true); in cxl_setup_memory()
762 if (ct3d->hostpmem) { in ct3_realize()
780 if (ct3d->hostpmem) { in ct3_exit()
858 if (ct3d->hostpmem) { in cxl_type3_hpa_to_as_and_dpa()
859 pmr = host_memory_backend_get_memory(ct3d->hostpmem); in cxl_type3_hpa_to_as_and_dpa()
955 DEFINE_PROP_LINK("persistent-memdev", CXLType3Dev, hostpmem,
1035 if (ct3d->hostpmem) { in set_cacheline()
1036 pmr = host_memory_backend_get_memory(ct3d->hostpmem); in set_cacheline()