Lines Matching refs:tee_shm
14 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()
360 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
383 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa()
405 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va()
433 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
451 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) in tee_shm_get_pa()
468 struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id) in tee_shm_get_from_id()
471 struct tee_shm *shm; in tee_shm_get_from_id()
492 void tee_shm_put(struct tee_shm *shm) in tee_shm_put()