Searched refs:nd_cmd (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/acpi/nfit/ |
D | intel.c | 18 } nd_cmd = { in intel_security_flags() local 41 rc = nvdimm_ctl(nvdimm, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), NULL); in intel_security_flags() 42 if (rc < 0 || nd_cmd.cmd.status) { in intel_security_flags() 44 nvdimm_name(nvdimm), rc, nd_cmd.cmd.status); in intel_security_flags() 50 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_ENABLED) in intel_security_flags() 54 if (nd_cmd.cmd.extended_state & ND_INTEL_SEC_ESTATE_PLIMIT) in intel_security_flags() 59 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_UNSUPPORTED) in intel_security_flags() 62 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_ENABLED) { in intel_security_flags() 63 if (nd_cmd.cmd.state & ND_INTEL_SEC_STATE_FROZEN || in intel_security_flags() 64 nd_cmd.cmd.state & ND_INTEL_SEC_STATE_PLIMIT) in intel_security_flags() [all …]
|
/Linux-v5.4/tools/testing/nvdimm/test/ |
D | nfit.c | 231 struct nd_intel_fw_info *nd_cmd, unsigned int buf_len, in nd_intel_test_get_fw_info() argument 238 __func__, t, nd_cmd, buf_len, idx); in nd_intel_test_get_fw_info() 240 if (buf_len < sizeof(*nd_cmd)) in nd_intel_test_get_fw_info() 243 nd_cmd->status = 0; in nd_intel_test_get_fw_info() 244 nd_cmd->storage_size = INTEL_FW_STORAGE_SIZE; in nd_intel_test_get_fw_info() 245 nd_cmd->max_send_len = INTEL_FW_MAX_SEND_LEN; in nd_intel_test_get_fw_info() 246 nd_cmd->query_interval = INTEL_FW_QUERY_INTERVAL; in nd_intel_test_get_fw_info() 247 nd_cmd->max_query_time = INTEL_FW_QUERY_MAX_TIME; in nd_intel_test_get_fw_info() 248 nd_cmd->update_cap = 0; in nd_intel_test_get_fw_info() 249 nd_cmd->fis_version = INTEL_FW_FIS_VERSION; in nd_intel_test_get_fw_info() [all …]
|