Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libutils/ext/include/
H A Dconfine_array_index.h89 size_t ret_val = index; in confine_array_index() local
113 : "+r" (ret_val) : "r" (size) : "cc"); in confine_array_index()
120 : "+r" (ret_val) : "r" (size) : "cc"); in confine_array_index()
123 return ret_val; in confine_array_index()
/optee_os/core/arch/arm/include/kernel/
H A Darch_scall.h33 uint32_t ret_val) in scall_set_retval() argument
36 regs->r0 = ret_val; in scall_set_retval()
39 regs->x0 = ret_val; in scall_set_retval()
/optee_os/core/arch/riscv/include/kernel/
H A Darch_scall.h21 uint32_t ret_val) in scall_set_retval() argument
23 regs->a0 = ret_val; in scall_set_retval()
/optee_os/core/arch/arm/plat-rcar/
H A Dhw_rng.c32 uint8_t ret_val = 0; in hw_get_random_bytes() local
54 return ret_val; in hw_get_random_bytes()
/optee_os/core/arch/arm/kernel/
H A Dspmc_sp_handler.c1142 uint32_t ret_val = FFA_INVALID_PARAMETERS; in handle_mem_perm_get() local
1148 ret_val = FFA_DENIED; in handle_mem_perm_get()
1165 ret_val = 0; in handle_mem_perm_get()
1167 ret_val |= FFA_MEM_PERM_RW; in handle_mem_perm_get()
1169 ret_val |= FFA_MEM_PERM_RO; in handle_mem_perm_get()
1172 ret_val |= FFA_MEM_PERM_NX; in handle_mem_perm_get()
1175 spmc_set_args(args, ret_fid, FFA_PARAM_MBZ, ret_val, FFA_PARAM_MBZ, in handle_mem_perm_get()
1189 uint32_t ret_val = FFA_INVALID_PARAMETERS; in handle_mem_perm_set() local
1195 ret_val = FFA_DENIED; in handle_mem_perm_set()
1241 ret_val = FFA_PARAM_MBZ; in handle_mem_perm_set()
[all …]
H A Dthread_spmc.c1560 uint32_t ret_val = FFA_INVALID_PARAMETERS; in handle_notification_bitmap_create() local
1573 ret_val = FFA_INVALID_PARAMETERS; in handle_notification_bitmap_create()
1580 ret_val = FFA_DENIED; in handle_notification_bitmap_create()
1586 ret_val = FFA_OK; in handle_notification_bitmap_create()
1594 spmc_set_args(args, ret_fid, 0, ret_val, 0, 0, 0); in handle_notification_bitmap_create()
1599 uint32_t ret_val = FFA_INVALID_PARAMETERS; in handle_notification_bitmap_destroy() local
1612 ret_val = FFA_INVALID_PARAMETERS; in handle_notification_bitmap_destroy()
1619 ret_val = FFA_DENIED; in handle_notification_bitmap_destroy()
1624 ret_val = FFA_OK; in handle_notification_bitmap_destroy()
1632 spmc_set_args(args, ret_fid, 0, ret_val, 0, 0, 0); in handle_notification_bitmap_destroy()
[all …]
H A Dstmm_sp.c647 uint32_t ret_val) in service_compose_direct_resp() argument
661 SVC_REGS_A3(regs) = ret_val; in service_compose_direct_resp()