Lines Matching refs:pte
649 u32 *pte, dma_addr_t pte_dma, u32 val) in tegra_smmu_set_pte() argument
652 unsigned long offset = SMMU_OFFSET_IN_PAGE(pte); in tegra_smmu_set_pte()
654 *pte = val; in tegra_smmu_set_pte()
711 u32 *pte; in __tegra_smmu_map() local
717 pte = as_get_pte(as, iova, &pte_dma, page); in __tegra_smmu_map()
718 if (!pte) in __tegra_smmu_map()
722 if (*pte == 0) in __tegra_smmu_map()
733 tegra_smmu_set_pte(as, iova, pte, pte_dma, in __tegra_smmu_map()
745 u32 *pte; in __tegra_smmu_unmap() local
747 pte = tegra_smmu_pte_lookup(as, iova, &pte_dma); in __tegra_smmu_unmap()
748 if (!pte || !*pte) in __tegra_smmu_unmap()
751 tegra_smmu_set_pte(as, iova, pte, pte_dma, 0); in __tegra_smmu_unmap()
790 u32 *pte; in tegra_smmu_iova_to_phys() local
792 pte = tegra_smmu_pte_lookup(as, iova, &pte_dma); in tegra_smmu_iova_to_phys()
793 if (!pte || !*pte) in tegra_smmu_iova_to_phys()
796 pfn = *pte & as->smmu->pfn_mask; in tegra_smmu_iova_to_phys()