Lines Matching refs:nvdimm
65 struct nvdimm *nvdimm;
459 nd_pmu->pmu.name = nvdimm_name(p->nvdimm);
486 dev_info(&p->pdev->dev, "nvdimm pmu didn't register rc=%d\n", rc);
665 static int is_cmd_valid(struct nvdimm *nvdimm, unsigned int cmd, void *buf,
674 if (!nvdimm)
677 /* get the provider data from struct nvdimm */
678 p = nvdimm_provider_data(nvdimm);
1004 struct nvdimm *nvdimm, unsigned int cmd, void *buf,
1012 rc = is_cmd_valid(nvdimm, cmd, buf, buf_len);
1022 p = nvdimm_provider_data(nvdimm);
1061 struct nvdimm *dimm = to_nvdimm(dev);
1078 struct nvdimm *dimm = to_nvdimm(dev);
1116 struct nvdimm *dimm = to_nvdimm(dev);
1158 struct nvdimm *dimm = to_nvdimm(dev);
1169 struct nvdimm *nvdimm = to_nvdimm(dev);
1170 struct papr_scm_priv *p = nvdimm_provider_data(nvdimm);
1220 dev_err(dev, "Error creating nvdimm bus %pOF\n", p->dn);
1229 * Check if the nvdimm is unarmed. No locking needed as we are still
1237 p->nvdimm = nvdimm_create(p->bus, p, papr_nd_attr_groups,
1239 if (!p->nvdimm) {
1250 mapping.nvdimm = p->nvdimm;