Lines Matching refs:apm_cmd
200 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()
484 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; in dcdbas_host_control()
487 apm_cmd->command = ESM_APM_POWER_CYCLE; in dcdbas_host_control()
488 apm_cmd->reserved = 0; in dcdbas_host_control()
489 *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; in dcdbas_host_control()