/linux/include/linux/ |
A D | tee_drv.h | 54 struct tee_context { struct 100 int (*open)(struct tee_context *ctx); 101 void (*release)(struct tee_context *ctx); 102 int (*open_session)(struct tee_context *ctx, 106 int (*invoke_func)(struct tee_context *ctx, 210 struct tee_context *ctx; 479 struct tee_context * 480 tee_client_open_context(struct tee_context *start, 499 void tee_client_get_version(struct tee_context *ctx, 535 int tee_client_invoke_func(struct tee_context *ctx, [all …]
|
/linux/drivers/tee/optee/ |
A D | optee_private.h | 70 struct tee_context *ctx; 113 int (*do_call_with_arg)(struct tee_context *ctx, 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); 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); [all …]
|
A D | core.c | 23 int (*shm_register)(struct tee_context *ctx, in optee_pool_op_alloc_helper() 74 int optee_open(struct tee_context *ctx, bool cap_memref_null) in optee_open() 117 static void optee_release_helper(struct tee_context *ctx, in optee_release_helper() 118 int (*close_session)(struct tee_context *ctx, in optee_release_helper() 138 void optee_release(struct tee_context *ctx) in optee_release() 143 void optee_release_supp(struct tee_context *ctx) in optee_release_supp()
|
A D | rpc.c | 53 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 140 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 238 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_supp_cmd() 267 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in optee_rpc_cmd_alloc_suppl() 290 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl() 315 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee, in optee_rpc_cmd()
|
A D | call.c | 107 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params, in optee_get_msg_arg() 140 int optee_open_session(struct tee_context *ctx, in optee_open_session() 220 int optee_close_session_helper(struct tee_context *ctx, u32 session) in optee_close_session_helper() 239 int optee_close_session(struct tee_context *ctx, u32 session) in optee_close_session() 257 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg, in optee_invoke_func() 305 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session) in optee_cancel_req()
|
A D | ffa_abi.c | 269 static int optee_ffa_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_ffa_shm_register() 313 static int optee_ffa_shm_unregister(struct tee_context *ctx, in optee_ffa_shm_unregister() 341 static int optee_ffa_shm_unregister_supp(struct tee_context *ctx, in optee_ffa_shm_unregister_supp() 426 static void handle_ffa_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_ffa_rpc_func_cmd_shm_alloc() 465 static void handle_ffa_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_ffa_rpc_func_cmd_shm_free() 495 static void handle_ffa_rpc_func_cmd(struct tee_context *ctx, in handle_ffa_rpc_func_cmd() 513 static void optee_handle_ffa_rpc(struct tee_context *ctx, u32 cmd, in optee_handle_ffa_rpc() 529 static int optee_ffa_yielding_call(struct tee_context *ctx, in optee_ffa_yielding_call() 613 static int optee_ffa_do_call_with_arg(struct tee_context *ctx, in optee_ffa_do_call_with_arg() 734 static int optee_ffa_open(struct tee_context *ctx) in optee_ffa_open()
|
A D | smc_abi.c | 390 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 442 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() 465 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp() 476 static int optee_shm_unregister_supp(struct tee_context *ctx, in optee_shm_unregister_supp() 553 static void handle_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_rpc_func_cmd_shm_free() 580 static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_rpc_func_cmd_shm_alloc() 691 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() 724 static void optee_handle_rpc(struct tee_context *ctx, in optee_handle_rpc() 784 static int optee_smc_do_call_with_arg(struct tee_context *ctx, in optee_smc_do_call_with_arg() 866 static int optee_smc_open(struct tee_context *ctx) in optee_smc_open()
|
A D | supp.c | 76 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, in optee_supp_thrd_req() 229 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, in optee_supp_recv() 338 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, in optee_supp_send()
|
A D | device.c | 22 static int get_devices(struct tee_context *ctx, u32 session, in get_devices() 97 struct tee_context *ctx = NULL; in __optee_enumerate_devices()
|
/linux/drivers/tee/ |
A D | tee_core.c | 49 struct tee_context *ctx; in teedev_open() 74 void teedev_ctx_get(struct tee_context *ctx) in teedev_ctx_get() 84 struct tee_context *ctx = container_of(ref, struct tee_context, in teedev_ctx_release() 91 void teedev_ctx_put(struct tee_context *ctx) in teedev_ctx_put() 107 struct tee_context *ctx; in tee_open() 319 tee_ioctl_shm_register(struct tee_context *ctx, in tee_ioctl_shm_register() 619 tee_ioctl_close_session(struct tee_context *ctx, in tee_ioctl_close_session() 633 static int params_to_supp(struct tee_context *ctx, in params_to_supp() 819 struct tee_context *ctx = filp->private_data; in tee_ioctl() 1098 struct tee_context * [all …]
|
A D | tee_private.h | 68 void teedev_ctx_get(struct tee_context *ctx); 69 void teedev_ctx_put(struct tee_context *ctx);
|
A D | tee_shm.c | 59 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc() 142 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf() 148 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register() 409 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
|
/linux/drivers/tee/amdtee/ |
A D | amdtee_private.h | 136 int amdtee_open_session(struct tee_context *ctx, 140 int amdtee_close_session(struct tee_context *ctx, u32 session); 142 int amdtee_invoke_func(struct tee_context *ctx, 146 int amdtee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session);
|
A D | core.c | 35 static int amdtee_open(struct tee_context *ctx) in amdtee_open() 68 static void amdtee_release(struct tee_context *ctx) in amdtee_release() 171 static int copy_ta_binary(struct tee_context *ctx, void *ptr, void **ta, in copy_ta_binary() 231 int amdtee_open_session(struct tee_context *ctx, in amdtee_open_session() 304 int amdtee_close_session(struct tee_context *ctx, u32 session) in amdtee_close_session() 406 int amdtee_invoke_func(struct tee_context *ctx, in amdtee_invoke_func() 431 int amdtee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session) in amdtee_cancel_req()
|
/linux/drivers/char/tpm/ |
A D | tpm_ftpm_tee.h | 36 struct tee_context *ctx;
|
/linux/drivers/firmware/broadcom/ |
A D | tee_bnxt_fw.c | 59 struct tee_context *ctx;
|
/linux/drivers/char/hw_random/ |
A D | optee-rng.c | 63 struct tee_context *ctx;
|
/linux/security/keys/trusted-keys/ |
A D | trusted_tee.c | 53 struct tee_context *ctx;
|