Lines Matching refs:ret
100 uint32_t ret; in sunxi_system_off() local
105 ret = scpi_sys_power_state(scpi_system_shutdown); in sunxi_system_off()
106 if (ret != SCP_OK) { in sunxi_system_off()
107 ERROR("PSCI: SCPI %s failed: %d\n", "shutdown", ret); in sunxi_system_off()
113 uint32_t ret; in sunxi_system_reset() local
118 ret = scpi_sys_power_state(scpi_system_reboot); in sunxi_system_reset()
119 if (ret != SCP_OK) { in sunxi_system_reset()
120 ERROR("PSCI: SCPI %s failed: %d\n", "reboot", ret); in sunxi_system_reset()
126 uint32_t ret; in sunxi_system_reset2() local
134 ret = scpi_sys_power_state(scpi_system_reset); in sunxi_system_reset2()
135 if (ret != SCP_OK) { in sunxi_system_reset2()
136 ERROR("PSCI: SCPI %s failed: %d\n", "reset", ret); in sunxi_system_reset2()