Lines Matching refs:bus_desc
101 struct nvdimm_bus_descriptor bus_desc; member
977 p->bus_desc.ndctl = papr_scm_ndctl; in papr_scm_nvdimm_init()
978 p->bus_desc.module = THIS_MODULE; in papr_scm_nvdimm_init()
979 p->bus_desc.of_node = p->pdev->dev.of_node; in papr_scm_nvdimm_init()
980 p->bus_desc.provider_name = kstrdup(p->pdev->name, GFP_KERNEL); in papr_scm_nvdimm_init()
983 set_bit(NVDIMM_FAMILY_PAPR, &p->bus_desc.dimm_family_mask); in papr_scm_nvdimm_init()
985 if (!p->bus_desc.provider_name) in papr_scm_nvdimm_init()
988 p->bus = nvdimm_bus_register(NULL, &p->bus_desc); in papr_scm_nvdimm_init()
991 kfree(p->bus_desc.provider_name); in papr_scm_nvdimm_init()
1063 kfree(p->bus_desc.provider_name); in papr_scm_nvdimm_init()
1257 kfree(p->bus_desc.provider_name); in papr_scm_remove()