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()
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()
367 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa()
389 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va()
417 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
435 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
452 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
455 struct tee_shm *shm; in tee_shm_get_from_id()
476 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()