Lines Matching refs:apm_cmd
203 ret = smi_data_buf_realloc(sizeof(struct apm_cmd)); in host_control_action_store()
353 struct apm_cmd *apm_cmd; in host_control_smi() local
360 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
361 apm_cmd->status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
422 while (apm_cmd->status == ESM_STATUS_CMD_UNSUCCESSFUL) { in host_control_smi()
449 struct apm_cmd *apm_cmd; in dcdbas_host_control() local
463 if (smi_data_buf_size < sizeof(struct apm_cmd)) { in dcdbas_host_control()
469 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()
473 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
474 apm_cmd->reserved = 0; in dcdbas_host_control()
475 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; in dcdbas_host_control()
478 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
479 apm_cmd->reserved = 0; in dcdbas_host_control()
480 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; in dcdbas_host_control()