Lines Matching refs:state_lock
82 static DEFINE_SPINLOCK(state_lock);
115 spin_lock_irqsave(&state_lock, flags); in get_device_state()
119 spin_unlock_irqrestore(&state_lock, flags); in get_device_state()
800 spin_lock_irqsave(&state_lock, flags); in amd_iommu_init_device()
803 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_init_device()
810 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_init_device()
841 spin_lock_irqsave(&state_lock, flags); in amd_iommu_free_device()
845 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_free_device()
851 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_free_device()
879 spin_lock_irqsave(&state_lock, flags); in amd_iommu_set_invalid_ppr_cb()
891 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_set_invalid_ppr_cb()
910 spin_lock_irqsave(&state_lock, flags); in amd_iommu_set_invalidate_ctx_cb()
922 spin_unlock_irqrestore(&state_lock, flags); in amd_iommu_set_invalidate_ctx_cb()