Lines Matching refs:devices_lock

23 static DEFINE_MUTEX(devices_lock);
265 mutex_lock(&host1x->devices_lock); in host1x_add_client()
271 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
277 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
287 mutex_lock(&host1x->devices_lock); in host1x_del_client()
293 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
299 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
497 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
501 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
510 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
518 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
524 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
532 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
551 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
569 mutex_lock(&devices_lock); in host1x_register()
571 mutex_unlock(&devices_lock); in host1x_register()
604 mutex_lock(&devices_lock); in host1x_unregister()
606 mutex_unlock(&devices_lock); in host1x_unregister()
663 mutex_lock(&devices_lock); in host1x_driver_register_full()
668 mutex_unlock(&devices_lock); in host1x_driver_register_full()
693 mutex_lock(&devices_lock); in host1x_driver_unregister()
698 mutex_unlock(&devices_lock); in host1x_driver_unregister()
746 mutex_lock(&devices_lock); in __host1x_client_register()
751 mutex_unlock(&devices_lock); in __host1x_client_register()
756 mutex_unlock(&devices_lock); in __host1x_client_register()
779 mutex_lock(&devices_lock); in host1x_client_unregister()
784 mutex_unlock(&devices_lock); in host1x_client_unregister()
789 mutex_unlock(&devices_lock); in host1x_client_unregister()