Lines Matching refs:a1
32 typedef void (*smc_cb_t)(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3,
41 uint32_t a1; member
54 void arm_smccc_smc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, in arm_smccc_smc() argument
60 res->a1 = OPTEE_MSG_UID_1; in arm_smccc_smc()
67 res->a1 = OPTEE_SMC_SEC_CAP_DYNAMIC_SHM; in arm_smccc_smc()
71 res->a1 = 5; 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
119 t_call.a1 = a1; 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
254 t_call.a1 = a1; in normal_call()
265 res->a1 = a4; in normal_call()
274 res->a1 = a1; 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
394 t_call.a1 = a1; in cmd_alloc_free_call()
402 res->a1 = a1; in cmd_alloc_free_call()
411 res->a1 = 1; in cmd_alloc_free_call()
416 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_alloc_free_call()
422 res->a1 = a4; 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
509 t_call.a1 = a1; in cmd_rpc_call()
517 res->a1 = a1; in cmd_rpc_call()
526 res->a1 = 1; in cmd_rpc_call()
531 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_rpc_call()
539 res->a1 = a4; 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
652 t_call.a1 = a1; in cmd_shm_alloc_appl()
660 res->a1 = a1; in cmd_shm_alloc_appl()
669 res->a1 = 1; in cmd_shm_alloc_appl()
674 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_shm_alloc_appl()
680 res->a1 = a4; 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
829 res->a1 = a1; in cmd_gettime_call()
838 res->a1 = 1; in cmd_gettime_call()
843 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_gettime_call()
847 res->a1 = a4; 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
929 res->a1 = a1; in cmd_suspend_call()
938 res->a1 = 1; in cmd_suspend_call()
943 arg = (struct optee_msg_arg *)regs_to_u64(a1, a2); in cmd_suspend_call()
948 res->a1 = a4; 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
1018 res->a1 = a1; in cmd_notify_alloc_call()
1027 res->a1 = 1; 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
1048 res->a1 = a1; in cmd_notify_free_call()
1057 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_notify_free_call()
1063 res->a1 = a4; 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
1084 res->a1 = a1; 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
1119 res->a1 = a1; in cmd_notify_send_call()
1136 u64_to_regs(g_shm_ref, &res->a1, &res->a2); in cmd_notify_send_call()