Searched refs:nd_cmd (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/acpi/nfit/ |
D | intel.c | 60 } nd_cmd = { in intel_security_flags() local 83 rc = nvdimm_ctl(nvdimm, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), NULL); in intel_security_flags() 84 if (rc < 0 || nd_cmd.cmd.status) { in intel_security_flags() 86 nvdimm_name(nvdimm), rc, nd_cmd.cmd.status); in intel_security_flags() 92 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_ENABLED) in intel_security_flags() 96 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_PLIMIT) in intel_security_flags() 101 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_UNSUPPORTED) in intel_security_flags() 104 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_ENABLED) { in intel_security_flags() 105 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_FROZEN || in intel_security_flags() 106 nd_cmd.cmd.state & ND_INTEL_SEC_STATE_PLIMIT) in intel_security_flags() [all …]
|
/Linux-v5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 235 struct nd_intel_fw_info *nd_cmd, unsigned int buf_len, in nd_intel_test_get_fw_info() argument 242 __func__, t, nd_cmd, buf_len, idx); in nd_intel_test_get_fw_info() 244 if (buf_len < sizeof(*nd_cmd)) in nd_intel_test_get_fw_info() 247 nd_cmd->status = 0; in nd_intel_test_get_fw_info() 248 nd_cmd->storage_size = INTEL_FW_STORAGE_SIZE; in nd_intel_test_get_fw_info() 249 nd_cmd->max_send_len = INTEL_FW_MAX_SEND_LEN; in nd_intel_test_get_fw_info() 250 nd_cmd->query_interval = INTEL_FW_QUERY_INTERVAL; in nd_intel_test_get_fw_info() 251 nd_cmd->max_query_time = INTEL_FW_QUERY_MAX_TIME; in nd_intel_test_get_fw_info() 252 nd_cmd->update_cap = 0; in nd_intel_test_get_fw_info() 253 nd_cmd->fis_version = INTEL_FW_FIS_VERSION; in nd_intel_test_get_fw_info() [all …]
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 465 struct nd_cmd_pkg *nd_cmd; in is_cmd_valid() local 492 nd_cmd = (struct nd_cmd_pkg *)buf; in is_cmd_valid() 494 if (nd_cmd->nd_family != NVDIMM_FAMILY_PAPR) { in is_cmd_valid() 496 nd_cmd->nd_family); in is_cmd_valid() 500 pdsm = (enum papr_pdsm)nd_cmd->nd_command; in is_cmd_valid() 510 if (nd_cmd->nd_size_out < ND_PDSM_HDR_SIZE) { in is_cmd_valid()
|