Lines Matching refs:tee_context
50 struct tee_context { struct
96 int (*open)(struct tee_context *ctx);
97 void (*release)(struct tee_context *ctx);
98 int (*open_session)(struct tee_context *ctx,
101 int (*close_session)(struct tee_context *ctx, u32 session);
102 int (*invoke_func)(struct tee_context *ctx,
105 int (*cancel_req)(struct tee_context *ctx, u32 cancel_id, u32 session);
106 int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params,
108 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params,
110 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
113 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
189 struct tee_context *ctx;
319 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags);
342 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
454 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id);
469 struct tee_context *
470 tee_client_open_context(struct tee_context *start,
482 void tee_client_close_context(struct tee_context *ctx);
489 void tee_client_get_version(struct tee_context *ctx,
502 int tee_client_open_session(struct tee_context *ctx,
514 int tee_client_close_session(struct tee_context *ctx, u32 session);
525 int tee_client_invoke_func(struct tee_context *ctx,
538 int tee_client_cancel_req(struct tee_context *ctx,