Home
last modified time | relevance | path

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

/drivers/cxl/core/
Dpmem.c144 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_release() local
146 kfree(cxl_nvd); in cxl_nvdimm_release()
177 struct cxl_nvdimm *cxl_nvd; in cxl_nvdimm_alloc() local
180 cxl_nvd = kzalloc(sizeof(*cxl_nvd), GFP_KERNEL); in cxl_nvdimm_alloc()
181 if (!cxl_nvd) in cxl_nvdimm_alloc()
184 dev = &cxl_nvd->dev; in cxl_nvdimm_alloc()
185 cxl_nvd->cxlmd = cxlmd; in cxl_nvdimm_alloc()
192 return cxl_nvd; in cxl_nvdimm_alloc()
204 struct cxl_nvdimm *cxl_nvd; in devm_cxl_add_nvdimm() local
208 cxl_nvd = cxl_nvdimm_alloc(cxlmd); in devm_cxl_add_nvdimm()
[all …]
/drivers/cxl/
Dpmem.c41 struct cxl_nvdimm *cxl_nvd = to_cxl_nvdimm(dev); in cxl_nvdimm_probe() local
56 nvdimm = nvdimm_create(cxl_nvb->nvdimm_bus, cxl_nvd, NULL, flags, 0, 0, in cxl_nvdimm_probe()