Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Drockchip-iommu.c757 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()
[all …]