Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 25 of 30) sorted by relevance

12

/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_multi.c95 type = (ltc_asn1_type)va_arg(a2, int); in _der_decode_sequence_va()
96 size = va_arg(a2, unsigned long); in _der_decode_sequence_va()
97 data = va_arg(a2, void*); in _der_decode_sequence_va()
146 va_list a1, a2; in der_decode_sequence_multi() local
152 va_start(a2, inlen); in der_decode_sequence_multi()
154 err = _der_decode_sequence_va(in, inlen, a1, a2, LTC_DER_SEQ_SEQUENCE | LTC_DER_SEQ_RELAXED); in der_decode_sequence_multi()
156 va_end(a2); in der_decode_sequence_multi()
172 va_list a1, a2; in der_decode_sequence_multi_ex() local
178 va_start(a2, flags); in der_decode_sequence_multi_ex()
180 err = _der_decode_sequence_va(in, inlen, a1, a2, flags); in der_decode_sequence_multi_ex()
[all …]
/optee_os/core/arch/arm/sm/
A Dpsci.c144 uint32_t a2 = args->a2; in tee_psci_handler() local
152 args->a0 = psci_cpu_suspend(a1, a2, a3, nsec); in tee_psci_handler()
158 args->a0 = psci_cpu_on(a1, a2, a3); in tee_psci_handler()
161 args->a0 = psci_affinity_info(a1, a2); in tee_psci_handler()
186 args->a0 = psci_system_reset2(a1, a2); in tee_psci_handler()
192 args->a0 = psci_mem_chk_range(a1, a2); in tee_psci_handler()
195 args->a0 = psci_node_hw_state(a1, a2); in tee_psci_handler()
198 args->a0 = psci_system_suspend(a1, a2, nsec); in tee_psci_handler()
A Dstd_smc.c61 args->a2 = (uuid.clockSeqAndNode[3] << 24) | in smc_std_handler()
/optee_os/core/arch/arm/tee/
A Dentry_fast.c23 args->a2 = default_nsec_shm_size; in tee_entry_get_shm_config()
38 reg_pair_from_64(pa, &args->a2, &args->a3); in tee_entry_fastcall_l2cc_mutex()
41 pa = reg_pair_to_64(args->a2, args->a3); in tee_entry_fastcall_l2cc_mutex()
98 args->a2 = NOTIF_VALUE_MAX; in tee_entry_exchange_capabilities()
128 args->a2 = cookie; in tee_entry_disable_shm_cache()
204 args->a2 = 0; in get_async_notif_value()
206 args->a2 |= OPTEE_SMC_ASYNC_NOTIF_VALID; in get_async_notif_value()
208 args->a2 |= OPTEE_SMC_ASYNC_NOTIF_PENDING; in get_async_notif_value()
315 args->a2 = OPTEE_MSG_UID_2; in tee_entry_get_api_uuid()
329 args->a2 = OPTEE_MSG_OS_OPTEE_UUID_2; in tee_entry_get_os_uuid()
[all …]
/optee_os/lib/libutils/isoc/newlib/
A Dmemcmp.c101 unsigned long *a2;
112 a2 = (unsigned long *)s2;
114 if (*a1 != *a2)
117 a2++;
124 s2 = (unsigned char *)a2;
A Dstrcmp.c107 unsigned long *a2;
115 a2 = (unsigned long *)s2;
116 while (*a1 == *a2) {
125 a2++;
133 s2 = (char *)a2;
A Dstrncmp.c116 unsigned long *a2;
126 a2 = (unsigned long*)s2;
127 while (n >= sizeof (long) && *a1 == *a2)
137 a2++;
142 s2 = (char*)a2;
/optee_os/core/arch/arm/kernel/
A Dthread_private.h128 void thread_std_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3,
130 uint32_t __thread_std_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2,
191 void thread_alloc_and_run(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3,
194 uint32_t a2, uint32_t a3);
240 uint32_t thread_handle_std_smc(uint32_t a0, uint32_t a1, uint32_t a2,
A Dthread.c474 thread->regs.r2 = a2; in init_regs()
505 thread->regs.x[2] = a2; in init_regs()
579 __thread_alloc_and_run(a0, a1, a2, a3, a4, a5, 0, 0, in thread_alloc_and_run()
594 uint32_t a1, uint32_t a2, uint32_t a3) in copy_a0_to_a3() argument
602 regs->r2 = a2; in copy_a0_to_a3()
609 uint32_t a1, uint32_t a2, uint32_t a3) in copy_a0_to_a3() argument
617 regs->x[2] = a2; in copy_a0_to_a3()
673 uint32_t a2, uint32_t a3) in thread_resume_from_rpc() argument
709 copy_a0_to_a3(&threads[n].regs, a0, a1, a2, a3); in thread_resume_from_rpc()
1448 regs->r2 = a2; in set_ctx_regs()
[all …]
A Dthread_spmc.c92 .a2 = w2, in spmc_set_args()
215 tx_pa = args->a2; in spmc_handle_rxtx_map()
414 uuid_array[1] = args->a2; in spmc_handle_partition_info_get()
925 cookie = reg_pair_to_64(args->a2, args->a1); in handle_mem_reclaim()
1067 uint32_t a2, uint32_t a3, in __thread_std_smc_entry() argument
1331 .a2 = (vaddr_t)rxtx->rx, in spmc_rxtx_map()
1338 EMSG("rxtx map failed with error %ld", args.a2); in spmc_rxtx_map()
1354 EMSG("Get id failed with error %ld", args.a2); in spmc_get_id()
1360 return args.a2; in spmc_get_id()
1373 .a2 = size, /* Frag Length == Total length */ in spmc_retrieve_req()
[all …]
A Dthread_optee_smc.c50 uint32_t thread_handle_std_smc(uint32_t a0, uint32_t a1, uint32_t a2, in thread_handle_std_smc() argument
67 thread_resume_from_rpc(a3, a1, a2, a4, a5); in thread_handle_std_smc()
70 thread_alloc_and_run(a0, a1, a2, a3, 0, 0); in thread_handle_std_smc()
156 static uint32_t std_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2, in std_smc_entry() argument
170 parg = reg_pair_to_64(a1, a2); in std_smc_entry()
202 uint32_t __weak __thread_std_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2, in __thread_std_smc_entry() argument
211 rv = std_smc_entry(a0, a1, a2, a3); in __thread_std_smc_entry()
A Dspmc_sp_handler.c30 args->a2 = error; in ffa_set_error()
44 if (args->a2 != FFA_PARAM_MBZ) in ffa_get_dst()
143 args->a2 = ret_w2; in spmc_sp_handle_mem_share()
581 args->a2 = tx_len; in ffa_mem_retrieve()
688 uint64_t handle = reg_pair_to_64(args->a2, args->a1); in ffa_mem_reclaim()
748 if (args->a2 != FFA_PARAM_MBZ) { in ffa_handle_sp_direct_req()
954 args->a2 = caller_sp->endpoint_id; in spmc_sp_msg_handler()
A Dlink_dummies_paged.c37 uint32_t a2 __unused, uint32_t a3 __unused, in __thread_std_smc_entry()
A Dsecure_partition.c374 ctx->sp_regs.x[2] = args->a2; in sp_enter()
385 args->a2 = ctx->sp_regs.x[2]; in sp_enter()
/optee_os/core/arch/arm/include/sm/
A Dsm.h132 void vector_std_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3,
134 void vector_fast_smc_entry(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3,
136 void vector_fiq_entry(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3,
/optee_os/core/arch/arm/plat-ti/
A Dsm_platform_handler_a9.c65 smc_args->a1 + smc_args->a2); in ti_sip_handler()
78 io_write32(pl310_base() + PL310_DATA_RAM_CTRL, smc_args->a2); in ti_sip_handler()
/optee_os/lib/libutils/isoc/arch/arm/
A Dsetjmp_a32.S244 stmdb sp!, { a1, a2, lr }
251 ldmia sp!, { a1, a2, lr }
272 movs a1, a2
/optee_os/core/arch/arm/include/kernel/
A Dthread.h80 uint32_t a2; /* Parameter */ member
92 uint64_t a2; /* Parameter */ member
500 unsigned long a2, unsigned long a3, unsigned long user_sp,
723 unsigned long a2, unsigned long a3);
A Dspmc_sp_handler.h17 void spmc_sp_thread_entry(uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3);
/optee_os/core/arch/arm/plat-zynq7k/
A Dmain.c222 args->a0 = write_slcr(args->a1, args->a2); in tee_entry_fast()
225 args->a0 = read_slcr(args->a1, &args->a2); in tee_entry_fast()
/optee_os/core/arch/arm/plat-stm32mp1/nsec-service/
A Dstm32mp1_svc_setup.c30 args->a2 = STM32_SIP_SVC_UID_2; in sip_service()
A Dbsec_svc.c18 uint32_t otp_id = args->a2; in bsec_main()
/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/
A Dtwofish.c98 unsigned char a0,b0,a1,b1,a2,b2,a3,b3,a4,b4,y; in _sbox() local
111 a2 = qbox[i][0][(int)a1]; in _sbox()
115 a3 = a2 ^ b2; in _sbox()
118 b3 = (a2 ^ ((b2<<3)|(b2>>1)) ^ (a2<<3)) & 15; in _sbox()
/optee_os/core/arch/arm/plat-rzn1/
A Dsm_platform_handler.c74 args->a0 = oem_sysreg(args->a1, args->a2, &args->a3); in oem_service()
/optee_os/core/drivers/
A Dzynqmp_pm.c35 .a2 = reg_pair_to_64(arg3, arg2), in zynqmp_sip_call()

Completed in 37 milliseconds

12