Lines Matching refs:apm_cmd
202 ret = smi_data_buf_realloc(sizeof(struct apm_cmd)); in host_control_action_store()
352 struct apm_cmd *apm_cmd; in host_control_smi() local
359 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
360 apm_cmd->status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
421 while (apm_cmd->status == ESM_STATUS_CMD_UNSUCCESSFUL) { in host_control_smi()
448 struct apm_cmd *apm_cmd; in dcdbas_host_control() local
462 if (smi_data_buf_size < sizeof(struct apm_cmd)) { in dcdbas_host_control()
468 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()
472 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
473 apm_cmd->reserved = 0; in dcdbas_host_control()
474 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; in dcdbas_host_control()
477 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
478 apm_cmd->reserved = 0; in dcdbas_host_control()
479 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; in dcdbas_host_control()