Lines Matching refs:tee_shm
158 struct tee_shm *shm = (struct tee_shm *)mp->u.tmem.shm_ref; in msg_param_to_tmp_mem()
294 static int cmd_alloc_suppl(const struct device *dev, size_t sz, struct tee_shm **shm) in cmd_alloc_suppl()
315 static void cmd_free_suppl(const struct device *dev, struct tee_shm *shm) in cmd_free_suppl()
332 struct tee_shm *shm = NULL; in handle_cmd_alloc()
393 rc = tee_rm_shm(dev, (struct tee_shm *)arg->params[0].u.value.b); in handle_cmd_free()
396 cmd_free_suppl(dev, (struct tee_shm *)arg->params[0].u.value.b); in handle_cmd_free()
608 static uint32_t handle_func_rpc_call(const struct device *dev, struct tee_shm *shm, in handle_func_rpc_call()
644 struct tee_shm *shm = NULL; in handle_rpc_call()
662 shm = (struct tee_shm *)regs_to_u64(param->a1, param->a2); in handle_rpc_call()
669 shm = (struct tee_shm *)regs_to_u64(param->a1, param->a2); in handle_rpc_call()
732 struct tee_shm *shm; in optee_close_session()
762 struct tee_shm *shm; in optee_open_session()
832 struct tee_shm *shm; in optee_cancel()
862 struct tee_shm *shm; in optee_invoke_func()
966 static int optee_shm_register(const struct device *dev, struct tee_shm *shm) in optee_shm_register()
968 struct tee_shm *shm_arg; in optee_shm_register()
1010 static int optee_shm_unregister(const struct device *dev, struct tee_shm *shm) in optee_shm_unregister()
1012 struct tee_shm *shm_arg; in optee_shm_unregister()