Lines Matching refs:ivpu_device
47 static void *ivpu_pgtable_alloc_page(struct ivpu_device *vdev, dma_addr_t *dma) in ivpu_pgtable_alloc_page()
79 static void ivpu_pgtable_free_page(struct ivpu_device *vdev, u64 *cpu_addr, dma_addr_t dma_addr) in ivpu_pgtable_free_page()
93 static int ivpu_mmu_pgtable_init(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable) in ivpu_mmu_pgtable_init()
106 static void ivpu_mmu_pgtables_free(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable) in ivpu_mmu_pgtables_free()
146 ivpu_mmu_ensure_pud(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable, int pgd_idx) in ivpu_mmu_ensure_pud()
182 ivpu_mmu_ensure_pmd(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable, int pgd_idx, in ivpu_mmu_ensure_pmd()
211 ivpu_mmu_ensure_pte(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable, in ivpu_mmu_ensure_pte()
231 ivpu_mmu_context_map_page(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_map_page()
260 ivpu_mmu_context_map_cont_64k(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, in ivpu_mmu_context_map_cont_64k()
296 ivpu_mmu_context_map_pages(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_map_pages()
323 static void ivpu_mmu_context_set_page_ro(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_set_page_ro()
334 static void ivpu_mmu_context_split_page(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_split_page()
345 static void ivpu_mmu_context_split_64k_page(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_split_64k_page()
361 ivpu_mmu_context_set_pages_ro(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, in ivpu_mmu_context_set_pages_ro()
418 ivpu_mmu_context_map_sgt(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_map_sgt()
469 ivpu_mmu_context_unmap_sgt(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, in ivpu_mmu_context_unmap_sgt()
534 ivpu_mmu_context_init(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u32 context_id) in ivpu_mmu_context_init()
561 static void ivpu_mmu_context_fini(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx) in ivpu_mmu_context_fini()
574 int ivpu_mmu_global_context_init(struct ivpu_device *vdev) in ivpu_mmu_global_context_init()
579 void ivpu_mmu_global_context_fini(struct ivpu_device *vdev) in ivpu_mmu_global_context_fini()
584 int ivpu_mmu_reserved_context_init(struct ivpu_device *vdev) in ivpu_mmu_reserved_context_init()
589 void ivpu_mmu_reserved_context_fini(struct ivpu_device *vdev) in ivpu_mmu_reserved_context_fini()
594 void ivpu_mmu_user_context_mark_invalid(struct ivpu_device *vdev, u32 ssid) in ivpu_mmu_user_context_mark_invalid()
607 int ivpu_mmu_user_context_init(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u32 ctx_id) in ivpu_mmu_user_context_init()
632 void ivpu_mmu_user_context_fini(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx) in ivpu_mmu_user_context_fini()