Lines Matching refs:nvdimm

69 struct nvdimm;
72 struct nvdimm *nvdimm, unsigned int cmd, void *buf,
87 struct nvdimm *nvdimm, unsigned int cmd, void *data);
110 struct nvdimm *nvdimm; member
169 unsigned long (*get_flags)(struct nvdimm *nvdimm,
171 int (*freeze)(struct nvdimm *nvdimm);
172 int (*change_key)(struct nvdimm *nvdimm,
176 int (*unlock)(struct nvdimm *nvdimm,
178 int (*disable)(struct nvdimm *nvdimm,
180 int (*erase)(struct nvdimm *nvdimm,
183 int (*overwrite)(struct nvdimm *nvdimm,
185 int (*query_overwrite)(struct nvdimm *nvdimm);
226 enum nvdimm_fwa_state (*activate_state)(struct nvdimm *nvdimm);
227 enum nvdimm_fwa_result (*activate_result)(struct nvdimm *nvdimm);
228 int (*arm)(struct nvdimm *nvdimm, enum nvdimm_fwa_trigger arg);
241 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm);
242 struct nvdimm *to_nvdimm(struct device *dev);
247 const char *nvdimm_name(struct nvdimm *nvdimm);
248 struct kobject *nvdimm_kobj(struct nvdimm *nvdimm);
249 unsigned long nvdimm_cmd_mask(struct nvdimm *nvdimm);
250 void *nvdimm_provider_data(struct nvdimm *nvdimm);
251 struct nvdimm *__nvdimm_create(struct nvdimm_bus *nvdimm_bus,
257 static inline struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_create()
265 void nvdimm_delete(struct nvdimm *nvdimm);
270 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd,
272 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd,
290 int nvdimm_in_overwrite(struct nvdimm *nvdimm);
293 static inline int nvdimm_ctl(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nvdimm_ctl() argument
296 struct nvdimm_bus *nvdimm_bus = nvdimm_to_bus(nvdimm); in nvdimm_ctl()
299 return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); in nvdimm_ctl()