Home
last modified time | relevance | path

Searched refs:bus_desc (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/nvdimm/
Dof_pmem.c13 struct nvdimm_bus_descriptor bus_desc; member
33 priv->bus_desc.provider_name = kstrdup(pdev->name, GFP_KERNEL); in of_pmem_region_probe()
34 priv->bus_desc.module = THIS_MODULE; in of_pmem_region_probe()
35 priv->bus_desc.of_node = np; in of_pmem_region_probe()
37 priv->bus = bus = nvdimm_bus_register(&pdev->dev, &priv->bus_desc); in of_pmem_region_probe()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c102 struct nvdimm_bus_descriptor bus_desc; member
1246 p->bus_desc.ndctl = papr_scm_ndctl; in papr_scm_nvdimm_init()
1247 p->bus_desc.module = THIS_MODULE; in papr_scm_nvdimm_init()
1248 p->bus_desc.of_node = p->pdev->dev.of_node; in papr_scm_nvdimm_init()
1249 p->bus_desc.provider_name = kstrdup(p->pdev->name, GFP_KERNEL); in papr_scm_nvdimm_init()
1252 set_bit(NVDIMM_FAMILY_PAPR, &p->bus_desc.dimm_family_mask); in papr_scm_nvdimm_init()
1254 if (!p->bus_desc.provider_name) in papr_scm_nvdimm_init()
1257 p->bus = nvdimm_bus_register(NULL, &p->bus_desc); in papr_scm_nvdimm_init()
1260 kfree(p->bus_desc.provider_name); in papr_scm_nvdimm_init()
1332 kfree(p->bus_desc.provider_name); in papr_scm_nvdimm_init()
[all …]
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.h45 struct nvdimm_bus_descriptor bus_desc; member
Dndtest.c815 p->bus_desc.ndctl = ndtest_ctl; in ndtest_bus_register()
816 p->bus_desc.module = THIS_MODULE; in ndtest_bus_register()
817 p->bus_desc.provider_name = NULL; in ndtest_bus_register()
818 p->bus_desc.attr_groups = ndtest_attribute_groups; in ndtest_bus_register()
820 p->bus = nvdimm_bus_register(&p->pdev.dev, &p->bus_desc); in ndtest_bus_register()