/linux-6.1.9/include/linux/ |
D | tee_drv.h | 51 struct tee_context { struct 97 int (*open)(struct tee_context *ctx); 98 void (*release)(struct tee_context *ctx); 99 int (*open_session)(struct tee_context *ctx, 102 int (*close_session)(struct tee_context *ctx, u32 session); 103 int (*invoke_func)(struct tee_context *ctx, 106 int (*cancel_req)(struct tee_context *ctx, u32 cancel_id, u32 session); 107 int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params, 109 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params, 111 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, [all …]
|
/linux-6.1.9/drivers/tee/optee/ |
D | optee_private.h | 89 struct tee_context *ctx; 132 int (*do_call_with_arg)(struct tee_context *ctx, 164 struct tee_context *ctx; 214 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, 217 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len); 218 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len); 223 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, 225 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, 228 int optee_open_session(struct tee_context *ctx, 231 int optee_close_session_helper(struct tee_context *ctx, u32 session); [all …]
|
D | core.c | 23 int (*shm_register)(struct tee_context *ctx, in optee_pool_op_alloc_helper() 73 int (*shm_unregister)(struct tee_context *ctx, in optee_pool_op_free_helper() 87 int optee_open(struct tee_context *ctx, bool cap_memref_null) in optee_open() 130 static void optee_release_helper(struct tee_context *ctx, in optee_release_helper() 131 int (*close_session)(struct tee_context *ctx, in optee_release_helper() 151 void optee_release(struct tee_context *ctx) in optee_release() 156 void optee_release_supp(struct tee_context *ctx) in optee_release_supp()
|
D | rpc.c | 36 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 123 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 181 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_supp_cmd() 210 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in optee_rpc_cmd_alloc_suppl() 233 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl() 258 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee, in optee_rpc_cmd()
|
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() 342 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() 466 static void handle_ffa_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_ffa_rpc_func_cmd_shm_free() 496 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, struct optee *optee, in optee_handle_ffa_rpc() 529 static int optee_ffa_yielding_call(struct tee_context *ctx, in optee_ffa_yielding_call() 614 static int optee_ffa_do_call_with_arg(struct tee_context *ctx, in optee_ffa_do_call_with_arg() 729 static int optee_ffa_open(struct tee_context *ctx) in optee_ffa_open() [all …]
|
D | call.c | 181 struct optee_msg_arg *optee_get_msg_arg(struct tee_context *ctx, in optee_get_msg_arg() 258 void optee_free_msg_arg(struct tee_context *ctx, in optee_free_msg_arg() 280 int optee_open_session(struct tee_context *ctx, in optee_open_session() 363 int optee_close_session_helper(struct tee_context *ctx, u32 session) in optee_close_session_helper() 384 int optee_close_session(struct tee_context *ctx, u32 session) in optee_close_session() 402 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg, in optee_invoke_func() 453 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session) in optee_cancel_req()
|
D | smc_abi.c | 432 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 500 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() 541 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp() 552 static int optee_shm_unregister_supp(struct tee_context *ctx, in optee_shm_unregister_supp() 629 static void handle_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_rpc_func_cmd_shm_free() 656 static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_rpc_func_cmd_shm_alloc() 768 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() 794 static void optee_handle_rpc(struct tee_context *ctx, in optee_handle_rpc() 867 static int optee_smc_do_call_with_arg(struct tee_context *ctx, in optee_smc_do_call_with_arg() 948 static int simple_call_with_arg(struct tee_context *ctx, u32 cmd) in simple_call_with_arg() [all …]
|
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()
|
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()
|
/linux-6.1.9/drivers/tee/ |
D | tee_private.h | 57 void teedev_ctx_get(struct tee_context *ctx); 58 void teedev_ctx_put(struct tee_context *ctx); 60 struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size); 61 struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx,
|
D | tee_core.c | 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() [all …]
|
D | tee_shm.c | 94 static struct tee_shm *shm_alloc_helper(struct tee_context *ctx, size_t size, in shm_alloc_helper() 156 struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_user_buf() 201 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf() 225 struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_priv_buf() 234 register_shm_helper(struct tee_context *ctx, unsigned long addr, in register_shm_helper() 321 struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx, in tee_shm_register_user_buf() 368 struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx, in tee_shm_register_kernel_buf() 478 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
|
/linux-6.1.9/drivers/tee/amdtee/ |
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);
|
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-6.1.9/drivers/char/tpm/ |
D | tpm_ftpm_tee.h | 36 struct tee_context *ctx;
|
/linux-6.1.9/drivers/firmware/arm_scmi/ |
D | optee.c | 143 struct tee_context *tee_ctx; 549 struct tee_context *tee_ctx; in scmi_optee_service_probe()
|
/linux-6.1.9/drivers/firmware/broadcom/ |
D | tee_bnxt_fw.c | 59 struct tee_context *ctx;
|
/linux-6.1.9/drivers/char/hw_random/ |
D | optee-rng.c | 63 struct tee_context *ctx;
|
/linux-6.1.9/security/keys/trusted-keys/ |
D | trusted_tee.c | 53 struct tee_context *ctx;
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-optee.c | 49 struct tee_context *ctx;
|