Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cxl/core/
Dhdm.c261 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()
Dmbox.c817 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()
Dmemdev.c84 unsigned long long len = resource_size(&cxlds->pmem_res); in pmem_size_show()
/linux-6.1.9/tools/testing/cxl/test/
Dmem.c288 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) in cxl_mock_mem_probe()
/linux-6.1.9/drivers/cxl/
Dcxlmem.h233 struct resource pmem_res; member
Dpci.c501 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) in cxl_pci_probe()