Searched refs:cxl_nvb (Results 1 – 3 of 3) sorted by relevance
31 struct cxl_nvdimm_bridge *cxl_nvb = cxl_nvd->bridge; in unregister_nvdimm() local35 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() local62 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 …]
299 struct cxl_nvdimm_bridge *cxl_nvb; in add_root_nvdimm_bridge() local309 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()
28 struct cxl_nvdimm_bridge *cxl_nvb = to_cxl_nvdimm_bridge(dev); in cxl_nvdimm_bridge_release() local30 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() local91 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 …]