Searched refs:pmem_res (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/cxl/core/ |
H A D | hdm.c | 330 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 D | memdev.c | 96 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 D | cdat.c | 264 .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 D | mbox.c | 1279 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 D | region.c | 2714 } 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 D | mem.c | 155 if (resource_size(&cxlds->pmem_res) && IS_ENABLED(CONFIG_CXL_PMEM)) { in cxl_mem_probe()
|
H A D | cxlmem.h | 441 struct resource pmem_res; member
|
/linux/tools/testing/cxl/test/ |
H A D | cxl.c | 1006 .start = cxlds->pmem_res.start, in mock_cxl_endpoint_parse_cdat() 1007 .end = cxlds->pmem_res.end, in mock_cxl_endpoint_parse_cdat()
|