Lines Matching refs:optee
186 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
198 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
201 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
266 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local
278 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl()
280 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl()
281 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl()
448 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument
465 handle_rpc_func_cmd_wq(optee, arg); in handle_rpc_func_cmd()
497 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
529 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()