Lines Matching refs:apm_cmd
201 ret = smi_data_buf_realloc(sizeof(struct apm_cmd)); in host_control_action_store()
363 struct apm_cmd *apm_cmd; in host_control_smi() local
370 apm_cmd = (struct apm_cmd *)smi_data_buf; in host_control_smi()
371 apm_cmd->status = ESM_STATUS_CMD_UNSUCCESSFUL; in host_control_smi()
432 while (apm_cmd->status == ESM_STATUS_CMD_UNSUCCESSFUL) { in host_control_smi()
459 struct apm_cmd *apm_cmd; in dcdbas_host_control() local
473 if (smi_data_buf_size < sizeof(struct apm_cmd)) { in dcdbas_host_control()
479 apm_cmd = (struct apm_cmd *)smi_data_buf; in dcdbas_host_control()
483 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
484 apm_cmd->reserved = 0; in dcdbas_host_control()
485 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; in dcdbas_host_control()
488 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
489 apm_cmd->reserved = 0; in dcdbas_host_control()
490 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; in dcdbas_host_control()