Home
last modified time | relevance | path

Searched refs:pte_dma (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/iommu/
H A Dtegra-smmu.c634 dma_addr_t pte_dma = smmu_pde_to_dma(smmu, pd[pde]); in tegra_smmu_pte_put_use() local
645 u32 *pte, dma_addr_t pte_dma, u32 val) in tegra_smmu_set_pte() argument
654 smmu_flush_ptc(smmu, pte_dma, offset); in tegra_smmu_set_pte()
704 dma_addr_t pte_dma; in __tegra_smmu_map() local
713 pte = as_get_pte(as, iova, &pte_dma, page); in __tegra_smmu_map()
729 tegra_smmu_set_pte(as, iova, pte, pte_dma, in __tegra_smmu_map()
740 dma_addr_t pte_dma; in __tegra_smmu_unmap() local
743 pte = tegra_smmu_pte_lookup(as, iova, &pte_dma); in __tegra_smmu_unmap()
747 tegra_smmu_set_pte(as, iova, pte, pte_dma, 0); in __tegra_smmu_unmap()
785 dma_addr_t pte_dma; in tegra_smmu_iova_to_phys() local
[all …]
H A Drockchip-iommu.c753 u32 *pte_addr, dma_addr_t pte_dma, in rk_iommu_unmap_iova() argument
769 rk_table_flush(rk_domain, pte_dma, pte_count); in rk_iommu_unmap_iova()
775 dma_addr_t pte_dma, dma_addr_t iova, in rk_iommu_map_iova() argument
795 rk_table_flush(rk_domain, pte_dma, pte_total); in rk_iommu_map_iova()
808 rk_iommu_unmap_iova(rk_domain, pte_addr, pte_dma, in rk_iommu_map_iova()
824 dma_addr_t pte_dma, iova = (dma_addr_t)_iova; in rk_iommu_map() local
848 pte_dma = rk_ops->pt_address(dte_index) + pte_index * sizeof(u32); in rk_iommu_map()
849 ret = rk_iommu_map_iova(rk_domain, pte_addr, pte_dma, iova, in rk_iommu_map()
862 dma_addr_t pte_dma, iova = (dma_addr_t)_iova; in rk_iommu_unmap() local
886 pte_dma = pt_phys + rk_iova_pte_index(iova) * sizeof(u32); in rk_iommu_unmap()
[all …]
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu_context.c66 dma_addr_t pud_dma, pmd_dma, pte_dma; in ivpu_mmu_pgtables_free() local
85 pte_dma = pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx]; in ivpu_mmu_pgtables_free()
87 ivpu_mmu_pgtable_free(vdev, pte_dma_ptr, pte_dma); in ivpu_mmu_pgtables_free()
172 dma_addr_t pte_dma; in ivpu_mmu_ensure_pte() local
177 pte_dma_ptr = dma_alloc_wc(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, &pte_dma, GFP_KERNEL); in ivpu_mmu_ensure_pte()
182 pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx] = pte_dma | IVPU_MMU_ENTRY_VALID; in ivpu_mmu_ensure_pte()