Home
last modified time | relevance | path

Searched refs:apm_cmd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/platform/x86/
Ddcdbas.c200 ret = smi_data_buf_realloc(sizeof(struct apm_cmd)); in host_control_action_store()
362 struct apm_cmd *apm_cmd; in host_control_smi() local
369 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
370 apm_cmd->status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
431 while (apm_cmd->status == ESM_STATUS_CMD_UNSUCCESSFUL) { in host_control_smi()
458 struct apm_cmd *apm_cmd; in dcdbas_host_control() local
472 if (smi_data_buf_size < sizeof(struct apm_cmd)) { in dcdbas_host_control()
478 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()
482 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
483 apm_cmd->reserved = 0; in dcdbas_host_control()
[all …]
Ddcdbas.h77 struct apm_cmd { struct