Lines Matching refs:optee
103 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
115 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
118 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
183 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local
195 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl()
197 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl()
198 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl()
365 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument
382 handle_rpc_func_cmd_wq(optee, arg); in handle_rpc_func_cmd()
411 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
443 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()