Searched refs:pte_dma (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/iommu/ |
H A D | tegra-smmu.c | 649 dma_addr_t pte_dma = smmu_pde_to_dma(smmu, pd[pde]); in tegra_smmu_pte_put_use() local 653 dma_unmap_page(smmu->dev, pte_dma, SMMU_SIZE_PT, DMA_TO_DEVICE); in tegra_smmu_pte_put_use() 660 u32 *pte, dma_addr_t pte_dma, u32 val) in tegra_smmu_set_pte() argument 667 dma_sync_single_range_for_device(smmu->dev, pte_dma, offset, in tegra_smmu_set_pte() 669 smmu_flush_ptc(smmu, pte_dma, offset); in tegra_smmu_set_pte() 719 dma_addr_t pte_dma; in __tegra_smmu_map() local 728 pte = as_get_pte(as, iova, &pte_dma, page); in __tegra_smmu_map() 744 tegra_smmu_set_pte(as, iova, pte, pte_dma, in __tegra_smmu_map() 755 dma_addr_t pte_dma; in __tegra_smmu_unmap() local 758 pte = tegra_smmu_pte_lookup(as, iova, &pte_dma); in __tegra_smmu_unmap() [all …]
|
H A D | rockchip-iommu.c | 754 u32 *pte_addr, dma_addr_t pte_dma, in rk_iommu_unmap_iova() argument 770 rk_table_flush(rk_domain, pte_dma, pte_count); in rk_iommu_unmap_iova() 776 dma_addr_t pte_dma, dma_addr_t iova, in rk_iommu_map_iova() argument 796 rk_table_flush(rk_domain, pte_dma, pte_total); in rk_iommu_map_iova() 809 rk_iommu_unmap_iova(rk_domain, pte_addr, pte_dma, in rk_iommu_map_iova() 826 dma_addr_t pte_dma, iova = (dma_addr_t)_iova; in rk_iommu_map() local 850 pte_dma = rk_ops->pt_address(dte_index) + pte_index * sizeof(u32); in rk_iommu_map() 851 ret = rk_iommu_map_iova(rk_domain, pte_addr, pte_dma, iova, in rk_iommu_map() 866 dma_addr_t pte_dma, iova = (dma_addr_t)_iova; in rk_iommu_unmap() local 890 pte_dma = pt_phys + rk_iova_pte_index(iova) * sizeof(u32); in rk_iommu_unmap() [all …]
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.c | 109 dma_addr_t pud_dma, pmd_dma, pte_dma; in ivpu_mmu_pgtables_free() local 128 pte_dma = pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx]; in ivpu_mmu_pgtables_free() 130 ivpu_pgtable_free_page(vdev, pte_dma_ptr, pte_dma); in ivpu_mmu_pgtables_free() 215 dma_addr_t pte_dma; in ivpu_mmu_ensure_pte() local 220 pte_dma_ptr = ivpu_pgtable_alloc_page(vdev, &pte_dma); in ivpu_mmu_ensure_pte() 225 pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx] = pte_dma | IVPU_MMU_ENTRY_VALID; in ivpu_mmu_ensure_pte()
|