Lines Matching refs:devices_lock
24 static DEFINE_MUTEX(devices_lock);
293 mutex_lock(&host1x->devices_lock); in host1x_add_client()
299 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
305 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
315 mutex_lock(&host1x->devices_lock); in host1x_del_client()
321 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
327 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
500 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
504 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
513 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
521 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
527 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
535 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
554 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
572 mutex_lock(&devices_lock); in host1x_register()
574 mutex_unlock(&devices_lock); in host1x_register()
607 mutex_lock(&devices_lock); in host1x_unregister()
609 mutex_unlock(&devices_lock); in host1x_unregister()
666 mutex_lock(&devices_lock); in host1x_driver_register_full()
671 mutex_unlock(&devices_lock); in host1x_driver_register_full()
696 mutex_lock(&devices_lock); in host1x_driver_unregister()
701 mutex_unlock(&devices_lock); in host1x_driver_unregister()
749 mutex_lock(&devices_lock); in __host1x_client_register()
754 mutex_unlock(&devices_lock); in __host1x_client_register()
759 mutex_unlock(&devices_lock); in __host1x_client_register()
782 mutex_lock(&devices_lock); in host1x_client_unregister()
787 mutex_unlock(&devices_lock); in host1x_client_unregister()
792 mutex_unlock(&devices_lock); in host1x_client_unregister()