Searched refs:nd_cmd (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/acpi/nfit/
H A Dintel.c61 } nd_cmd = { local
84 rc = nvdimm_ctl(nvdimm, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), NULL);
85 if (rc < 0 || nd_cmd.cmd.status) {
87 nvdimm_name(nvdimm), rc, nd_cmd.cmd.status);
93 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_ENABLED)
97 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_PLIMIT)
102 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_UNSUPPORTED)
105 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_ENABLED) {
106 if (nd_cmd
126 } nd_cmd = { local
159 } nd_cmd = { local
201 } nd_cmd = { local
240 } nd_cmd = { local
283 } nd_cmd = { local
324 } nd_cmd = { local
360 } nd_cmd = { local
413 } nd_cmd = { local
524 } nd_cmd = { local
588 } nd_cmd = { local
694 } nd_cmd = { local
[all...]
/linux-master/tools/testing/nvdimm/test/
H A Dnfit.c232 struct nd_intel_fw_info *nd_cmd, unsigned int buf_len,
238 dev_dbg(dev, "%s(nfit_test: %p nd_cmd: %p, buf_len: %u, idx: %d\n",
239 __func__, t, nd_cmd, buf_len, idx);
241 if (buf_len < sizeof(*nd_cmd))
244 nd_cmd->status = 0;
245 nd_cmd->storage_size = INTEL_FW_STORAGE_SIZE;
246 nd_cmd->max_send_len = INTEL_FW_MAX_SEND_LEN;
247 nd_cmd->query_interval = INTEL_FW_QUERY_INTERVAL;
248 nd_cmd->max_query_time = INTEL_FW_QUERY_MAX_TIME;
249 nd_cmd
231 nd_intel_test_get_fw_info(struct nfit_test *t, struct nd_intel_fw_info *nd_cmd, unsigned int buf_len, int idx) argument
257 nd_intel_test_start_update(struct nfit_test *t, struct nd_intel_fw_start *nd_cmd, unsigned int buf_len, int idx) argument
287 nd_intel_test_send_data(struct nfit_test *t, struct nd_intel_fw_send_data *nd_cmd, unsigned int buf_len, int idx) argument
338 nd_intel_test_finish_fw(struct nfit_test *t, struct nd_intel_fw_finish_update *nd_cmd, unsigned int buf_len, int idx) argument
389 nd_intel_test_finish_query(struct nfit_test *t, struct nd_intel_fw_finish_query *nd_cmd, unsigned int buf_len, int idx) argument
451 nfit_test_cmd_get_config_size(struct nd_cmd_get_config_size *nd_cmd, unsigned int buf_len) argument
464 nfit_test_cmd_get_config_data(struct nd_cmd_get_config_data_hdr *nd_cmd, unsigned int buf_len, void *label) argument
485 nfit_test_cmd_set_config_data(struct nd_cmd_set_config_hdr *nd_cmd, unsigned int buf_len, void *label) argument
510 nfit_test_cmd_ars_cap(struct nd_cmd_ars_cap *nd_cmd, unsigned int buf_len) argument
903 nd_intel_test_cmd_set_lss_status(struct nfit_test *t, struct nd_intel_lss *nd_cmd, unsigned int buf_len) argument
942 nd_intel_test_cmd_security_status(struct nfit_test *t, struct nd_intel_get_security_state *nd_cmd, unsigned int buf_len, int dimm) argument
957 nd_intel_test_cmd_unlock_unit(struct nfit_test *t, struct nd_intel_unlock_unit *nd_cmd, unsigned int buf_len, int dimm) argument
983 nd_intel_test_cmd_set_pass(struct nfit_test *t, struct nd_intel_set_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument
1008 nd_intel_test_cmd_freeze_lock(struct nfit_test *t, struct nd_intel_freeze_lock *nd_cmd, unsigned int buf_len, int dimm) argument
1027 nd_intel_test_cmd_disable_pass(struct nfit_test *t, struct nd_intel_disable_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument
1051 nd_intel_test_cmd_secure_erase(struct nfit_test *t, struct nd_intel_secure_erase *nd_cmd, unsigned int buf_len, int dimm) argument
1082 nd_intel_test_cmd_overwrite(struct nfit_test *t, struct nd_intel_overwrite *nd_cmd, unsigned int buf_len, int dimm) argument
1105 nd_intel_test_cmd_query_overwrite(struct nfit_test *t, struct nd_intel_query_overwrite *nd_cmd, unsigned int buf_len, int dimm) argument
1128 nd_intel_test_cmd_master_set_pass(struct nfit_test *t, struct nd_intel_set_master_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument
1155 nd_intel_test_cmd_master_secure_erase(struct nfit_test *t, struct nd_intel_master_secure_erase *nd_cmd, unsigned int buf_len, int dimm) argument
1185 nvdimm_bus_intel_fw_activate_businfo(struct nfit_test *t, struct nd_intel_bus_fw_activate_businfo *nd_cmd, unsigned int buf_len) argument
1227 nvdimm_bus_intel_fw_activate(struct nfit_test *t, struct nd_intel_bus_fw_activate *nd_cmd, unsigned int buf_len) argument
1265 nd_intel_test_cmd_fw_activate_dimminfo(struct nfit_test *t, struct nd_intel_fw_activate_dimminfo *nd_cmd, unsigned int buf_len, int dimm) argument
1301 nd_intel_test_cmd_fw_activate_arm(struct nfit_test *t, struct nd_intel_fw_activate_arm *nd_cmd, unsigned int buf_len, int dimm) argument
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c708 struct nd_cmd_pkg *nd_cmd; local
735 nd_cmd = (struct nd_cmd_pkg *)buf;
737 if (nd_cmd->nd_family != NVDIMM_FAMILY_PAPR) {
739 nd_cmd->nd_family);
743 pdsm = (enum papr_pdsm)nd_cmd->nd_command;
753 if (nd_cmd->nd_size_out < ND_PDSM_HDR_SIZE) {

Completed in 230 milliseconds