Home
last modified time | relevance | path

Searched refs:a1 (Results 1 – 25 of 37) sorted by relevance

12

/optee_os/lib/libutils/isoc/arch/arm/
A Dsetjmp_a32.S208 str sp, [a1], #4
209 str lr, [a1], #4
215 sfmea f4, 4, [a1]
225 add a1, a1, #48
231 mov a1, #0
249 add a1, a1, #92
260 ldr sp, [a1], #4
261 ldr lr, [a1], #4
267 lfmfd f4, 4, [a1]
272 movs a1, a2
[all …]
/optee_os/core/arch/arm/tee/
A Dentry_fast.c22 args->a1 = default_nsec_shm_paddr; in tee_entry_get_shm_config()
35 switch (args->a1) { in tee_entry_fastcall_l2cc_mutex()
89 args->a1 = 0; in tee_entry_exchange_capabilities()
127 args->a1 = cookie >> 32; in tee_entry_disable_shm_cache()
154 args->a1 = CFG_NUM_THREADS; in tee_entry_get_thread_count()
160 uint16_t guest_id = args->a1; in tee_entry_vm_created()
176 uint16_t guest_id = args->a1; in tee_entry_vm_destroyed()
314 args->a1 = OPTEE_MSG_UID_1; in tee_entry_get_api_uuid()
322 args->a1 = OPTEE_MSG_REVISION_MINOR; in tee_entry_get_api_revision()
328 args->a1 = OPTEE_MSG_OS_OPTEE_UUID_1; in tee_entry_get_os_uuid()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_multi.c43 type = (ltc_asn1_type)va_arg(a1, int); in _der_decode_sequence_va()
44 size = va_arg(a1, unsigned long); in _der_decode_sequence_va()
45 data = va_arg(a1, void*); in _der_decode_sequence_va()
146 va_list a1, a2; in der_decode_sequence_multi() local
151 va_start(a1, 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()
157 va_end(a1); in der_decode_sequence_multi()
172 va_list a1, a2; in der_decode_sequence_multi_ex() local
177 va_start(a1, 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.c143 uint32_t a1 = args->a1; 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()
164 args->a0 = psci_migrate(a1); in tee_psci_handler()
183 args->a0 = psci_features(a1); in tee_psci_handler()
186 args->a0 = psci_system_reset2(a1, a2); in tee_psci_handler()
189 args->a0 = psci_mem_protect(a1); 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()
[all …]
A Dstd_smc.c60 args->a1 = (uuid.timeHiAndVersion << 16) | uuid.timeMid; in smc_std_handler()
72 args->a1 = STD_SVC_VERSION_MINOR; in smc_std_handler()
/optee_os/core/arch/arm/plat-ti/
A Dsm_platform_handler_a9.c60 io_write32(pl310_base() + PL310_DEBUG_CTRL, smc_args->a1); in ti_sip_handler()
64 arm_cl2_cleaninvbypa(pl310_base(), smc_args->a1, in ti_sip_handler()
65 smc_args->a1 + smc_args->a2); in ti_sip_handler()
69 io_write32(pl310_base() + PL310_CTRL, smc_args->a1); in ti_sip_handler()
73 io_write32(pl310_base() + PL310_AUX_CTRL, smc_args->a1); in ti_sip_handler()
77 io_write32(pl310_base() + PL310_TAG_RAM_CTRL, smc_args->a1); in ti_sip_handler()
82 io_write32(pl310_base() + PL310_PREFETCH_CTRL, smc_args->a1); in ti_sip_handler()
A Dsm_platform_handler_a15.c43 write_actlr(smc_args->a1); in ti_sip_handler()
48 write_cntfrq(smc_args->a1); in ti_sip_handler()
/optee_os/lib/libutils/isoc/newlib/
A Dstrcmp.c106 unsigned long *a1;
114 a1 = (unsigned long *)s1;
116 while (*a1 == *a2) {
121 if (DETECTNULL(*a1))
124 a1++;
132 s1 = (char *)a1;
A Dstrncmp.c115 unsigned long *a1;
125 a1 = (unsigned long*)s1;
127 while (n >= sizeof (long) && *a1 == *a2)
133 if (n == 0 || DETECTNULL (*a1))
136 a1++;
141 s1 = (char*)a1;
A Dmemcmp.c100 unsigned long *a1;
111 a1 = (unsigned long *)s1;
114 if (*a1 != *a2)
116 a1++;
123 s1 = (unsigned char *)a1;
/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,
193 void thread_resume_from_rpc(uint32_t thread_id, uint32_t a0, uint32_t a1,
240 uint32_t thread_handle_std_smc(uint32_t a0, uint32_t a1, uint32_t a2,
A Dthread.c473 thread->regs.r1 = a1; in init_regs()
504 thread->regs.x[1] = a1; in init_regs()
601 regs->r1 = a1; in copy_a0_to_a3()
616 regs->x[1] = a1; in copy_a0_to_a3()
1447 regs->r1 = a1; in set_ctx_regs()
1456 regs->x[1] = a1; in set_ctx_regs()
1722 unsigned long a1 __unused) in thread_cpu_off_handler()
1729 unsigned long a1 __unused) in thread_cpu_suspend_handler()
1736 unsigned long a1 __unused) in thread_cpu_resume_handler()
1743 unsigned long a1 __unused) in thread_system_off_handler()
[all …]
A Dthread_spmc.c91 .a1 = src_dst, in spmc_set_args()
116 switch (args->a1) { in handle_features()
216 rx_pa = args->a1; in spmc_handle_rxtx_map()
413 uuid_array[0] = args->a1; in spmc_handle_partition_info_get()
487 swap_src_dst(args->a1), 0, in handle_blocking_call()
493 swap_src_dst(args->a1), 0, in handle_blocking_call()
499 swap_src_dst(args->a1), 0, 0, in handle_blocking_call()
504 swap_src_dst(args->a1), 0, in handle_blocking_call()
852 READ_ONCE(args->a1)); in handle_mem_frag_tx()
1330 .a1 = (vaddr_t)rxtx->tx, in spmc_rxtx_map()
[all …]
A Dspmc_sp_handler.c47 s = sp_get_session(FFA_DST(args->a1)); in ffa_get_dst()
57 if (FFA_SRC(args->a1) != caller->endpoint_id) { in ffa_get_dst()
139 res = spmc_sp_add_share(rxtx, args->a1, &global_handle, owner_sp); in spmc_sp_handle_mem_share()
144 args->a1 = FFA_PARAM_MBZ; in spmc_sp_handle_mem_share()
580 args->a1 = tx_len; in ffa_mem_retrieve()
688 uint64_t handle = reg_pair_to_64(args->a2, args->a1); in ffa_mem_reclaim()
780 dst->caller_id = FFA_SRC(args->a1); in ffa_handle_sp_direct_req()
820 if (caller_sp->caller_id != FFA_DST(args->a1)) { in ffa_handle_sp_direct_resp()
854 dst = sp_get_session(FFA_DST(args->a1)); in ffa_handle_sp_error()
880 switch (args->a1) { in handle_features()
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 Dlink_dummies_paged.c36 __thread_std_smc_entry(uint32_t a0 __unused, uint32_t a1 __unused, in __thread_std_smc_entry()
/optee_os/core/arch/arm/include/kernel/
A Dthread.h79 uint32_t a1; /* Parameter */ member
91 uint64_t a1; /* Parameter */ member
278 unsigned long thread_cpu_off_handler(unsigned long a0, unsigned long a1);
279 unsigned long thread_cpu_suspend_handler(unsigned long a0, unsigned long a1);
280 unsigned long thread_cpu_resume_handler(unsigned long a0, unsigned long a1);
281 unsigned long thread_system_off_handler(unsigned long a0, unsigned long a1);
282 unsigned long thread_system_reset_handler(unsigned long a0, unsigned long a1);
499 uint32_t thread_enter_user_mode(unsigned long a0, unsigned long a1,
722 unsigned long thread_smc(unsigned long func_id, unsigned long a1,
A Dboot.h52 unsigned long cpu_on_handler(unsigned long a0, unsigned long a1);
53 unsigned long boot_cpu_on_handler(unsigned long a0, unsigned long a1);
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-rzn1/
A Dsm_platform_handler.c74 args->a0 = oem_sysreg(args->a1, args->a2, &args->a3); in oem_service()
75 args->a1 = args->a3; in oem_service()
78 console_putc(args->a1); in oem_service()
/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-stm32mp1/nsec-service/
A Dstm32mp1_svc_setup.c25 args->a1 = STM32_SIP_SVC_VERSION_MINOR; in sip_service()
29 args->a1 = STM32_SIP_SVC_UID_1; in sip_service()
A Dbsec_svc.c17 uint32_t cmd = args->a1; in bsec_main()
20 uint32_t *out_value = &args->a1; in bsec_main()
/optee_os/core/drivers/
A Dzynqmp_pm.c34 .a1 = reg_pair_to_64(arg1, arg0), in zynqmp_sip_call()
46 *payload = args.a1 & VERSION_MASK; in zynqmp_sip_call()
/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()

Completed in 28 milliseconds

12