Lines Matching refs:nvdimm
75 struct nvdimm;
78 struct nvdimm *nvdimm, unsigned int cmd, void *buf,
92 struct nvdimm *nvdimm, unsigned int cmd, void *data);
114 struct nvdimm *nvdimm; member
188 unsigned long (*get_flags)(struct nvdimm *nvdimm,
190 int (*freeze)(struct nvdimm *nvdimm);
191 int (*change_key)(struct nvdimm *nvdimm,
195 int (*unlock)(struct nvdimm *nvdimm,
197 int (*disable)(struct nvdimm *nvdimm,
199 int (*erase)(struct nvdimm *nvdimm,
202 int (*overwrite)(struct nvdimm *nvdimm,
204 int (*query_overwrite)(struct nvdimm *nvdimm);
217 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm);
218 struct nvdimm *to_nvdimm(struct device *dev);
224 const char *nvdimm_name(struct nvdimm *nvdimm);
225 struct kobject *nvdimm_kobj(struct nvdimm *nvdimm);
226 unsigned long nvdimm_cmd_mask(struct nvdimm *nvdimm);
227 void *nvdimm_provider_data(struct nvdimm *nvdimm);
228 struct nvdimm *__nvdimm_create(struct nvdimm_bus *nvdimm_bus,
233 static inline struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_create()
244 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd,
246 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd,
259 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
268 int nvdimm_in_overwrite(struct nvdimm *nvdimm);
271 static inline int nvdimm_ctl(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nvdimm_ctl() argument
274 struct nvdimm_bus *nvdimm_bus = nvdimm_to_bus(nvdimm); in nvdimm_ctl()
277 return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); in nvdimm_ctl()