Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/nfit/
Dintel.c60 } 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-6.1.9/tools/testing/nvdimm/test/
Dnfit.c232 struct nd_intel_fw_info *nd_cmd, unsigned int buf_len, in nd_intel_test_get_fw_info() argument
239 __func__, t, nd_cmd, buf_len, idx); in nd_intel_test_get_fw_info()
241 if (buf_len < sizeof(*nd_cmd)) in nd_intel_test_get_fw_info()
244 nd_cmd->status = 0; in nd_intel_test_get_fw_info()
245 nd_cmd->storage_size = INTEL_FW_STORAGE_SIZE; in nd_intel_test_get_fw_info()
246 nd_cmd->max_send_len = INTEL_FW_MAX_SEND_LEN; in nd_intel_test_get_fw_info()
247 nd_cmd->query_interval = INTEL_FW_QUERY_INTERVAL; in nd_intel_test_get_fw_info()
248 nd_cmd->max_query_time = INTEL_FW_QUERY_MAX_TIME; in nd_intel_test_get_fw_info()
249 nd_cmd->update_cap = 0; in nd_intel_test_get_fw_info()
250 nd_cmd->fis_version = INTEL_FW_FIS_VERSION; in nd_intel_test_get_fw_info()
[all …]
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c708 struct nd_cmd_pkg *nd_cmd; in is_cmd_valid() local
735 nd_cmd = (struct nd_cmd_pkg *)buf; in is_cmd_valid()
737 if (nd_cmd->nd_family != NVDIMM_FAMILY_PAPR) { in is_cmd_valid()
739 nd_cmd->nd_family); in is_cmd_valid()
743 pdsm = (enum papr_pdsm)nd_cmd->nd_command; in is_cmd_valid()
753 if (nd_cmd->nd_size_out < ND_PDSM_HDR_SIZE) { in is_cmd_valid()