Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dtee_drv.h32 struct tee_shm;
62 struct tee_shm *shm;
110 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
113 int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
187 struct tee_shm { struct
219 int (*alloc)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm, argument
221 void (*free)(struct tee_shm_pool_mgr *poolmgr, struct tee_shm *shm);
319 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags);
331 struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size);
342 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr,
[all …]
/Linux-v5.4/drivers/tee/
Dtee_shm.c14 static void tee_shm_release(struct tee_shm *shm) in tee_shm_release()
69 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_release()
81 struct tee_shm *shm = dmabuf->priv; in tee_shm_op_mmap()
100 static struct tee_shm *__tee_shm_alloc(struct tee_context *ctx, in __tee_shm_alloc()
105 struct tee_shm *shm; in __tee_shm_alloc()
210 struct tee_shm *tee_shm_alloc(struct tee_context *ctx, size_t size, u32 flags) in tee_shm_alloc()
216 struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size) in tee_shm_priv_alloc()
222 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register()
227 struct tee_shm *shm; in tee_shm_register()
342 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
[all …]
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()
DMakefile4 tee-objs += tee_shm.o
Dtee_private.h62 int tee_shm_get_fd(struct tee_shm *shm);
Dtee_core.c135 struct tee_shm *shm; in tee_ioctl_shm_alloc()
172 struct tee_shm *shm; in tee_ioctl_shm_register()
210 struct tee_shm *shm; in params_from_user()
/Linux-v5.4/drivers/tee/optee/
Dcall.c173 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()
283 struct tee_shm *shm; in optee_close_session()
314 struct tee_shm *shm; in optee_invoke_func()
359 struct tee_shm *shm; in optee_cancel_req()
429 struct tee_shm *shm; in optee_disable_shm_cache()
565 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
569 struct tee_shm *shm_arg = NULL; in optee_shm_register()
617 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
[all …]
Drpc.c170 static struct tee_shm *cmd_alloc_suppl(struct tee_context *ctx, size_t sz) in cmd_alloc_suppl()
175 struct tee_shm *shm; in cmd_alloc_suppl()
198 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc()
289 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl()
317 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free()
327 shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; in handle_rpc_func_cmd_shm_free()
357 struct tee_shm *shm, in handle_rpc_func_cmd()
403 struct tee_shm *shm; in optee_handle_rpc()
Doptee_private.h156 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
159 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm);
161 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
164 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm);
Dshm_pool.c16 struct tee_shm *shm, size_t size) in pool_op_alloc()
33 struct tee_shm *shm) in pool_op_free()
Ddevice.c35 struct tee_shm *device_shm, u32 *shm_size) in get_devices()
96 struct tee_shm *device_shm = NULL; in optee_enumerate_devices()
Dcore.c41 struct tee_shm *shm; in optee_from_msg_param()
69 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
98 shm = (struct tee_shm *)(unsigned long) in optee_from_msg_param()
258 struct tee_shm *shm; in optee_release()
/Linux-v5.4/drivers/char/tpm/
Dtpm_ftpm_tee.h37 struct tee_shm *shm;
Dtpm_ftpm_tee.c82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send()
/Linux-v5.4/drivers/char/hw_random/
Doptee-rng.c66 struct tee_shm *entropy_shm_pool;
146 struct tee_shm *entropy_shm_pool = NULL; in optee_rng_init()