| /linux/include/linux/ |
| H A D | tee_drv.h | 39 struct tee_context { struct 66 struct tee_context *ctx; argument 118 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size); 128 struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx, 139 struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd); 212 struct tee_context * 213 tee_client_open_context(struct tee_context *start, 225 void tee_client_close_context(struct tee_context *ctx); 232 void tee_client_get_version(struct tee_context *ctx, 245 int tee_client_open_session(struct tee_context *ctx, [all …]
|
| /linux/drivers/nvmem/ |
| H A D | stm32-bsec-optee-ta.h | 16 int stm32_bsec_optee_ta_open(struct tee_context **ctx); 38 int stm32_bsec_optee_ta_read(struct tee_context *ctx, unsigned int offset, 52 int stm32_bsec_optee_ta_write(struct tee_context *ctx, unsigned int lower, 57 static inline int stm32_bsec_optee_ta_open(struct tee_context **ctx) in stm32_bsec_optee_ta_open() 66 static inline int stm32_bsec_optee_ta_read(struct tee_context *ctx, in stm32_bsec_optee_ta_read() 73 static inline int stm32_bsec_optee_ta_write(struct tee_context *ctx, in stm32_bsec_optee_ta_write()
|
| H A D | stm32-bsec-optee-ta.c | 71 static int stm32_bsec_ta_open_session(struct tee_context *ctx, u32 *id) in stm32_bsec_ta_open_session() 101 int stm32_bsec_optee_ta_open(struct tee_context **ctx) in stm32_bsec_optee_ta_open() 103 struct tee_context *tee_ctx; in stm32_bsec_optee_ta_open() 139 int stm32_bsec_optee_ta_read(struct tee_context *ctx, unsigned int offset, in stm32_bsec_optee_ta_read() 205 int stm32_bsec_optee_ta_write(struct tee_context *ctx, unsigned int lower, in stm32_bsec_optee_ta_write()
|
| H A D | stm32-romem.c | 40 struct tee_context *ctx;
|
| /linux/drivers/tee/ |
| H A 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() 86 struct tee_context *ctx = container_of(ref, struct tee_context, in teedev_ctx_release() 93 void teedev_ctx_put(struct tee_context *ctx) in teedev_ctx_put() 102 void teedev_close_context(struct tee_context *ctx) in teedev_close_context() 116 struct tee_context *ctx; in tee_open() 239 static int tee_ioctl_version(struct tee_context *ctx, in tee_ioctl_version() 255 static int tee_ioctl_shm_alloc(struct tee_context *ctx, in tee_ioctl_shm_alloc() 291 tee_ioctl_shm_register(struct tee_context *ctx, in tee_ioctl_shm_register() [all …]
|
| H A D | tee_shm.c | 74 static struct tee_shm *shm_alloc_helper(struct tee_context *ctx, size_t size, in shm_alloc_helper() 136 struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_user_buf() 181 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf() 189 struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd) in tee_shm_register_fd() 261 struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_priv_buf() 284 struct tee_shm *tee_shm_alloc_dma_mem(struct tee_context *ctx, in tee_shm_alloc_dma_mem() 326 struct tee_shm *tee_shm_alloc_dma_mem(struct tee_context *ctx, in tee_shm_alloc_dma_mem() 335 int (*shm_register)(struct tee_context *ctx, in tee_dyn_shm_alloc_helper() 388 int (*shm_unregister)(struct tee_context *ctx, in tee_dyn_shm_free_helper() 401 register_shm_helper(struct tee_context *ctx, struct iov_iter *iter, u32 flags, in register_shm_helper() [all …]
|
| /linux/drivers/tee/optee/ |
| H A D | rpc.c | 37 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() 187 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_supp_cmd() 215 struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in optee_rpc_cmd_alloc_suppl() 238 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl() 263 static void handle_rpc_func_rpmb_probe_reset(struct tee_context *ctx, in handle_rpc_func_rpmb_probe_reset() 315 static void handle_rpc_func_rpmb_probe_next(struct tee_context *ctx, in handle_rpc_func_rpmb_probe_next() 367 static void handle_rpc_func_rpmb_frames(struct tee_context *ctx, in handle_rpc_func_rpmb_frames() 411 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee, in optee_rpc_cmd()
|
| H A D | core.c | 122 int optee_open(struct tee_context *ctx, bool cap_memref_null) in optee_open() 160 static void optee_release_helper(struct tee_context *ctx, in optee_release_helper() 161 int (*close_session)(struct tee_context *ctx, in optee_release_helper() 182 void optee_release(struct tee_context *ctx) in optee_release() 187 void optee_release_supp(struct tee_context *ctx) in optee_release_supp()
|
| H A D | supp.c | 85 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, in optee_supp_thrd_req() 245 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, in optee_supp_recv() 360 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, in optee_supp_send()
|
| H A D | smc_abi.c | 453 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 521 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() 562 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp() 573 static int optee_shm_unregister_supp(struct tee_context *ctx, in optee_shm_unregister_supp() 649 static void handle_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_rpc_func_cmd_shm_free() 676 static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_rpc_func_cmd_shm_alloc() 785 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() 812 static void optee_handle_rpc(struct tee_context *ctx, in optee_handle_rpc() 886 static int optee_smc_do_call_with_arg(struct tee_context *ctx, in optee_smc_do_call_with_arg() 1235 static int optee_smc_open(struct tee_context *ctx) in optee_smc_open() [all …]
|
| /linux/drivers/tee/tstee/ |
| H A D | core.c | 58 static int tstee_open(struct tee_context *ctx) in tstee_open() 73 static void tstee_release(struct tee_context *ctx) in tstee_release() 93 static int tstee_open_session(struct tee_context *ctx, in tstee_open_session() 144 static int tstee_close_session(struct tee_context *ctx, u32 session) in tstee_close_session() 159 static int tstee_invoke_func(struct tee_context *ctx, in tstee_invoke_func() 242 static int tstee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in tstee_shm_register() 307 static int tstee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in tstee_shm_unregister()
|
| /linux/drivers/tee/qcomtee/ |
| H A D | shm.c | 43 struct tee_context *ctx = oic->ctx; in qcomtee_msg_buffers_alloc() 102 static int qcomtee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in qcomtee_shm_register() 110 static int qcomtee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in qcomtee_shm_unregister()
|
| H A D | user_obj.c | 40 struct tee_context *ctx; 368 struct tee_context *ctx) in qcomtee_user_param_to_object() 398 struct tee_context *ctx) in qcomtee_user_param_from_object() 434 struct tee_context *ctx) in qcomtee_cb_params_from_args() 506 struct tee_context *ctx) in qcomtee_cb_params_to_args() 585 int qcomtee_user_object_select(struct tee_context *ctx, in qcomtee_user_object_select() 661 int qcomtee_user_object_submit(struct tee_context *ctx, in qcomtee_user_object_submit()
|
| H A D | qcomtee_object.h | 159 struct tee_context *ctx; 175 qcomtee_object_invoke_ctx_alloc(struct tee_context *ctx) in qcomtee_object_invoke_ctx_alloc() 239 struct tee_context *qcomtee_async_ctx;
|
| H A D | mem_obj.c | 89 struct tee_context *ctx) in qcomtee_memobj_param_to_object() 125 struct tee_context *ctx) in qcomtee_memobj_param_from_object()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm_ftpm_tee.h | 31 struct tee_context *ctx;
|
| /linux/Documentation/tee/ |
| H A D | ts-tee.rst | 34 tee_context.
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tee.c | 53 struct tee_context *ctx;
|
| /linux/drivers/firmware/qcom/ |
| H A D | qcom_pas_tee.c | 94 struct tee_context *ctx;
|
| /linux/drivers/firmware/efi/stmm/ |
| H A D | tee_stmm_efi.c | 22 struct tee_context *ctx;
|
| /linux/drivers/platform/x86/amd/pmf/ |
| H A D | tee-if.c | 442 static int amd_pmf_ta_open_session(struct tee_context *ctx, u32 *id, const uuid_t *uuid) in amd_pmf_ta_open_session()
|
| H A D | pmf.h | 649 struct tee_context *tee_ctx;
|
| /linux/drivers/rtc/ |
| H A D | rtc-optee.c | 143 struct tee_context *ctx;
|