/Linux-v5.10/include/linux/ |
D | tee_drv.h | 33 struct tee_shm; 65 struct tee_shm *shm; 113 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, 116 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm); 204 struct tee_shm { struct 234 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument 236 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm); 334 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags); 345 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, 353 static inline bool tee_shm_is_registered(struct tee_shm *shm) in tee_shm_is_registered() [all …]
|
/Linux-v5.10/drivers/tee/ |
D | tee_shm.c | 15 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages() 31 static void tee_shm_release(struct tee_shm *shm) in tee_shm_release() 81 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_release() 88 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_mmap() 106 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc() 110 struct tee_shm *shm; in tee_shm_alloc() 196 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register() 202 struct tee_shm *shm; in tee_shm_register() 326 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd() 344 void tee_shm_free(struct tee_shm *shm) in tee_shm_free() [all …]
|
D | tee_shm_pool.c | 13 struct tee_shm *shm, size_t size) in pool_op_gen_alloc() 31 struct tee_shm *shm) in pool_op_gen_free()
|
D | Makefile | 4 tee-objs += tee_shm.o
|
D | tee_private.h | 63 int tee_shm_get_fd(struct tee_shm *shm);
|
D | tee_core.c | 287 struct tee_shm *shm; in tee_ioctl_shm_alloc() 324 struct tee_shm *shm; in tee_ioctl_shm_register() 362 struct tee_shm *shm; in params_from_user()
|
/Linux-v5.10/drivers/tee/optee/ |
D | call.c | 173 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg() 178 struct tee_shm *shm; in get_msg_arg() 214 struct tee_shm *shm; in optee_open_session() 287 struct tee_shm *shm; in optee_close_session() 318 struct tee_shm *shm; in optee_invoke_func() 363 struct tee_shm *shm; in optee_cancel_req() 433 struct tee_shm *shm; in optee_disable_shm_cache() 577 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 581 struct tee_shm *shm_arg = NULL; in optee_shm_register() 629 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() [all …]
|
D | optee_private.h | 163 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, 166 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm); 168 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, 171 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);
|
D | rpc.c | 262 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl() 267 struct tee_shm *shm; in cmd_alloc_suppl() 290 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() 381 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl() 409 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() 419 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free() 449 struct tee_shm *shm, in handle_rpc_func_cmd() 498 struct tee_shm *shm; in optee_handle_rpc()
|
D | shm_pool.c | 16 struct tee_shm *shm, size_t size) in pool_op_alloc() 53 struct tee_shm *shm) in pool_op_free()
|
D | device.c | 23 struct tee_shm *device_shm, u32 *shm_size, in get_devices() 87 struct tee_shm *device_shm = NULL; in __optee_enumerate_devices()
|
D | core.c | 42 struct tee_shm *shm; in optee_from_msg_param() 70 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param() 99 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param() 281 struct tee_shm *shm; in optee_release()
|
/Linux-v5.10/drivers/tee/amdtee/ |
D | amdtee_private.h | 135 int amdtee_map_shmem(struct tee_shm *shm); 137 void amdtee_unmap_shmem(struct tee_shm *shm); 158 u32 get_buffer_id(struct tee_shm *shm);
|
D | shm_pool.c | 11 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm, in pool_op_alloc() 37 static void pool_op_free(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm) in pool_op_free()
|
D | core.c | 154 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id() 338 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem() 380 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
|
/Linux-v5.10/drivers/char/tpm/ |
D | tpm_ftpm_tee.h | 37 struct tee_shm *shm;
|
D | tpm_ftpm_tee.c | 82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send()
|
/Linux-v5.10/drivers/firmware/broadcom/ |
D | tee_bnxt_fw.c | 61 struct tee_shm *fw_shm_pool; 189 struct tee_shm *fw_shm_pool; in tee_bnxt_fw_probe()
|
/Linux-v5.10/drivers/char/hw_random/ |
D | optee-rng.c | 66 struct tee_shm *entropy_shm_pool; 146 struct tee_shm *entropy_shm_pool = NULL; in optee_rng_init()
|