Lines Matching refs:pte_count
757 unsigned int pte_count; in rk_iommu_unmap_iova() local
762 for (pte_count = 0; pte_count < pte_total; pte_count++) { in rk_iommu_unmap_iova()
763 u32 pte = pte_addr[pte_count]; in rk_iommu_unmap_iova()
767 pte_addr[pte_count] = rk_mk_pte_invalid(pte); in rk_iommu_unmap_iova()
770 rk_table_flush(rk_domain, pte_dma, pte_count); in rk_iommu_unmap_iova()
772 return pte_count * SPAGE_SIZE; in rk_iommu_unmap_iova()
779 unsigned int pte_count; in rk_iommu_map_iova() local
785 for (pte_count = 0; pte_count < pte_total; pte_count++) { in rk_iommu_map_iova()
786 u32 pte = pte_addr[pte_count]; in rk_iommu_map_iova()
791 pte_addr[pte_count] = rk_ops->mk_ptentries(paddr, prot); in rk_iommu_map_iova()
810 pte_count * SPAGE_SIZE); in rk_iommu_map_iova()
812 iova += pte_count * SPAGE_SIZE; in rk_iommu_map_iova()
813 page_phys = rk_ops->pt_address(pte_addr[pte_count]); in rk_iommu_map_iova()