| /OK3568_Linux_fs/kernel/include/linux/ |
| H 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, 105 int (*close_session)(struct tee_context *ctx, u32 session); 106 int (*invoke_func)(struct tee_context *ctx, 109 int (*cancel_req)(struct tee_context *ctx, u32 cancel_id, u32 session); 110 int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params, 112 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params, 114 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | optee_private.h | 61 struct tee_context *ctx; 91 struct tee_context *ctx; 132 void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, 139 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, 142 int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len); 143 int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len); 148 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, 150 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, 153 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg); 154 int optee_open_session(struct tee_context *ctx, [all …]
|
| H A D | call.c | 126 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg) in optee_do_call_with_arg() 175 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg() 210 int optee_open_session(struct tee_context *ctx, in optee_open_session() 288 int optee_close_session(struct tee_context *ctx, u32 session) in optee_close_session() 318 int optee_invoke_func(struct tee_context *ctx, struct tee_ioctl_invoke_arg *arg, in optee_invoke_func() 364 int optee_cancel_req(struct tee_context *ctx, u32 cancel_id, u32 session) in optee_cancel_req() 611 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 663 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() 686 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp() 697 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister_supp()
|
| H A D | rpc.c | 54 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 138 static void handle_rpc_func_cmd_i2c_transfer(struct tee_context *ctx, in handle_rpc_func_cmd_i2c_transfer() 236 static void handle_rpc_supp_cmd(struct tee_context *ctx, in handle_rpc_supp_cmd() 263 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl() 286 static void handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, in handle_rpc_func_cmd_shm_alloc() 384 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl() 409 static void handle_rpc_func_cmd_shm_free(struct tee_context *ctx, in handle_rpc_func_cmd_shm_free() 451 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() 496 void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, in optee_handle_rpc()
|
| H 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() 249 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, in optee_supp_recv() 358 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, in optee_supp_send()
|
| H 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()
|
| H A D | core.c | 220 static int optee_open(struct tee_context *ctx) in optee_open() 267 static void optee_release(struct tee_context *ctx) in optee_release() 637 struct tee_context *ctx; in optee_probe()
|
| /OK3568_Linux_fs/kernel/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() 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() 323 tee_ioctl_shm_register(struct tee_context *ctx, in tee_ioctl_shm_register() [all …]
|
| H A D | tee_private.h | 68 void teedev_ctx_get(struct tee_context *ctx); 69 void teedev_ctx_put(struct tee_context *ctx);
|
| H A D | tee_shm.c | 60 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc() 143 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf() 149 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register() 410 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
|
| /OK3568_Linux_fs/kernel/drivers/tee/amdtee/ |
| H 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);
|
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm_ftpm_tee.h | 36 struct tee_context *ctx;
|
| /OK3568_Linux_fs/kernel/drivers/nvmem/ |
| H A D | rockchip-secure-otp.c | 62 struct tee_context *ctx = NULL; in rockchip_read_oem_non_protected_otp() 165 struct tee_context *ctx = NULL; in rockchip_write_oem_non_protected_otp()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/broadcom/ |
| H A D | tee_bnxt_fw.c | 59 struct tee_context *ctx;
|
| /OK3568_Linux_fs/kernel/drivers/char/hw_random/ |
| H A D | optee-rng.c | 63 struct tee_context *ctx;
|