Lines Matching refs:ctx
36 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx,
39 struct optee *optee = tee_get_drvdata(ctx->teedev);
123 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx,
181 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee,
201 arg->ret = optee_supp_thrd_req(ctx, arg->cmd, arg->num_params, params);
210 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz)
214 struct optee *optee = tee_get_drvdata(ctx->teedev);
222 ret = optee_supp_thrd_req(ctx, OPTEE_RPC_CMD_SHM_ALLOC, 1, ¶m);
228 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c);
233 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm)
255 optee_supp_thrd_req(ctx, OPTEE_RPC_CMD_SHM_FREE, 1, ¶m);
258 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee,
272 handle_rpc_func_cmd_i2c_transfer(ctx, arg);
275 handle_rpc_supp_cmd(ctx, optee, arg);