Lines Matching refs:to_nvdimm
27 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_check_config_data()
74 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_init_nsarea()
110 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_get_config_data()
158 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_set_config_data()
174 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_labeling()
181 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_locked()
188 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_clear_locked()
195 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_release()
201 struct nvdimm *to_nvdimm(struct device *dev) in to_nvdimm() function
208 EXPORT_SYMBOL_GPL(to_nvdimm);
277 struct nvdimm *nvdimm = to_nvdimm(dev); in commands_show()
293 struct nvdimm *nvdimm = to_nvdimm(dev); in flags_show()
304 struct nvdimm *nvdimm = to_nvdimm(dev); in state_show()
355 struct nvdimm *nvdimm = to_nvdimm(dev); in security_show()
371 struct nvdimm *nvdimm = to_nvdimm(dev); in frozen_show()
413 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_visible()
442 struct nvdimm *nvdimm = to_nvdimm(dev); in result_show()
471 struct nvdimm *nvdimm = to_nvdimm(dev); in activate_show()
496 struct nvdimm *nvdimm = to_nvdimm(dev); in activate_store()
531 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_firmware_visible()
653 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_security_setup_events()