Lines Matching refs:tee_shm
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()
208 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size) in tee_shm_alloc_kernel_buf()
214 struct tee_shm *tee_shm_register(struct tee_context *ctx, unsigned long addr, in tee_shm_register()
220 struct tee_shm *shm; in tee_shm_register()
344 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
362 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
385 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa()
407 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va()
435 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
453 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
470 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
473 struct tee_shm *shm; in tee_shm_get_from_id()
494 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()