Lines Matching refs:shm
325 struct tee_shm *shm = NULL; in ZTEST() local
338 ret = tee_shm_register(dev, NULL, 1, 0, &shm); in ZTEST()
346 ret = tee_shm_register(dev, &addr, 0, 0, &shm); in ZTEST()
355 ret = tee_shm_register(dev, &addr, 1, 0, &shm); in ZTEST()
359 ret = tee_shm_unregister(dev, shm); in ZTEST()
363 ret = tee_shm_alloc(dev, 1, 0, &shm); in ZTEST()
367 ret = tee_shm_free(dev, shm); in ZTEST()
391 struct tee_shm *shm; in cmd_alloc_free_call() local
430 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_alloc_free_call()
431 arg = (struct optee_msg_arg *)shm->addr; in cmd_alloc_free_call()
506 struct tee_shm *shm; in cmd_rpc_call() local
544 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_rpc_call()
545 arg = (struct optee_msg_arg *)shm->addr; in cmd_rpc_call()
649 struct tee_shm *shm; in cmd_shm_alloc_appl() local
690 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_shm_alloc_appl()
691 arg = (struct optee_msg_arg *)shm->addr; in cmd_shm_alloc_appl()
827 struct tee_shm *shm; in cmd_gettime_call() local
854 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_gettime_call()
855 arg = (struct optee_msg_arg *)shm->addr; in cmd_gettime_call()
927 struct tee_shm *shm; in cmd_suspend_call() local
955 shm = (struct tee_shm *)regs_to_u64(a1, a2); in cmd_suspend_call()
956 arg = (struct optee_msg_arg *)shm->addr; in cmd_suspend_call()
1082 struct tee_shm *shm; in cmd_notify_wait_call() local
1094 shm = (struct tee_shm *)g_shm_ref; in cmd_notify_wait_call()
1095 arg = (struct optee_msg_arg *)shm->addr; in cmd_notify_wait_call()
1117 struct tee_shm *shm; in cmd_notify_send_call() local
1129 shm = (struct tee_shm *)g_shm_ref; in cmd_notify_send_call()
1130 arg = (struct optee_msg_arg *)shm->addr; in cmd_notify_send_call()