Lines Matching full:a2
32 typedef void (*smc_cb_t)(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3,
42 uint32_t a2; member
54 void arm_smccc_smc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in arm_smccc_smc() argument
61 res->a2 = OPTEE_MSG_UID_2; in arm_smccc_smc()
75 t_call.smc_cb(a0, a1, a2, a3, a4, a5, a6, a7, res); in arm_smccc_smc()
78 wait_call.smc_cb(a0, a1, a2, a3, a4, a5, a6, a7, res); in arm_smccc_smc()
81 send_call.smc_cb(a0, a1, a2, a3, a4, a5, a6, a7, res); in arm_smccc_smc()
86 void arm_smccc_hvc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in arm_smccc_hvc() argument
114 void fast_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in fast_call() argument
120 t_call.a2 = a2; in fast_call()
130 void fail_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in fail_call() argument
249 void normal_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in normal_call() argument
255 t_call.a2 = a2; in normal_call()
266 res->a2 = a5; in normal_call()
275 res->a2 = a2; in normal_call()
386 void cmd_alloc_free_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_alloc_free_call() argument
395 t_call.a2 = a2; in cmd_alloc_free_call()
403 res->a2 = a2; in cmd_alloc_free_call()
416 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_alloc_free_call()
423 res->a2 = a5; in cmd_alloc_free_call()
429 printk("a1 %lx, a2 %lx a4 %lx a5 %lx\n", a1, a2); in cmd_alloc_free_call()
430 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_alloc_free_call()
437 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_alloc_free_call()
441 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_alloc_free_call()
501 void cmd_rpc_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_rpc_call() argument
510 t_call.a2 = a2; in cmd_rpc_call()
518 res->a2 = a2; in cmd_rpc_call()
531 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_rpc_call()
540 res->a2 = a5; in cmd_rpc_call()
544 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_rpc_call()
644 void cmd_shm_alloc_appl(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_shm_alloc_appl() argument
653 t_call.a2 = a2; in cmd_shm_alloc_appl()
661 res->a2 = a2; in cmd_shm_alloc_appl()
674 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_shm_alloc_appl()
681 res->a2 = a5; in cmd_shm_alloc_appl()
690 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_shm_alloc_appl()
697 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_shm_alloc_appl()
700 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_shm_alloc_appl()
822 void cmd_gettime_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_gettime_call() argument
830 res->a2 = a2; in cmd_gettime_call()
843 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_gettime_call()
848 res->a2 = a5; in cmd_gettime_call()
854 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_gettime_call()
859 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_gettime_call()
922 void cmd_suspend_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_suspend_call() argument
930 res->a2 = a2; in cmd_suspend_call()
943 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_suspend_call()
949 res->a2 = a5; in cmd_suspend_call()
955 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_suspend_call()
960 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_suspend_call()
1014 void cmd_notify_alloc_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_notify_alloc_call() argument
1019 res->a2 = a2; in cmd_notify_alloc_call()
1033 /* res->a2 = a5; */ in cmd_notify_alloc_call()
1044 void cmd_notify_free_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_notify_free_call() argument
1049 res->a2 = a2; in cmd_notify_free_call()
1057 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_notify_free_call()
1064 res->a2 = a5; in cmd_notify_free_call()
1077 void cmd_notify_wait_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_notify_wait_call() argument
1085 res->a2 = a2; in cmd_notify_wait_call()
1101 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_notify_wait_call()
1112 void cmd_notify_send_call(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in cmd_notify_send_call() argument
1120 res->a2 = a2; in cmd_notify_send_call()
1136 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_notify_send_call()