Lines Matching refs:nvdimm
70 struct nvdimm;
73 struct nvdimm *nvdimm, unsigned int cmd, void *buf,
88 struct nvdimm *nvdimm, unsigned int cmd, void *data);
111 struct nvdimm *nvdimm; member
185 unsigned long (*get_flags)(struct nvdimm *nvdimm,
187 int (*freeze)(struct nvdimm *nvdimm);
188 int (*change_key)(struct nvdimm *nvdimm,
192 int (*unlock)(struct nvdimm *nvdimm,
194 int (*disable)(struct nvdimm *nvdimm,
196 int (*erase)(struct nvdimm *nvdimm,
199 int (*overwrite)(struct nvdimm *nvdimm,
201 int (*query_overwrite)(struct nvdimm *nvdimm);
242 enum nvdimm_fwa_state (*activate_state)(struct nvdimm *nvdimm);
243 enum nvdimm_fwa_result (*activate_result)(struct nvdimm *nvdimm);
244 int (*arm)(struct nvdimm *nvdimm, enum nvdimm_fwa_trigger arg);
257 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm);
258 struct nvdimm *to_nvdimm(struct device *dev);
264 const char *nvdimm_name(struct nvdimm *nvdimm);
265 struct kobject *nvdimm_kobj(struct nvdimm *nvdimm);
266 unsigned long nvdimm_cmd_mask(struct nvdimm *nvdimm);
267 void *nvdimm_provider_data(struct nvdimm *nvdimm);
268 struct nvdimm *__nvdimm_create(struct nvdimm_bus *nvdimm_bus,
274 static inline struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_create()
285 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd,
287 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd,
300 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
309 int nvdimm_in_overwrite(struct nvdimm *nvdimm);
312 static inline int nvdimm_ctl(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nvdimm_ctl() argument
315 struct nvdimm_bus *nvdimm_bus = nvdimm_to_bus(nvdimm); in nvdimm_ctl()
318 return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); in nvdimm_ctl()