Searched refs:dpa_res (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/cxl/core/ |
D | hdm.c | 214 for (p1 = cxlds->dpa_res.child; p1; p1 = p1->sibling) { in cxl_dpa_debug() 232 struct resource *res = cxled->dpa_res; in __cxl_dpa_release() 239 __release_region(&cxlds->dpa_res, res->start, resource_size(res)); in __cxl_dpa_release() 241 __release_region(&cxlds->dpa_res, skip_start, cxled->skip); in __cxl_dpa_release() 243 cxled->dpa_res = NULL; in __cxl_dpa_release() 286 if (cxled->dpa_res) { in __cxl_dpa_reserve() 288 port->id, cxled->cxld.id, cxled->dpa_res); in __cxl_dpa_reserve() 305 res = __request_region(&cxlds->dpa_res, base - skipped, skipped, in __cxl_dpa_reserve() 314 res = __request_region(&cxlds->dpa_res, base, len, in __cxl_dpa_reserve() 320 __release_region(&cxlds->dpa_res, base - skipped, in __cxl_dpa_reserve() [all …]
|
D | memdev.c | 273 if (!cxled->dpa_res || !resource_size(cxled->dpa_res)) in __cxl_dpa_to_region() 276 if (dpa > cxled->dpa_res->end || dpa < cxled->dpa_res->start) in __cxl_dpa_to_region() 309 if (!resource_size(&cxlds->dpa_res)) { in cxl_validate_poison_dpa() 313 if (dpa < cxlds->dpa_res.start || dpa > cxlds->dpa_res.end) { in cxl_validate_poison_dpa() 315 dpa, &cxlds->dpa_res); in cxl_validate_poison_dpa()
|
D | mbox.c | 1221 cxlds->dpa_res = DEFINE_RES_MEM(0, 0); in cxl_mem_create_range_info() 1227 cxlds->dpa_res = in cxl_mem_create_range_info() 1231 rc = add_dpa_res(dev, &cxlds->dpa_res, &cxlds->ram_res, 0, in cxl_mem_create_range_info() 1235 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info() 1246 rc = add_dpa_res(dev, &cxlds->dpa_res, &cxlds->ram_res, 0, in cxl_mem_create_range_info() 1250 return add_dpa_res(dev, &cxlds->dpa_res, &cxlds->pmem_res, in cxl_mem_create_range_info()
|
D | region.c | 1678 if (!cxled->dpa_res) { in cxl_region_attach() 1684 if (resource_size(cxled->dpa_res) * p->interleave_ways != in cxl_region_attach() 1689 (u64)resource_size(cxled->dpa_res), p->interleave_ways, in cxl_region_attach() 2352 length = resource_size(&cxlds->dpa_res) - offset; in cxl_get_poison_unmapped() 2377 if (!cxled->dpa_res || !resource_size(cxled->dpa_res)) in poison_by_decoder() 2394 offset = cxled->dpa_res->start - cxled->skip; in poison_by_decoder() 2403 offset = cxled->dpa_res->start; in poison_by_decoder() 2404 length = cxled->dpa_res->end - offset + 1; in poison_by_decoder() 2413 ctx->offset = cxled->dpa_res->end + 1; in poison_by_decoder() 2490 m->start = cxled->dpa_res->start; in cxl_pmem_region_alloc() [all …]
|
/Linux-v6.6/drivers/cxl/ |
D | cxl.h | 397 struct resource *dpa_res; member
|
D | cxlmem.h | 418 struct resource dpa_res; member
|