Home
last modified time | relevance | path

Searched defs:nvdimm (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/nvdimm/
H A Dnd-core.h31 struct nvdimm { struct
52 struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) in nvdimm_security_flags() argument
48 fw_opsnvdimm global() argument
H A Ddimm_devs.c27 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_check_config_data() local
176 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_labeling() local
183 struct nvdimm *nvdimm in nvdimm_set_locked() local
190 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_clear_locked() local
197 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_release() local
205 struct nvdimm *nvdimm = container_of(dev, struct nvdimm, dev); to_nvdimm() local
214 struct nvdimm *nvdimm = nd_mapping->nvdimm; to_ndd() local
250 nvdimm_name(struct nvdimm * nvdimm) nvdimm_name() argument
256 nvdimm_kobj(struct nvdimm * nvdimm) nvdimm_kobj() argument
262 nvdimm_cmd_mask(struct nvdimm * nvdimm) nvdimm_cmd_mask() argument
268 nvdimm_provider_data(struct nvdimm * nvdimm) nvdimm_provider_data() argument
279 struct nvdimm *nvdimm = to_nvdimm(dev); commands_show() local
295 struct nvdimm *nvdimm = to_nvdimm(dev); flags_show() local
306 struct nvdimm *nvdimm = to_nvdimm(dev); state_show() local
357 struct nvdimm *nvdimm = to_nvdimm(dev); security_show() local
380 struct nvdimm *nvdimm = to_nvdimm(dev); frozen_show() local
422 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_visible() local
451 struct nvdimm *nvdimm = to_nvdimm(dev); result_show() local
480 struct nvdimm *nvdimm = to_nvdimm(dev); activate_show() local
505 struct nvdimm *nvdimm = to_nvdimm(dev); activate_store() local
540 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_firmware_visible() local
591 struct nvdimm *nvdimm = kzalloc(sizeof(*nvdimm), GFP_KERNEL); __nvdimm_create() local
638 nvdimm_delete(struct nvdimm * nvdimm) nvdimm_delete() argument
658 struct nvdimm *nvdimm = data; shutdown_security_notify() local
665 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_security_setup_events() local
678 nvdimm_in_overwrite(struct nvdimm * nvdimm) nvdimm_in_overwrite() argument
684 nvdimm_security_freeze(struct nvdimm * nvdimm) nvdimm_security_freeze() argument
[all...]
H A Dsecurity.c50 static struct key *nvdimm_request_key(struct nvdimm *nvdimm) in nvdimm_request_key() argument
80 static const void *nvdimm_get_key_payload(struct nvdimm *nvdimm, in nvdimm_get_key_payload() argument
90 static struct key *nvdimm_lookup_user_key(struct nvdimm *nvdimm, in nvdimm_lookup_user_key() argument
120 nvdimm_get_user_key_payload(struct nvdimm * nvdimm,key_serial_t id,int subclass,struct key ** key) nvdimm_get_user_key_payload() argument
139 nvdimm_key_revalidate(struct nvdimm * nvdimm) nvdimm_key_revalidate() argument
165 __nvdimm_security_unlock(struct nvdimm * nvdimm) __nvdimm_security_unlock() argument
221 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_security_unlock() local
230 check_security_state(struct nvdimm * nvdimm) check_security_state() argument
248 security_disable(struct nvdimm * nvdimm,unsigned int keyid,enum nvdimm_passphrase_type pass_type) security_disable() argument
296 security_update(struct nvdimm * nvdimm,unsigned int keyid,unsigned int new_keyid,enum nvdimm_passphrase_type pass_type) security_update() argument
346 security_erase(struct nvdimm * nvdimm,unsigned int keyid,enum nvdimm_passphrase_type pass_type) security_erase() argument
390 security_overwrite(struct nvdimm * nvdimm,unsigned int keyid) security_overwrite() argument
436 __nvdimm_security_overwrite_query(struct nvdimm * nvdimm) __nvdimm_security_overwrite_query() argument
490 struct nvdimm *nvdimm = nvdimm_security_overwrite_query() local
523 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_security_store() local
[all...]
H A Dregion_devs.c26 static int nvdimm_map_flush(struct device *dev, struct nvdimm *nvdimm, int dimm, in nvdimm_map_flush() argument
69 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_invalidate_memregion() local
97 struct nvdimm *nvdimm = nd_mapping->nvdimm; nd_region_invalidate_memregion() local
115 struct nvdimm *nvdimm = nd_mapping->nvdimm; nd_region_activate() local
146 struct nvdimm *nvdimm = nd_mapping->nvdimm; nd_region_activate() local
178 struct nvdimm *nvdimm = nd_mapping->nvdimm; nd_region_release() local
226 struct nvdimm *nvdimm = nd_mapping->nvdimm; nd_region_to_nstype() local
710 struct nvdimm *nvdimm; mappingN() local
1011 struct nvdimm *nvdimm = mapping->nvdimm; nd_region_create() local
1055 struct nvdimm *nvdimm = mapping->nvdimm; nd_region_create() local
1200 struct nvdimm *nvdimm = nd_mapping->nvdimm; nvdimm_has_flush() local
[all...]
H A Dbus.c328 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm) in nvdimm_to_bus() argument
866 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_in_size() argument
893 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_out_size() argument
999 nd_cmd_clear_to_send(struct nvdimm_bus * nvdimm_bus,struct nvdimm * nvdimm,unsigned int cmd,void * data) nd_cmd_clear_to_send() argument
1026 __nd_ioctl(struct nvdimm_bus * nvdimm_bus,struct nvdimm * nvdimm,int read_only,unsigned int ioctl_cmd,unsigned long arg) __nd_ioctl() argument
1220 struct nvdimm *nvdimm = to_nvdimm(dev); match_dimm() local
1234 struct nvdimm *nvdimm = NULL; nd_ioctl() local
[all...]
H A Dnamespace_devs.c611 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local
913 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local
1724 struct nvdimm *nvdim in create_namespace_pmem() local
2073 struct nvdimm *nvdimm = nd_mapping->nvdimm; deactivate_labels() local
2093 struct nvdimm *nvdimm = nd_mapping->nvdimm; init_active_labels() local
[all...]
H A Dnd.h388 struct nvdimm *nvdimm; member
/linux/drivers/acpi/nfit/
H A Dintel.c53 static unsigned long intel_security_flags(struct nvdimm *nvdimm, in intel_security_flags() argument
119 static int intel_security_freeze(struct nvdimm *nvdimm) in intel_security_freeze() argument
145 intel_security_change_key(struct nvdimm * nvdimm,const struct nvdimm_key_data * old_data,const struct nvdimm_key_data * new_data,enum nvdimm_passphrase_type ptype) intel_security_change_key() argument
191 intel_security_unlock(struct nvdimm * nvdimm,const struct nvdimm_key_data * key_data) intel_security_unlock() argument
228 intel_security_disable(struct nvdimm * nvdimm,const struct nvdimm_key_data * key_data) intel_security_disable() argument
267 intel_security_erase(struct nvdimm * nvdimm,const struct nvdimm_key_data * key,enum nvdimm_passphrase_type ptype) intel_security_erase() argument
311 intel_security_query_overwrite(struct nvdimm * nvdimm) intel_security_query_overwrite() argument
345 intel_security_overwrite(struct nvdimm * nvdimm,const struct nvdimm_key_data * nkey) intel_security_overwrite() argument
571 intel_fwa_dimminfo(struct nvdimm * nvdimm,struct nd_intel_fw_activate_dimminfo * info) intel_fwa_dimminfo() argument
593 intel_fwa_state(struct nvdimm * nvdimm) intel_fwa_state() argument
660 intel_fwa_result(struct nvdimm * nvdimm) intel_fwa_result() argument
675 intel_fwa_arm(struct nvdimm * nvdimm,enum nvdimm_fwa_trigger arm) intel_fwa_arm() argument
[all...]
H A Dcore.c187 static int xlat_nvdimm_status(struct nvdimm *nvdimm, void *buf, unsigned int cmd, in xlat_nvdimm_status() argument
224 static int xlat_status(struct nvdimm *nvdimm, void *buf, unsigned int cmd, in xlat_status() argument
395 static bool payload_dumpable(struct nvdimm *nvdimm, unsigned int func) in payload_dumpable() argument
437 acpi_nfit_ctl(struct nvdimm_bus_descriptor * nd_desc,struct nvdimm * nvdimm,unsigned int cmd,void * buf,unsigned int buf_len,int * cmd_rc) acpi_nfit_ctl() argument
1371 struct nvdimm *nvdimm = to_nvdimm(dev); to_nfit_memdev() local
1379 struct nvdimm *nvdimm = to_nvdimm(dev); to_nfit_dcr() local
1458 num_nvdimm_formats(struct nvdimm * nvdimm) num_nvdimm_formats() argument
1485 struct nvdimm *nvdimm = to_nvdimm(dev); format1_show() local
1521 struct nvdimm *nvdimm = to_nvdimm(dev); formats_show() local
1539 struct nvdimm *nvdimm = to_nvdimm(dev); family_show() local
1551 struct nvdimm *nvdimm = to_nvdimm(dev); dsm_mask_show() local
1563 struct nvdimm *nvdimm = to_nvdimm(dev); flags_show() local
1584 struct nvdimm *nvdimm = to_nvdimm(dev); id_show() local
1594 struct nvdimm *nvdimm = to_nvdimm(dev); dirty_shutdown_show() local
1626 struct nvdimm *nvdimm = to_nvdimm(dev); acpi_nfit_dimm_attr_visible() local
1993 struct nvdimm *nvdimm; acpi_nfit_register_dimms() local
2283 struct nvdimm *nvdimm = mapping->nvdimm; acpi_nfit_init_interleave_set() local
2325 struct nvdimm *nvdimm = mapping->nvdimm; acpi_nfit_init_interleave_set() local
2558 struct nvdimm *nvdimm = acpi_nfit_dimm_by_handle(acpi_desc, acpi_nfit_init_mapping() local
3165 __acpi_nfit_clear_to_send(struct nvdimm_bus_descriptor * nd_desc,struct nvdimm * nvdimm,unsigned int cmd) __acpi_nfit_clear_to_send() argument
3191 acpi_nfit_clear_to_send(struct nvdimm_bus_descriptor * nd_desc,struct nvdimm * nvdimm,unsigned int cmd,void * buf) acpi_nfit_clear_to_send() argument
[all...]
H A Dnfit.h208 struct nvdimm *nvdimm; member
/linux/drivers/cxl/
H A Dsecurity.c12 static unsigned long cxl_pmem_get_security_flags(struct nvdimm *nvdimm, in cxl_pmem_get_security_flags() argument
67 static int cxl_pmem_security_change_key(struct nvdimm *nvdimm, in cxl_pmem_security_change_key() argument
94 static int __cxl_pmem_security_disable(struct nvdimm *nvdimm, in __cxl_pmem_security_disable() argument
119 static int cxl_pmem_security_disable(struct nvdimm *nvdim argument
125 cxl_pmem_security_disable_master(struct nvdimm * nvdimm,const struct nvdimm_key_data * key_data) cxl_pmem_security_disable_master() argument
131 cxl_pmem_security_freeze(struct nvdimm * nvdimm) cxl_pmem_security_freeze() argument
143 cxl_pmem_security_unlock(struct nvdimm * nvdimm,const struct nvdimm_key_data * key_data) cxl_pmem_security_unlock() argument
167 cxl_pmem_security_passphrase_erase(struct nvdimm * nvdimm,const struct nvdimm_key_data * key,enum nvdimm_passphrase_type ptype) cxl_pmem_security_passphrase_erase() argument
[all...]
H A Dpmem.c21 static void unregister_nvdimm(void *nvdimm) in unregister_nvdimm() argument
28 struct nvdimm *nvdimm = to_nvdimm(dev); in provider_show() local
37 struct nvdimm *nvdimm = to_nvdimm(dev); in id_show() local
48 struct nvdimm *nvdimm in dirty_shutdown_show() local
68 struct nvdimm *nvdimm = to_nvdimm(dev); cxl_dimm_visible() local
129 struct nvdimm *nvdimm; cxl_nvdimm_probe() local
263 cxl_pmem_nvdimm_ctl(struct nvdimm * nvdimm,unsigned int cmd,void * buf,unsigned int buf_len) cxl_pmem_nvdimm_ctl() argument
287 cxl_pmem_ctl(struct nvdimm_bus_descriptor * nd_desc,struct nvdimm * nvdimm,unsigned int cmd,void * buf,unsigned int buf_len,int * cmd_rc) cxl_pmem_ctl() argument
385 struct nvdimm *nvdimm; cxl_pmem_region_probe() local
[all...]
/linux/tools/testing/nvdimm/test/
H A Dndtest.c245 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in ndtest_ctl() argument
571 struct nvdimm *nvdimm = to_nvdimm(dev); in phys_id_show() local
588 struct nvdimm *nvdim in id_show() local
599 struct nvdimm *nvdimm = to_nvdimm(dev); nvdimm_handle_show() local
627 struct nvdimm *nvdimm = to_nvdimm(dev); formats_show() local
637 struct nvdimm *nvdimm = to_nvdimm(dev); format_show() local
658 struct nvdimm *nvdimm = to_nvdimm(dev); ndtest_nvdimm_attr_visible() local
670 struct nvdimm *nvdimm = to_nvdimm(dev); flags_show() local
[all...]
H A Dndtest.h34 struct nvdimm *nvdimm; member
H A Dnfit.c667 struct nvdimm *nvdimm = NULL; in nfit_test_search_spa() local
1326 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nfit_ctl_dbg() argument
1349 nfit_test_ctl(struct nvdimm_bus_descriptor * nd_desc,struct nvdimm * nvdimm,unsigned int cmd,void * buf,unsigned int buf_len,int * cmd_rc) nfit_test_ctl() argument
2874 struct nvdimm *nvdimm; nfit_ctl_test() local
[all...]
/linux/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c66 struct nvdimm *nvdimm; member
666 static int is_cmd_valid(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in is_cmd_valid() argument
1005 struct nvdimm *nvdim in papr_scm_ndctl() argument
1170 struct nvdimm *nvdimm = to_nvdimm(dev); papr_nd_attribute_visible() local
[all...]
/linux/include/linux/
H A Dlibnvdimm.h120 struct nvdimm *nvdimm; member
308 nvdimm_ctl(struct nvdimm * nvdimm,unsigned int cmd,void * buf,unsigned int buf_len,int * cmd_rc) nvdimm_ctl() argument
[all...]
H A Dnd.h70 static inline int register_nvdimm_pmu(struct nvdimm_pmu *nvdimm, struct platform_device *pdev) in register_nvdimm_pmu() argument