Home
last modified time | relevance | path

Searched refs:cxl_nvd (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/cxl/core/
Dpmem.c189 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_release() local
191 xa_destroy(&cxl_nvd->pmem_regions); in cxl_nvdimm_release()
192 kfree(cxl_nvd); in cxl_nvdimm_release()
225 struct cxl_nvdimm *cxl_nvd; in cxl_nvdimm_alloc() local
228 cxl_nvd = kzalloc(sizeof(*cxl_nvd), GFP_KERNEL); in cxl_nvdimm_alloc()
229 if (!cxl_nvd) in cxl_nvdimm_alloc()
232 dev = &cxl_nvd->dev; in cxl_nvdimm_alloc()
233 cxl_nvd->cxlmd = cxlmd; in cxl_nvdimm_alloc()
234 xa_init(&cxl_nvd->pmem_regions); in cxl_nvdimm_alloc()
242 return cxl_nvd; in cxl_nvdimm_alloc()
[all …]
/linux-6.1.9/drivers/cxl/
Dpmem.c30 struct cxl_nvdimm *cxl_nvd = nvdimm_provider_data(nvdimm); in unregister_nvdimm() local
31 struct cxl_nvdimm_bridge *cxl_nvb = cxl_nvd->bridge; in unregister_nvdimm()
36 dev_set_drvdata(&cxl_nvd->dev, NULL); in unregister_nvdimm()
37 xa_for_each(&cxl_nvd->pmem_regions, index, cxlr_pmem) { in unregister_nvdimm()
49 cxl_nvd->bridge = NULL; in unregister_nvdimm()
54 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_probe() local
55 struct cxl_memdev *cxlmd = cxl_nvd->cxlmd; in cxl_nvdimm_probe()
81 nvdimm = nvdimm_create(cxl_nvb->nvdimm_bus, cxl_nvd, NULL, flags, in cxl_nvdimm_probe()
89 cxl_nvd->bridge = cxl_nvb; in cxl_nvdimm_probe()
184 struct cxl_nvdimm *cxl_nvd = nvdimm_provider_data(nvdimm); in cxl_pmem_nvdimm_ctl() local
[all …]
Dcxl.h431 struct cxl_nvdimm *cxl_nvd; member