Lines Matching defs:ret
38 static int convert_to_lfa_error(int ret)
40 switch (ret) {
88 int ret = LFA_SUCCESS;
100 ret = plat_lfa_cancel(component_id);
101 if (ret != LFA_SUCCESS) {
108 return ret;
114 int ret = LFA_ACTIVATION_FAILED;
133 ret = plat_lfa_notify_activate(component_id);
134 if (ret != 0) {
159 ret = activator->activate(¤t_activation, ep_address,
167 if (ret == LFA_SUCCESS) {
171 return ret;
176 int ret = LFA_SUCCESS;
211 /* Initialise the flags to start with. Only valid if ret=LFA_SUCCESS. */
214 ret = plat_lfa_load_auth_image(component_id);
215 if (ret == 0) {
218 ret = activator->prime(¤t_activation);
219 if (ret != LFA_SUCCESS) {
224 return ret;
233 * reset ret to 0, as LFA_PRIME must return LFA_SUCCESS if it is
236 if (ret == -EAGAIN) {
237 ret = 0;
241 return convert_to_lfa_error(ret);
275 int ret;
360 ret = lfa_prime(x1, &lfa_flags);
364 if (ret != LFA_SUCCESS) {
365 SMC_RET1(handle, ret);
367 SMC_RET2(handle, ret, lfa_flags);
372 ret = lfa_activate(fw_seq_id, x2, x3, x4);
374 SMC_RET2(handle, ret, 0ULL);
379 ret = lfa_cancel(x1);
380 SMC_RET1(handle, ret);