Lines Matching refs:cmd
48 static void scpi_secure_message_receive(scpi_cmd_t *cmd) in scpi_secure_message_receive() argument
52 assert(cmd != NULL); in scpi_secure_message_receive()
70 memcpy(cmd, (void *) SCPI_SHARED_MEM_SCP_TO_AP, sizeof(*cmd)); in scpi_secure_message_receive()
119 scpi_cmd_t *cmd; in scpi_set_sq_power_state() local
132 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_set_sq_power_state()
133 cmd->id = SCPI_CMD_SET_POWER_STATE; in scpi_set_sq_power_state()
134 cmd->set = SCPI_SET_NORMAL; in scpi_set_sq_power_state()
135 cmd->sender = 0; in scpi_set_sq_power_state()
136 cmd->size = sizeof(state); in scpi_set_sq_power_state()
151 scpi_cmd_t *cmd; in scpi_sys_power_state() local
158 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_sys_power_state()
159 cmd->id = SCPI_CMD_SYS_POWER_STATE; in scpi_sys_power_state()
160 cmd->set = 0; in scpi_sys_power_state()
161 cmd->sender = 0; in scpi_sys_power_state()
162 cmd->size = sizeof(*payload_addr); in scpi_sys_power_state()
177 scpi_cmd_t *cmd; in scpi_get_draminfo() local
179 scpi_cmd_t cmd; in scpi_get_draminfo() member
187 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_get_draminfo()
188 cmd->id = SCPI_CMD_GET_DRAMINFO; in scpi_get_draminfo()
189 cmd->set = SCPI_SET_EXTENDED; in scpi_get_draminfo()
190 cmd->sender = 0; in scpi_get_draminfo()
191 cmd->size = 0; in scpi_get_draminfo()
215 if (response.cmd.status == SCP_OK) in scpi_get_draminfo()
218 return response.cmd.status; in scpi_get_draminfo()