Lines Matching refs:pte
1283 pte_t *pte, *start; in arm_smmu_alloc_init_pte() local
1326 pte = start; in arm_smmu_alloc_init_pte()
1357 } else if (pte_val(*pte) & in arm_smmu_alloc_init_pte()
1370 sizeof(*pte) * in arm_smmu_alloc_init_pte()
1375 *pte = pfn_pte(pfn, __pgprot(pteval)); in arm_smmu_alloc_init_pte()
1376 } while (pte++, pfn++, addr += PAGE_SIZE, --i); in arm_smmu_alloc_init_pte()
1379 arm_smmu_flush_pgtable(smmu, start, sizeof(*pte) * (pte - start)); in arm_smmu_alloc_init_pte()
1533 pte_t pte; in arm_smmu_iova_to_phys() local
1553 pte = *(pmd_page_vaddr(pmd) + pte_index(iova)); in arm_smmu_iova_to_phys()
1554 if (pte_none(pte)) in arm_smmu_iova_to_phys()
1557 return __pfn_to_phys(pte_pfn(pte)) | (iova & ~PAGE_MASK); in arm_smmu_iova_to_phys()