Searched refs:pmem_res (Results 1 – 6 of 6) sorted by relevance
261 if (resource_contains(&cxlds->pmem_res, res)) in __cxl_dpa_reserve()380 if (mode == CXL_DECODER_PMEM && !resource_size(&cxlds->pmem_res)) { in cxl_dpa_set_mode()431 for (p = cxlds->pmem_res.child, last = NULL; p; p = p->sibling) in cxl_dpa_alloc()436 free_pmem_start = cxlds->pmem_res.start; in cxl_dpa_alloc()446 avail = cxlds->pmem_res.end - start + 1; in cxl_dpa_alloc()453 if (cxlds->pmem_res.child && in cxl_dpa_alloc()454 skip_start == cxlds->pmem_res.child->start) in cxl_dpa_alloc()
817 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()832 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()
84 unsigned long long len = resource_size(&cxlds->pmem_res); in pmem_size_show()
288 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) in cxl_mock_mem_probe()
233 struct resource pmem_res; member
501 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) in cxl_pci_probe()