Home
last modified time | relevance | path

Searched refs:tee_device (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/
H A Dtee_core.h59 struct tee_device { struct
103 void (*get_version)(struct tee_device *teedev,
105 int (*get_tee_revision)(struct tee_device *teedev,
192 struct tee_device *tee_device_alloc(const struct tee_desc *teedesc,
206 int tee_device_register(struct tee_device *teedev);
216 void tee_device_unregister(struct tee_device *teedev);
218 int tee_device_register_dma_heap(struct tee_device *teedev,
221 void tee_device_put_all_dma_heaps(struct tee_device *teedev);
233 bool tee_device_get(struct tee_device *teedev);
239 void tee_device_put(struct tee_device *teedev);
[all …]
H A Dtee_drv.h21 struct tee_device;
40 struct tee_device *teedev;
/linux/drivers/tee/
H A Dtee_core.c46 struct tee_context *teedev_open(struct tee_device *teedev) in teedev_open()
104 struct tee_device *teedev = ctx->teedev; in teedev_close_context()
118 ctx = teedev_open(container_of(inode->i_cdev, struct tee_device, cdev)); in tee_open()
1015 struct tee_device *teedev = container_of(dev, struct tee_device, dev); in tee_release_device()
1037 struct tee_device *tee_device_alloc(const struct tee_desc *teedesc, in tee_device_alloc()
1042 struct tee_device *teedev; in tee_device_alloc()
1123 void tee_device_set_dev_groups(struct tee_device *teedev, in tee_device_set_dev_groups()
1133 struct tee_device *teedev = container_of(dev, struct tee_device, dev); in implementation_id_show()
1153 struct tee_device *teedev = container_of(dev, struct tee_device, dev); in revision_show()
1178 struct tee_device *teedev = container_of(dev, struct tee_device, dev); in tee_revision_attr_is_visible()
[all …]
H A Dtee_heap.c22 struct tee_device *teedev;
174 struct tee_device *teedev = NULL; in tee_dma_heap_alloc()
244 static int alloc_dma_heap(struct tee_device *teedev, enum tee_dma_heap_id id, in alloc_dma_heap()
285 int tee_device_register_dma_heap(struct tee_device *teedev, in tee_device_register_dma_heap()
322 void tee_device_put_all_dma_heaps(struct tee_device *teedev) in tee_device_put_all_dma_heaps()
340 int tee_heap_update_from_dma_buf(struct tee_device *teedev, in tee_heap_update_from_dma_buf()
367 int tee_device_register_dma_heap(struct tee_device *teedev __always_unused, in tee_device_register_dma_heap()
376 tee_device_put_all_dma_heaps(struct tee_device *teedev __always_unused) in tee_device_put_all_dma_heaps()
381 int tee_heap_update_from_dma_buf(struct tee_device *teedev __always_unused, in tee_heap_update_from_dma_buf()
H A Dtee_shm.c36 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
77 struct tee_device *teedev = ctx->teedev; in shm_alloc_helper()
139 struct tee_device *teedev = ctx->teedev; in tee_shm_alloc_user_buf()
287 struct tee_device *teedev = ctx->teedev; in tee_shm_alloc_dma_mem()
404 struct tee_device *teedev = ctx->teedev; in register_shm_helper()
500 struct tee_device *teedev = ctx->teedev; in tee_shm_register_user_buf()
666 struct tee_device *teedev; in tee_shm_get_from_id()
695 struct tee_device *teedev; in tee_shm_put()
H A Dtee_private.h30 int tee_heap_update_from_dma_buf(struct tee_device *teedev,
/linux/drivers/tee/optee/
H A Doptee_private.h190 int optee_get_revision(struct tee_device *teedev, char *buf, size_t len);
247 struct tee_device *supp_teedev;
248 struct tee_device *teedev;
H A Dcore.c66 int optee_get_revision(struct tee_device *teedev, char *buf, size_t len) in optee_get_revision()
125 struct tee_device *teedev = ctx->teedev; in optee_open()
H A Dsupp.c213 struct tee_device *teedev = ctx->teedev; in optee_supp_recv()
322 struct tee_device *teedev = ctx->teedev; in optee_supp_send()
H A Dsmc_abi.c817 struct tee_device *teedev = ctx->teedev; in optee_handle_rpc()
1218 static void optee_get_version(struct tee_device *teedev, in optee_get_version()
1737 struct tee_device *teedev; in optee_probe()
H A Dffa_abi.c902 static void optee_ffa_get_version(struct tee_device *teedev, in optee_ffa_get_version()
1061 struct tee_device *teedev; in optee_ffa_probe()
/linux/drivers/tee/tstee/
H A Dtstee_private.h80 struct tee_device *teedev;
H A Dcore.c44 static void tstee_get_version(struct tee_device *teedev, in tstee_get_version()
/linux/drivers/tee/amdtee/
H A Damdtee_private.h41 struct tee_device *teedev;
H A Dcore.c26 static void amdtee_get_version(struct tee_device *teedev, in amdtee_get_version()
457 struct tee_device *teedev; in amdtee_driver_init()
/linux/drivers/tee/qcomtee/
H A Dqcomtee.h32 struct tee_device *teedev;
H A Dcall.c624 static void qcomtee_get_version(struct tee_device *teedev, in qcomtee_get_version()
702 struct tee_device *teedev; in qcomtee_probe()