Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Drockchip-iommu.c653 struct rk_iommu_domain *rk_domain = to_rk_domain(domain); in rk_iommu_iova_to_phys() local
659 spin_lock_irqsave(&rk_domain->dt_lock, flags); in rk_iommu_iova_to_phys()
661 dte = rk_domain->dt[rk_iova_dte_index(iova)]; in rk_iommu_iova_to_phys()
673 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_iova_to_phys()
678 static void rk_iommu_zap_iova(struct rk_iommu_domain *rk_domain, in rk_iommu_zap_iova() argument
685 spin_lock_irqsave(&rk_domain->iommus_lock, flags); in rk_iommu_zap_iova()
686 list_for_each(pos, &rk_domain->iommus) { in rk_iommu_zap_iova()
704 spin_unlock_irqrestore(&rk_domain->iommus_lock, flags); in rk_iommu_zap_iova()
707 static void rk_iommu_zap_iova_first_last(struct rk_iommu_domain *rk_domain, in rk_iommu_zap_iova_first_last() argument
710 rk_iommu_zap_iova(rk_domain, iova, SPAGE_SIZE); in rk_iommu_zap_iova_first_last()
[all …]