Home
last modified time | relevance | path

Searched refs:tee_shm (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dtee_drv.h34 struct tee_shm;
66 struct tee_shm *shm;
114 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
117 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
205 struct tee_shm { struct
235 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument
237 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm);
335 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags);
336 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size);
347 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
[all …]
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_shm.c16 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
32 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
60 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc()
64 struct tee_shm *shm; 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()
155 struct tee_shm *shm; in tee_shm_register()
267 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap()
293 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
312 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
[all …]
H A Dtee_shm_pool.c13 struct tee_shm *shm, size_t size) in pool_op_gen_alloc()
31 struct tee_shm *shm) in pool_op_gen_free()
H A DMakefile4 tee-objs += tee_shm.o
H A Dtee_private.h63 int tee_shm_get_fd(struct tee_shm *shm);
H A Dtee_core.c291 struct tee_shm *shm; in tee_ioctl_shm_alloc()
328 struct tee_shm *shm; in tee_ioctl_shm_register()
369 struct tee_shm *shm; in params_from_user()
/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Dcall.c175 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg()
180 struct tee_shm *shm; in get_msg_arg()
216 struct tee_shm *shm; in optee_open_session()
291 struct tee_shm *shm; in optee_close_session()
322 struct tee_shm *shm; in optee_invoke_func()
367 struct tee_shm *shm; in optee_cancel_req()
439 struct tee_shm *shm; in __optee_disable_shm_cache()
611 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
615 struct tee_shm *shm_arg = NULL; in optee_shm_register()
663 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
[all …]
H A Drpc.c263 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl()
268 struct tee_shm *shm; in cmd_alloc_suppl()
292 struct tee_shm *shm; 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()
412 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free()
422 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free()
452 struct tee_shm *shm, in handle_rpc_func_cmd()
501 struct tee_shm *shm; in optee_handle_rpc()
H A Doptee_private.h166 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
169 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm);
171 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
174 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);
H A Dshm_pool.c16 struct tee_shm *shm, size_t size) in pool_op_alloc()
63 struct tee_shm *shm) in pool_op_free()
H A Ddevice.c23 struct tee_shm *device_shm, u32 *shm_size, in get_devices()
95 struct tee_shm *device_shm = NULL; in __optee_enumerate_devices()
H A Dcore.c43 struct tee_shm *shm; in optee_from_msg_param()
71 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
90 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
272 struct tee_shm *shm; in optee_release()
/OK3568_Linux_fs/kernel/drivers/tee/amdtee/
H A Damdtee_private.h148 int amdtee_map_shmem(struct tee_shm *shm);
150 void amdtee_unmap_shmem(struct tee_shm *shm);
171 u32 get_buffer_id(struct tee_shm *shm);
H A Dshm_pool.c11 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()
H A Dcore.c153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id()
340 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
382 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_ftpm_tee.h37 struct tee_shm *shm;
H A Dtpm_ftpm_tee.c82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send()
/OK3568_Linux_fs/kernel/drivers/firmware/broadcom/
H A Dtee_bnxt_fw.c61 struct tee_shm *fw_shm_pool;
189 struct tee_shm *fw_shm_pool; in tee_bnxt_fw_probe()
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Doptee-rng.c66 struct tee_shm *entropy_shm_pool;
146 struct tee_shm *entropy_shm_pool = NULL; in optee_rng_init()
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-secure-otp.c61 struct tee_shm *device_shm = NULL; in rockchip_read_oem_non_protected_otp()
164 struct tee_shm *device_shm = NULL; in rockchip_write_oem_non_protected_otp()
/OK3568_Linux_fs/output/sessions/2025-06-06_01-57-56/
H A D10-kernel-build_2025-06-06_01-57-58.log
H A Dbuild_2025-06-06_01-57-58.log
H A D10-kernel-build.log
H A Dbuild.log