Searched refs:clients_lock (Results 1 – 7 of 7) sorted by relevance
17 static DEFINE_MUTEX(clients_lock);120 mutex_lock(&device->clients_lock); in host1x_subdev_register()125 mutex_unlock(&device->clients_lock); in host1x_subdev_register()157 mutex_lock(&device->clients_lock); in __host1x_subdev_unregister()170 mutex_unlock(&device->clients_lock); in __host1x_subdev_unregister()196 mutex_lock(&device->clients_lock); in host1x_device_init()210 mutex_unlock(&device->clients_lock); in host1x_device_init()219 mutex_unlock(&device->clients_lock); in host1x_device_init()238 mutex_lock(&device->clients_lock); in host1x_device_exit()247 mutex_unlock(&device->clients_lock); in host1x_device_exit()[all …]
560 mutex_init(&drm->clients_lock); in nouveau_drm_device_init()662 mutex_lock(&drm->clients_lock); in nouveau_drm_device_fini()672 mutex_unlock(&drm->clients_lock); in nouveau_drm_device_fini()677 mutex_destroy(&drm->clients_lock); in nouveau_drm_device_fini()1110 mutex_lock(&drm->clients_lock); in nouveau_drm_open()1112 mutex_unlock(&drm->clients_lock); in nouveau_drm_open()1148 mutex_lock(&drm->clients_lock); in nouveau_drm_postclose()1150 mutex_unlock(&drm->clients_lock); in nouveau_drm_postclose()
148 struct mutex clients_lock; member
53 static DEFINE_SPINLOCK(clients_lock);113 spin_lock_irqsave(&clients_lock, flags); in snd_seq_client_use_ptr()118 spin_unlock_irqrestore(&clients_lock, flags); in snd_seq_client_use_ptr()121 spin_unlock_irqrestore(&clients_lock, flags); in snd_seq_client_use_ptr()152 spin_lock_irqsave(&clients_lock, flags); in snd_seq_client_use_ptr()156 spin_unlock_irqrestore(&clients_lock, flags); in snd_seq_client_use_ptr()163 spin_unlock_irqrestore(&clients_lock, flags); in snd_seq_client_use_ptr()246 spin_lock_irq(&clients_lock); in seq_create_client1()254 spin_unlock_irq(&clients_lock); in seq_create_client1()260 spin_unlock_irq(&clients_lock); in seq_create_client1()[all …]
886 mutex_lock(&tegra->clients_lock); in tegra_drm_register_client()889 mutex_unlock(&tegra->clients_lock); in tegra_drm_register_client()897 mutex_lock(&tegra->clients_lock); in tegra_drm_unregister_client()900 mutex_unlock(&tegra->clients_lock); in tegra_drm_unregister_client()1115 mutex_init(&tegra->clients_lock); in host1x_drm_probe()
50 struct mutex clients_lock; member
307 struct mutex clients_lock; member