Searched refs:pte_count (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iommu/
H A Drockchip-iommu.c592 unsigned int pte_count; rk_iommu_unmap_iova() local
597 for (pte_count = 0; pte_count < pte_total; pte_count++) { rk_iommu_unmap_iova()
598 u32 pte = pte_addr[pte_count]; rk_iommu_unmap_iova()
602 pte_addr[pte_count] = rk_mk_pte_invalid(pte); rk_iommu_unmap_iova()
605 rk_table_flush(pte_addr, pte_count); rk_iommu_unmap_iova()
607 return pte_count * SPAGE_SIZE; rk_iommu_unmap_iova()
614 unsigned int pte_count; rk_iommu_map_iova() local
620 for (pte_count = 0; pte_count < pte_total; pte_count++) { rk_iommu_map_iova()
621 u32 pte = pte_addr[pte_count]; rk_iommu_map_iova()
626 pte_addr[pte_count] = rk_mk_pte(paddr, prot); rk_iommu_map_iova()
631 rk_table_flush(pte_addr, pte_count); rk_iommu_map_iova()
636 rk_iommu_unmap_iova(rk_domain, pte_addr, iova, pte_count * SPAGE_SIZE); rk_iommu_map_iova()
638 iova += pte_count * SPAGE_SIZE; rk_iommu_map_iova()
639 page_phys = rk_pte_page_address(pte_addr[pte_count]); rk_iommu_map_iova()

Completed in 119 milliseconds