Home
last modified time | relevance | path

Searched refs:pmem_res (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/cxl/core/
H A Dhdm.c330 if (resource_contains(&cxlds->pmem_res, res)) in __cxl_dpa_reserve()
445 if (mode == CXL_DECODER_PMEM && !resource_size(&cxlds->pmem_res)) { in cxl_dpa_set_mode()
490 for (p = cxlds->pmem_res.child, last = NULL; p; p = p->sibling) in cxl_dpa_alloc()
495 free_pmem_start = cxlds->pmem_res.start; in cxl_dpa_alloc()
505 avail = cxlds->pmem_res.end - start + 1; in cxl_dpa_alloc()
512 if (cxlds->pmem_res.child && in cxl_dpa_alloc()
513 skip_start == cxlds->pmem_res.child->start) in cxl_dpa_alloc()
H A Dmemdev.c96 unsigned long long len = resource_size(&cxlds->pmem_res); in pmem_size_show()
201 if (resource_size(&cxlds->pmem_res)) { in cxl_get_poison_by_memdev()
202 offset = cxlds->pmem_res.start; in cxl_get_poison_by_memdev()
203 length = resource_size(&cxlds->pmem_res); in cxl_get_poison_by_memdev()
H A Dcdat.c264 .start = cxlds->pmem_res.start, in cxl_memdev_set_qos_class()
265 .end = cxlds->pmem_res.end, in cxl_memdev_set_qos_class()
278 else if (resource_size(&cxlds->pmem_res) && in cxl_memdev_set_qos_class()
H A Dmbox.c1279 cxlds->pmem_res = DEFINE_RES_MEM(0, 0); in cxl_mem_create_range_info()
1290 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()
1305 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()
H A Dregion.c2714 } else if (resource_size(&cxlds->pmem_res)) { in cxl_get_poison_unmapped()
2715 offset = cxlds->pmem_res.start; in cxl_get_poison_unmapped()
2716 length = resource_size(&cxlds->pmem_res); in cxl_get_poison_unmapped()
/linux/drivers/cxl/
H A Dmem.c155 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) { in cxl_mem_probe()
H A Dcxlmem.h441 struct resource pmem_res; member
/linux/tools/testing/cxl/test/
H A Dcxl.c1006 .start = cxlds->pmem_res.start, in mock_cxl_endpoint_parse_cdat()
1007 .end = cxlds->pmem_res.end, in mock_cxl_endpoint_parse_cdat()