Lines Matching refs:iommu_lock
102 spinlock_t iommu_lock; member
336 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_zap_range()
361 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_flush_all_tlb()
400 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_flush_iotlb_all()
402 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_flush_iotlb_all()
412 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_iotlb_sync_map()
414 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_iotlb_sync_map()
442 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
485 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
492 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
509 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_disable()
514 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_disable()
870 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_handle_pt_irq()
894 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_handle_perm_irq()
946 spin_lock(&iommu->iommu_lock); in sun50i_iommu_irq()
950 spin_unlock(&iommu->iommu_lock); in sun50i_iommu_irq()
974 spin_unlock(&iommu->iommu_lock); in sun50i_iommu_irq()
987 spin_lock_init(&iommu->iommu_lock); in sun50i_iommu_probe()