Home
last modified time | relevance | path

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

/drivers/md/
Ddm-cache-policy.c17 static DEFINE_SPINLOCK(register_lock);
47 spin_lock(&register_lock); in get_policy_once()
49 spin_unlock(&register_lock); in get_policy_once()
89 spin_lock(&register_lock); in dm_cache_policy_register()
97 spin_unlock(&register_lock); in dm_cache_policy_register()
105 spin_lock(&register_lock); in dm_cache_policy_unregister()
107 spin_unlock(&register_lock); in dm_cache_policy_unregister()
/drivers/ptp/
Dptp_pch.c120 spinlock_t register_lock; member
370 spin_lock_irqsave(&pch_dev->register_lock, flags); in ptp_pch_adjtime()
374 spin_unlock_irqrestore(&pch_dev->register_lock, flags); in ptp_pch_adjtime()
386 spin_lock_irqsave(&pch_dev->register_lock, flags); in ptp_pch_gettime()
388 spin_unlock_irqrestore(&pch_dev->register_lock, flags); in ptp_pch_gettime()
404 spin_lock_irqsave(&pch_dev->register_lock, flags); in ptp_pch_settime()
406 spin_unlock_irqrestore(&pch_dev->register_lock, flags); in ptp_pch_settime()
489 spin_lock_init(&chip->register_lock); in pch_probe()
502 spin_lock_irqsave(&chip->register_lock, flags); in pch_probe()
520 spin_unlock_irqrestore(&chip->register_lock, flags); in pch_probe()
/drivers/net/ethernet/xscale/
Dptp_ixp46x.c35 static DEFINE_SPINLOCK(register_lock);
154 spin_lock_irqsave(&register_lock, flags); in ptp_ixp_adjtime()
160 spin_unlock_irqrestore(&register_lock, flags); in ptp_ixp_adjtime()
172 spin_lock_irqsave(&register_lock, flags); in ptp_ixp_gettime()
176 spin_unlock_irqrestore(&register_lock, flags); in ptp_ixp_gettime()
192 spin_lock_irqsave(&register_lock, flags); in ptp_ixp_settime()
196 spin_unlock_irqrestore(&register_lock, flags); in ptp_ixp_settime()
/drivers/iommu/intel/
Ddmar.c1107 raw_spin_lock_init(&iommu->register_lock); in alloc_iommu()
1647 raw_spin_lock_irqsave(&iommu->register_lock, flags); in dmar_disable_qi()
1667 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in dmar_disable_qi()
1690 raw_spin_lock_irqsave(&iommu->register_lock, flags); in __dmar_enable_qi()
1703 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in __dmar_enable_qi()
1892 raw_spin_lock_irqsave(&iommu->register_lock, flag); in dmar_msi_unmask()
1896 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in dmar_msi_unmask()
1906 raw_spin_lock_irqsave(&iommu->register_lock, flag); in dmar_msi_mask()
1910 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in dmar_msi_mask()
1919 raw_spin_lock_irqsave(&iommu->register_lock, flag); in dmar_msi_write()
[all …]
Dpasid.c36 raw_spin_lock_irqsave(&iommu->register_lock, flags); in vcmd_alloc_pasid()
40 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in vcmd_alloc_pasid()
66 raw_spin_lock_irqsave(&iommu->register_lock, flags); in vcmd_free_pasid()
71 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in vcmd_free_pasid()
Diommu.c1229 raw_spin_lock_irqsave(&iommu->register_lock, flag); in iommu_set_root_entry()
1238 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in iommu_set_root_entry()
1261 raw_spin_lock_irqsave(&iommu->register_lock, flag); in iommu_flush_write_buffer()
1268 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in iommu_flush_write_buffer()
1295 raw_spin_lock_irqsave(&iommu->register_lock, flag); in __iommu_flush_context()
1302 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in __iommu_flush_context()
1341 raw_spin_lock_irqsave(&iommu->register_lock, flag); in __iommu_flush_iotlb()
1351 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in __iommu_flush_iotlb()
1621 raw_spin_lock_irqsave(&iommu->register_lock, flags); in iommu_disable_protect_mem_regions()
1630 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in iommu_disable_protect_mem_regions()
[all …]
Dirq_remapping.c481 raw_spin_lock_irqsave(&iommu->register_lock, flags); in iommu_set_irq_remapping()
491 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in iommu_set_irq_remapping()
506 raw_spin_lock_irqsave(&iommu->register_lock, flags); in iommu_enable_irq_remapping()
532 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in iommu_enable_irq_remapping()
687 raw_spin_lock_irqsave(&iommu->register_lock, flags); in iommu_disable_irq_remapping()
700 raw_spin_unlock_irqrestore(&iommu->register_lock, flags); in iommu_disable_irq_remapping()
Ddebugfs.c137 raw_spin_lock_irqsave(&iommu->register_lock, flag); in iommu_regset_show()
150 raw_spin_unlock_irqrestore(&iommu->register_lock, flag); in iommu_regset_show()
Diommu.h570 raw_spinlock_t register_lock; /* protect register handling */ member