Lines Matching refs:dt_lock
87 spinlock_t dt_lock; /* lock for modifying page directory table */ member
685 spin_lock_irqsave(&rk_domain->dt_lock, flags); in rk_iommu_iova_to_phys()
699 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_iova_to_phys()
750 assert_spin_locked(&rk_domain->dt_lock); in rk_dte_get_page_table()
786 assert_spin_locked(&rk_domain->dt_lock); in rk_iommu_unmap_iova()
809 assert_spin_locked(&rk_domain->dt_lock); in rk_iommu_map_iova()
856 spin_lock_irqsave(&rk_domain->dt_lock, flags); in rk_iommu_map()
867 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_map()
879 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_map()
895 spin_lock_irqsave(&rk_domain->dt_lock, flags); in rk_iommu_unmap()
907 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_unmap()
916 spin_unlock_irqrestore(&rk_domain->dt_lock, flags); in rk_iommu_unmap()
1091 spin_lock_init(&rk_domain->dt_lock); in rk_iommu_domain_alloc()