Searched refs:devices_lock (Results 1 – 8 of 8) sorted by relevance
71 static DEFINE_MUTEX(devices_lock);159 mutex_lock(&devices_lock); in roccat_open()197 mutex_unlock(&devices_lock); in roccat_open()209 mutex_lock(&devices_lock); in roccat_release()213 mutex_unlock(&devices_lock); in roccat_release()233 mutex_unlock(&devices_lock); in roccat_release()308 mutex_lock(&devices_lock); in roccat_connect()319 mutex_unlock(&devices_lock); in roccat_connect()330 mutex_unlock(&devices_lock); in roccat_connect()336 mutex_unlock(&devices_lock); in roccat_connect()[all …]
24 static DEFINE_MUTEX(devices_lock);298 mutex_lock(&host1x->devices_lock); in host1x_add_client()304 mutex_unlock(&host1x->devices_lock); in host1x_add_client()310 mutex_unlock(&host1x->devices_lock); in host1x_add_client()320 mutex_lock(&host1x->devices_lock); in host1x_del_client()326 mutex_unlock(&host1x->devices_lock); in host1x_del_client()332 mutex_unlock(&host1x->devices_lock); in host1x_del_client()530 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()534 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()543 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()[all …]
159 struct mutex devices_lock; member
511 mutex_init(&host->devices_lock); in host1x_probe()
46 static DEFINE_SPINLOCK(devices_lock);649 spin_lock(&devices_lock); in add_peer_chan()652 spin_unlock(&devices_lock); in add_peer_chan()687 spin_lock(&devices_lock); in setup_netdev()690 spin_unlock(&devices_lock); in setup_netdev()695 spin_lock(&devices_lock); in setup_netdev()697 spin_unlock(&devices_lock); in setup_netdev()783 spin_lock(&devices_lock); in chan_close_cb()803 spin_unlock(&devices_lock); in chan_close_cb()814 spin_unlock(&devices_lock); in chan_close_cb()[all …]
328 static DEFINE_SPINLOCK(devices_lock);471 spin_lock(&devices_lock); in eth_configure()473 spin_unlock(&devices_lock); in eth_configure()494 spin_lock(&devices_lock); in find_device()502 spin_unlock(&devices_lock); in find_device()
974 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_sync_cd()981 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_sync_cd()1827 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_atc_inv_domain()1837 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_atc_inv_domain()2029 spin_lock_init(&smmu_domain->devices_lock); in arm_smmu_domain_alloc()2387 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_detach_dev()2389 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_detach_dev()2461 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_attach_dev()2463 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_attach_dev()
726 spinlock_t devices_lock; member