Lines Matching refs:cmd
55 static void scpi_secure_message_receive(scpi_cmd_t *cmd) in scpi_secure_message_receive() argument
59 assert(cmd != NULL); in scpi_secure_message_receive()
77 memcpy(cmd, (void *) SCPI_SHARED_MEM_SCP_TO_AP, sizeof(*cmd)); in scpi_secure_message_receive()
128 scpi_cmd_t *cmd; in scpi_set_brcm_power_state() local
151 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_set_brcm_power_state()
152 cmd->id = SCPI_CMD_SET_POWER_STATE; in scpi_set_brcm_power_state()
153 cmd->set = SCPI_SET_NORMAL; in scpi_set_brcm_power_state()
154 cmd->sender = 0; in scpi_set_brcm_power_state()
155 cmd->size = sizeof(state); in scpi_set_brcm_power_state()
181 scpi_cmd_t *cmd; in scpi_get_brcm_power_state() local
197 zeromem(SCPI_CMD_HEADER_AP_TO_SCP, sizeof(*cmd)); in scpi_get_brcm_power_state()
198 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_get_brcm_power_state()
199 cmd->id = SCPI_CMD_GET_POWER_STATE; in scpi_get_brcm_power_state()
233 scpi_cmd_t *cmd; in scpi_sys_power_state() local
239 cmd = SCPI_CMD_HEADER_AP_TO_SCP; in scpi_sys_power_state()
240 cmd->id = SCPI_CMD_SYS_POWER_STATE; in scpi_sys_power_state()
241 cmd->set = 0; in scpi_sys_power_state()
242 cmd->sender = 0; in scpi_sys_power_state()
243 cmd->size = sizeof(*payload_addr); in scpi_sys_power_state()