Lines Matching refs:nvdimm_drvdata
46 static int validate_dimm(struct nvdimm_drvdata *ndd) in validate_dimm()
64 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) in nvdimm_init_nsarea()
83 int nvdimm_init_config_data(struct nvdimm_drvdata *ndd) in nvdimm_init_config_data()
138 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, in nvdimm_set_config_data()
223 struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping) in to_ndd()
235 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release()
251 void get_ndd(struct nvdimm_drvdata *ndd) in get_ndd()
256 void put_ndd(struct nvdimm_drvdata *ndd) in put_ndd()
323 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in available_slots_show()
395 struct nvdimm_drvdata *ndd; in alias_dpa_busy()
473 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_blk_available_dpa()
515 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_available_dpa()
563 void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res) in nvdimm_free_dpa()
570 struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocate_dpa()
592 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocated_dpa()