Lines Matching refs:tee_context
46 struct tee_context *teedev_open(struct tee_device *teedev) in teedev_open()
49 struct tee_context *ctx; in teedev_open()
75 void teedev_ctx_get(struct tee_context *ctx) in teedev_ctx_get()
85 struct tee_context *ctx = container_of(ref, struct tee_context, in teedev_ctx_release()
92 void teedev_ctx_put(struct tee_context *ctx) in teedev_ctx_put()
100 void teedev_close_context(struct tee_context *ctx) in teedev_close_context()
111 struct tee_context *ctx; in tee_open()
270 static int tee_ioctl_version(struct tee_context *ctx, in tee_ioctl_version()
286 static int tee_ioctl_shm_alloc(struct tee_context *ctx, in tee_ioctl_shm_alloc()
322 tee_ioctl_shm_register(struct tee_context *ctx, in tee_ioctl_shm_register()
356 static int params_from_user(struct tee_context *ctx, struct tee_param *params, in params_from_user()
464 static int tee_ioctl_open_session(struct tee_context *ctx, in tee_ioctl_open_session()
543 static int tee_ioctl_invoke(struct tee_context *ctx, in tee_ioctl_invoke()
604 static int tee_ioctl_cancel(struct tee_context *ctx, in tee_ioctl_cancel()
620 tee_ioctl_close_session(struct tee_context *ctx, in tee_ioctl_close_session()
634 static int params_to_supp(struct tee_context *ctx, in params_to_supp()
678 static int tee_ioctl_supp_recv(struct tee_context *ctx, in tee_ioctl_supp_recv()
775 static int tee_ioctl_supp_send(struct tee_context *ctx, in tee_ioctl_supp_send()
820 struct tee_context *ctx = filp->private_data; in tee_ioctl()
1099 struct tee_context *
1100 tee_client_open_context(struct tee_context *start, in tee_client_open_context()
1107 struct tee_context *ctx = NULL; in tee_client_open_context()
1142 void tee_client_close_context(struct tee_context *ctx) in tee_client_close_context()
1148 void tee_client_get_version(struct tee_context *ctx, in tee_client_get_version()
1155 int tee_client_open_session(struct tee_context *ctx, in tee_client_open_session()
1165 int tee_client_close_session(struct tee_context *ctx, u32 session) in tee_client_close_session()
1173 int tee_client_invoke_func(struct tee_context *ctx, in tee_client_invoke_func()
1183 int tee_client_cancel_req(struct tee_context *ctx, in tee_client_cancel_req()