tee_context        63 drivers/char/hw_random/optee-rng.c 	struct tee_context *ctx;
tee_context        36 drivers/char/tpm/tpm_ftpm_tee.h 	struct tee_context *ctx;
tee_context       125 drivers/tee/optee/call.c u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg)
tee_context       173 drivers/tee/optee/call.c static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params,
tee_context       208 drivers/tee/optee/call.c int optee_open_session(struct tee_context *ctx,
tee_context       280 drivers/tee/optee/call.c int optee_close_session(struct tee_context *ctx, u32 session)
tee_context       310 drivers/tee/optee/call.c int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg,
tee_context       356 drivers/tee/optee/call.c int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session)
tee_context       572 drivers/tee/optee/call.c int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
tee_context       624 drivers/tee/optee/call.c int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm)
tee_context       647 drivers/tee/optee/call.c int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
tee_context       658 drivers/tee/optee/call.c int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm)
tee_context       221 drivers/tee/optee/core.c static int optee_open(struct tee_context *ctx)
tee_context       253 drivers/tee/optee/core.c static void optee_release(struct tee_context *ctx)
tee_context        34 drivers/tee/optee/device.c static int get_devices(struct tee_context *ctx, u32 session,
tee_context        98 drivers/tee/optee/device.c 	struct tee_context *ctx = NULL;
tee_context        60 drivers/tee/optee/optee_private.h 	struct tee_context *ctx;
tee_context       123 drivers/tee/optee/optee_private.h void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param,
tee_context       130 drivers/tee/optee/optee_private.h u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
tee_context       133 drivers/tee/optee/optee_private.h int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
tee_context       134 drivers/tee/optee/optee_private.h int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
tee_context       139 drivers/tee/optee/optee_private.h int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
tee_context       141 drivers/tee/optee/optee_private.h int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
tee_context       144 drivers/tee/optee/optee_private.h u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg);
tee_context       145 drivers/tee/optee/optee_private.h int optee_open_session(struct tee_context *ctx,
tee_context       148 drivers/tee/optee/optee_private.h int optee_close_session(struct tee_context *ctx, u32 session);
tee_context       149 drivers/tee/optee/optee_private.h int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg,
tee_context       151 drivers/tee/optee/optee_private.h int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session);
tee_context       156 drivers/tee/optee/optee_private.h int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
tee_context       159 drivers/tee/optee/optee_private.h int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm);
tee_context       161 drivers/tee/optee/optee_private.h int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
tee_context       164 drivers/tee/optee/optee_private.h int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);
tee_context       143 drivers/tee/optee/rpc.c static void handle_rpc_supp_cmd(struct tee_context *ctx,
tee_context       170 drivers/tee/optee/rpc.c static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz)
tee_context       193 drivers/tee/optee/rpc.c static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx,
tee_context       289 drivers/tee/optee/rpc.c static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm)
tee_context       314 drivers/tee/optee/rpc.c static void handle_rpc_func_cmd_shm_free(struct tee_context *ctx,
tee_context       356 drivers/tee/optee/rpc.c static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee,
tee_context       398 drivers/tee/optee/rpc.c void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param,
tee_context        76 drivers/tee/optee/supp.c u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
tee_context       229 drivers/tee/optee/supp.c int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
tee_context       338 drivers/tee/optee/supp.c int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
tee_context        31 drivers/tee/tee_core.c static struct tee_context *teedev_open(struct tee_device *teedev)
tee_context        34 drivers/tee/tee_core.c 	struct tee_context *ctx;
tee_context        60 drivers/tee/tee_core.c void teedev_ctx_get(struct tee_context *ctx)
tee_context        70 drivers/tee/tee_core.c 	struct tee_context *ctx = container_of(ref, struct tee_context,
tee_context        77 drivers/tee/tee_core.c void teedev_ctx_put(struct tee_context *ctx)
tee_context        85 drivers/tee/tee_core.c static void teedev_close_context(struct tee_context *ctx)
tee_context        93 drivers/tee/tee_core.c 	struct tee_context *ctx;
tee_context       114 drivers/tee/tee_core.c static int tee_ioctl_version(struct tee_context *ctx,
tee_context       130 drivers/tee/tee_core.c static int tee_ioctl_shm_alloc(struct tee_context *ctx,
tee_context       167 drivers/tee/tee_core.c tee_ioctl_shm_register(struct tee_context *ctx,
tee_context       203 drivers/tee/tee_core.c static int params_from_user(struct tee_context *ctx, struct tee_param *params,
tee_context       297 drivers/tee/tee_core.c static int tee_ioctl_open_session(struct tee_context *ctx,
tee_context       369 drivers/tee/tee_core.c static int tee_ioctl_invoke(struct tee_context *ctx,
tee_context       430 drivers/tee/tee_core.c static int tee_ioctl_cancel(struct tee_context *ctx,
tee_context       446 drivers/tee/tee_core.c tee_ioctl_close_session(struct tee_context *ctx,
tee_context       460 drivers/tee/tee_core.c static int params_to_supp(struct tee_context *ctx,
tee_context       504 drivers/tee/tee_core.c static int tee_ioctl_supp_recv(struct tee_context *ctx,
tee_context       601 drivers/tee/tee_core.c static int tee_ioctl_supp_send(struct tee_context *ctx,
tee_context       646 drivers/tee/tee_core.c 	struct tee_context *ctx = filp->private_data;
tee_context       951 drivers/tee/tee_core.c struct tee_context *
tee_context       952 drivers/tee/tee_core.c tee_client_open_context(struct tee_context *start,
tee_context       959 drivers/tee/tee_core.c 	struct tee_context *ctx = NULL;
tee_context       994 drivers/tee/tee_core.c void tee_client_close_context(struct tee_context *ctx)
tee_context      1000 drivers/tee/tee_core.c void tee_client_get_version(struct tee_context *ctx,
tee_context      1007 drivers/tee/tee_core.c int tee_client_open_session(struct tee_context *ctx,
tee_context      1017 drivers/tee/tee_core.c int tee_client_close_session(struct tee_context *ctx, u32 session)
tee_context      1025 drivers/tee/tee_core.c int tee_client_invoke_func(struct tee_context *ctx,
tee_context      1035 drivers/tee/tee_core.c int tee_client_cancel_req(struct tee_context *ctx,
tee_context        67 drivers/tee/tee_private.h void teedev_ctx_get(struct tee_context *ctx);
tee_context        68 drivers/tee/tee_private.h void teedev_ctx_put(struct tee_context *ctx);
tee_context       100 drivers/tee/tee_shm.c static struct tee_shm *__tee_shm_alloc(struct tee_context *ctx,
tee_context       210 drivers/tee/tee_shm.c struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags)
tee_context       222 drivers/tee/tee_shm.c struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
tee_context       468 drivers/tee/tee_shm.c struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id)
tee_context        96 include/linux/tee_drv.h 	int (*open)(struct tee_context *ctx);
tee_context        97 include/linux/tee_drv.h 	void (*release)(struct tee_context *ctx);
tee_context        98 include/linux/tee_drv.h 	int (*open_session)(struct tee_context *ctx,
tee_context       101 include/linux/tee_drv.h 	int (*close_session)(struct tee_context *ctx, u32 session);
tee_context       102 include/linux/tee_drv.h 	int (*invoke_func)(struct tee_context *ctx,
tee_context       105 include/linux/tee_drv.h 	int (*cancel_req)(struct tee_context *ctx, u32 cancel_id, u32 session);
tee_context       106 include/linux/tee_drv.h 	int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params,
tee_context       108 include/linux/tee_drv.h 	int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params,
tee_context       110 include/linux/tee_drv.h 	int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
tee_context       113 include/linux/tee_drv.h 	int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
tee_context       189 include/linux/tee_drv.h 	struct tee_context *ctx;
tee_context       319 include/linux/tee_drv.h struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags);
tee_context       342 include/linux/tee_drv.h struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
tee_context       454 include/linux/tee_drv.h struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id);
tee_context       469 include/linux/tee_drv.h struct tee_context *
tee_context       470 include/linux/tee_drv.h tee_client_open_context(struct tee_context *start,
tee_context       482 include/linux/tee_drv.h void tee_client_close_context(struct tee_context *ctx);
tee_context       489 include/linux/tee_drv.h void tee_client_get_version(struct tee_context *ctx,
tee_context       502 include/linux/tee_drv.h int tee_client_open_session(struct tee_context *ctx,
tee_context       514 include/linux/tee_drv.h int tee_client_close_session(struct tee_context *ctx, u32 session);
tee_context       525 include/linux/tee_drv.h int tee_client_invoke_func(struct tee_context *ctx,
tee_context       538 include/linux/tee_drv.h int tee_client_cancel_req(struct tee_context *ctx,