Lines Matching refs:ctx
46 * @ctx the context of current connected supplicant.
61 struct tee_context *ctx;
73 * @ctx: driver internal TEE context
91 struct tee_context *ctx;
132 void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param,
139 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
142 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
143 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
148 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
150 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
153 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg);
154 int optee_open_session(struct tee_context *ctx,
157 int optee_close_session(struct tee_context *ctx, u32 session);
158 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg,
160 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session);
166 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
169 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm);
171 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
174 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);