Home
last modified time | relevance | path

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

/libcpu/arm/cortex-m33/
A Dtrustzone.c72 int res = 0; in rt_secure_svc_handle() local
80 res = TZ_AllocModuleContext_S(arg0); in rt_secure_svc_handle()
81 if (res <= 0) in rt_secure_svc_handle()
87 rt_trustzone_current_context = res; in rt_secure_svc_handle()
88 TZ_LoadContext_S(res); in rt_secure_svc_handle()
96 return res; in rt_secure_svc_handle()
/libcpu/c-sky/common/
A Dcsi_instr.h319 uint32_t res = 0; in __RRX() local
324 : "=r"(op1), "=r"(res): "0"(op1), "1"(res): "t0"); in __RRX()
325 return res; in __RRX()
327 uint32_t res = 0; in __RRX()
335 : "=r"(op1), "=r"(res): "0"(op1), "1"(res): "r7"); in __RRX()
336 return res; in __RRX()
/libcpu/aarch64/common/include/
A Dhypercall.h24 struct arm_smccc_res_t res; in rt_hw_hypercall() local
26 arm_smccc_hvc(w0, x1, x2, x3, x4, x5, x6, w7, &res, RT_NULL); in rt_hw_hypercall()
28 return res.a0; in rt_hw_hypercall()
A Dsmccc.h37 unsigned long a6, unsigned long a7, struct arm_smccc_res_t *res,
42 unsigned long a6, unsigned long a7, struct arm_smccc_res_t *res,
/libcpu/mips/common/
A Dmips_regs.h1091 unsigned int res; \
1093 res = read_c0_##name(); \
1094 res |= set; \
1095 write_c0_##name(res); \
1097 return res; \
1103 unsigned int res; \
1106 res &= ~clear; \
1109 return res; \
1115 unsigned int res; \
1118 res &= ~change; \
[all …]
/libcpu/sim/posix/
A Dcpu_port.c155 int res; in thread_run() local
185 int res; in thread_create() local
202 res = pthread_create(&thread->pthread, &attr, &thread_run, (void *)thread); in thread_create()
203 if (res) in thread_create()
205 printf("pthread create faild, <%d>\n", res); in thread_create()
426 int i, res, sig; in mainthread_scheduler() local
532 int res; in mthread_signal_tick() local
/libcpu/aarch64/common/
A Dpsci.c65 struct arm_smccc_res_t res; in psci_smc_call() local
67 arm_smccc_smc(fn, arg0, arg1, arg2, 0, 0, 0, 0, &res, RT_NULL); in psci_smc_call()
69 return res.a0; in psci_smc_call()
74 struct arm_smccc_res_t res; in psci_hvc_call() local
76 arm_smccc_hvc(fn, arg0, arg1, arg2, 0, 0, 0, 0, &res, RT_NULL); in psci_hvc_call()
78 return res.a0; in psci_hvc_call()

Completed in 15 milliseconds