Searched refs:pmem_res (Results 1 – 6 of 6) sorted by relevance
340 if (resource_contains(&cxlds->pmem_res, res)) in __cxl_dpa_reserve()458 if (mode == CXL_DECODER_PMEM && !resource_size(&cxlds->pmem_res)) { in cxl_dpa_set_mode()509 for (p = cxlds->pmem_res.child, last = NULL; p; p = p->sibling) in cxl_dpa_alloc()514 free_pmem_start = cxlds->pmem_res.start; in cxl_dpa_alloc()524 avail = cxlds->pmem_res.end - start + 1; in cxl_dpa_alloc()531 if (cxlds->pmem_res.child && in cxl_dpa_alloc()532 skip_start == cxlds->pmem_res.child->start) in cxl_dpa_alloc()
96 unsigned long long len = resource_size(&cxlds->pmem_res); in pmem_size_show()200 if (resource_size(&cxlds->pmem_res)) { in cxl_get_poison_by_memdev()201 offset = cxlds->pmem_res.start; in cxl_get_poison_by_memdev()202 length = resource_size(&cxlds->pmem_res); in cxl_get_poison_by_memdev()
1246 cxlds->pmem_res = DEFINE_RES_MEM(0, 0); in cxl_mem_create_range_info()1258 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()1273 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()
2503 } else if (resource_size(&cxlds->pmem_res)) { in cxl_get_poison_unmapped()2504 offset = cxlds->pmem_res.start; in cxl_get_poison_unmapped()2505 length = resource_size(&cxlds->pmem_res); in cxl_get_poison_unmapped()
176 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) { in cxl_mem_probe()
422 struct resource pmem_res; member