Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cxl/
Dpmem.c31 struct cxl_nvdimm_bridge *cxl_nvb = cxl_nvd->bridge; in unregister_nvdimm() local
35 device_lock(&cxl_nvb->dev); in unregister_nvdimm()
39 device_unlock(&cxl_nvb->dev); in unregister_nvdimm()
44 device_lock(&cxl_nvb->dev); in unregister_nvdimm()
46 device_unlock(&cxl_nvb->dev); in unregister_nvdimm()
58 struct cxl_nvdimm_bridge *cxl_nvb; in cxl_nvdimm_probe() local
62 cxl_nvb = cxl_find_nvdimm_bridge(dev); in cxl_nvdimm_probe()
63 if (!cxl_nvb) in cxl_nvdimm_probe()
66 device_lock(&cxl_nvb->dev); in cxl_nvdimm_probe()
67 if (!cxl_nvb->nvdimm_bus) { in cxl_nvdimm_probe()
[all …]
Dacpi.c299 struct cxl_nvdimm_bridge *cxl_nvb; in add_root_nvdimm_bridge() local
309 cxl_nvb = devm_cxl_add_nvdimm_bridge(host, root_port); in add_root_nvdimm_bridge()
310 if (IS_ERR(cxl_nvb)) { in add_root_nvdimm_bridge()
312 return PTR_ERR(cxl_nvb); in add_root_nvdimm_bridge()
315 dev_name(&cxl_nvb->dev)); in add_root_nvdimm_bridge()
/linux-6.1.9/drivers/cxl/core/
Dpmem.c28 struct cxl_nvdimm_bridge *cxl_nvb = to_cxl_nvdimm_bridge(dev); in cxl_nvdimm_bridge_release() local
30 ida_free(&cxl_nvdimm_bridge_ida, cxl_nvb->id); in cxl_nvdimm_bridge_release()
31 kfree(cxl_nvb); in cxl_nvdimm_bridge_release()
87 struct cxl_nvdimm_bridge *cxl_nvb; in cxl_nvdimm_bridge_alloc() local
91 cxl_nvb = kzalloc(sizeof(*cxl_nvb), GFP_KERNEL); in cxl_nvdimm_bridge_alloc()
92 if (!cxl_nvb) in cxl_nvdimm_bridge_alloc()
98 cxl_nvb->id = rc; in cxl_nvdimm_bridge_alloc()
100 dev = &cxl_nvb->dev; in cxl_nvdimm_bridge_alloc()
101 cxl_nvb->port = port; in cxl_nvdimm_bridge_alloc()
102 cxl_nvb->state = CXL_NVB_NEW; in cxl_nvdimm_bridge_alloc()
[all …]