Lines Matching refs:cmd
54 static int scpi_secure_message_receive(scpi_cmd_t *cmd) in scpi_secure_message_receive() argument
58 assert(cmd != NULL); in scpi_secure_message_receive()
76 memcpy(cmd, (void *) SCPI_SHARED_MEM_SCP_TO_AP, sizeof(*cmd)); in scpi_secure_message_receive()
133 scpi_cmd_t *cmd; in scpi_set_css_power_state() local
156 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_set_css_power_state()
157 cmd->id = SCPI_CMD_SET_CSS_POWER_STATE; in scpi_set_css_power_state()
158 cmd->set = SCPI_SET_NORMAL; in scpi_set_css_power_state()
159 cmd->sender = 0; in scpi_set_css_power_state()
160 cmd->size = sizeof(state); in scpi_set_css_power_state()
186 scpi_cmd_t *cmd; in scpi_get_css_power_state() local
211 zeromem(SCPI_CMD_HEADER_AP_TO_SCP, sizeof(*cmd)); in scpi_get_css_power_state()
212 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_get_css_power_state()
213 cmd->id = SCPI_CMD_GET_CSS_POWER_STATE; in scpi_get_css_power_state()
248 scpi_cmd_t *cmd; in scpi_sys_power_state() local
255 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_sys_power_state()
256 cmd->id = SCPI_CMD_SYS_POWER_STATE; in scpi_sys_power_state()
257 cmd->set = 0; in scpi_sys_power_state()
258 cmd->sender = 0; in scpi_sys_power_state()
259 cmd->size = sizeof(*payload_addr); in scpi_sys_power_state()