Lines Matching refs:tee_context
89 struct tee_context *ctx;
132 int (*do_call_with_arg)(struct tee_context *ctx,
164 struct tee_context *ctx;
214 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
217 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
218 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
223 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
225 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
228 int optee_open_session(struct tee_context *ctx,
231 int optee_close_session_helper(struct tee_context *ctx, u32 session);
232 int optee_close_session(struct tee_context *ctx, u32 session);
233 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg,
235 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session);
244 int (*shm_register)(struct tee_context *ctx,
250 int (*shm_unregister)(struct tee_context *ctx,
255 int optee_open(struct tee_context *ctx, bool cap_memref_null);
256 void optee_release(struct tee_context *ctx);
257 void optee_release_supp(struct tee_context *ctx);
289 struct optee_msg_arg *optee_get_msg_arg(struct tee_context *ctx,
294 void optee_free_msg_arg(struct tee_context *ctx,
299 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz);
300 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm);
301 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee,