Lines Matching defs:ret
100 uint32_t ret;
105 ret = scpi_sys_power_state(scpi_system_shutdown);
106 if (ret != SCP_OK) {
107 ERROR("PSCI: SCPI %s failed: %d\n", "shutdown", ret);
115 uint32_t ret;
120 ret = scpi_sys_power_state(scpi_system_reboot);
121 if (ret != SCP_OK) {
122 ERROR("PSCI: SCPI %s failed: %d\n", "reboot", ret);
130 uint32_t ret;
138 ret = scpi_sys_power_state(scpi_system_reset);
139 if (ret != SCP_OK) {
140 ERROR("PSCI: SCPI %s failed: %d\n", "reset", ret);