Lines Matching refs:apm_cmd
214 ret = smi_data_buf_realloc(sizeof(struct apm_cmd)); in host_control_action_store()
376 struct apm_cmd *apm_cmd; in host_control_smi() local
383 apm_cmd = (struct apm_cmd *)smi_buf.virt; in host_control_smi()
384 apm_cmd->status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
444 while (apm_cmd->status == ESM_STATUS_CMD_UNSUCCESSFUL) { in host_control_smi()
471 struct apm_cmd *apm_cmd; in dcdbas_host_control() local
485 if (smi_buf.size < sizeof(struct apm_cmd)) { in dcdbas_host_control()
491 apm_cmd = (struct apm_cmd *)smi_buf.virt; in dcdbas_host_control()
495 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
496 apm_cmd->reserved = 0; in dcdbas_host_control()
497 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; in dcdbas_host_control()
500 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
501 apm_cmd->reserved = 0; in dcdbas_host_control()
502 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; in dcdbas_host_control()