Lines Matching refs:tee_context
70 struct tee_context *ctx;
113 int (*do_call_with_arg)(struct tee_context *ctx,
191 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
194 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
195 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
200 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
202 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
205 int optee_open_session(struct tee_context *ctx,
208 int optee_close_session_helper(struct tee_context *ctx, u32 session);
209 int optee_close_session(struct tee_context *ctx, u32 session);
210 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg,
212 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session);
221 int (*shm_register)(struct tee_context *ctx,
228 int optee_open(struct tee_context *ctx, bool cap_memref_null);
229 void optee_release(struct tee_context *ctx);
230 void optee_release_supp(struct tee_context *ctx);
259 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params,
262 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz);
263 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm);
264 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee,