Lines Matching defs:ret
55 enum pm_ret_status ret;
61 ret = pm_get_callbackdata(payload, ARRAY_SIZE(payload), 0, 0);
62 if (ret != PM_RET_SUCCESS) {
63 payload[0] = ret;
137 int32_t ret = 0;
150 ret = request_intr_type_el3(PLAT_VERSAL_IPI_IRQ, ipi_fiq_handler);
151 if (ret != 0) {
156 return ret;
177 enum pm_ret_status ret;
185 ret = pm_api_ioctl(pm_arg[0], pm_arg[1], pm_arg[2],
188 if (ret == PM_RET_ERROR_NOTSUPPORTED)
191 SMC_RET1(handle, (uint64_t)ret | ((uint64_t)value) << 32U);
198 ret = pm_query_data(pm_arg[0], pm_arg[1], pm_arg[2],
201 SMC_RET2(handle, (uint64_t)ret | ((uint64_t)data[0] << 32U),
209 ret = pm_feature_check(pm_arg[0], result, security_flag);
210 SMC_RET2(handle, (uint64_t)ret | ((uint64_t)result[0] << 32U),
216 ret = pm_load_pdi(pm_arg[0], pm_arg[1], pm_arg[2],
218 SMC_RET1(handle, (uint64_t)ret);
246 enum pm_ret_status ret;
251 ret = pm_self_suspend(pm_arg[0], pm_arg[1], pm_arg[2],
253 SMC_RET1(handle, (u_register_t)ret);
256 ret = pm_force_powerdown(pm_arg[0], pm_arg[1], security_flag);
257 SMC_RET1(handle, (u_register_t)ret);
260 ret = pm_req_suspend(pm_arg[0], pm_arg[1], pm_arg[2],
262 SMC_RET1(handle, (u_register_t)ret);
265 ret = pm_abort_suspend(pm_arg[0], security_flag);
266 SMC_RET1(handle, (u_register_t)ret);
269 ret = pm_system_shutdown(pm_arg[0], pm_arg[1], security_flag);
270 SMC_RET1(handle, (u_register_t)ret);
298 int32_t ret;
300 ret = pm_register_sgi(pm_arg[0], pm_arg[1]);
301 if (ret != 0) {
311 enum pm_ret_status ret;
313 ret = pm_get_callbackdata(result, ARRAY_SIZE(result), security_flag, 1U);
314 if (ret != 0) {
315 result[0] = ret;
352 enum pm_ret_status ret;
355 ret = pm_handle_eemi_call(security_flag, api_id, pm_arg[0], pm_arg[1],
367 ret == PM_RET_SUCCESS) {
373 SMC_RET2(handle, (uint64_t)ret | ((uint64_t)buf[0] << 32U),
401 uintptr_t ret;
431 ret = eemi_for_compatibility(api_id, pm_arg, handle, security_flag);
432 if (ret != (uintptr_t)0) {
433 return ret;
436 ret = eemi_psci_debugfs_handler(api_id, pm_arg, handle, flags);
437 if (ret != (uintptr_t)0) {
438 return ret;
441 ret = TF_A_specific_handler(api_id, pm_arg, handle, security_flag);
442 if (ret != (uintptr_t)0) {
443 return ret;
446 ret = eemi_handler(api_id, pm_arg, handle, security_flag);
448 return ret;