Lines Matching refs:devices_lock

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()
505 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
509 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
518 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
526 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
532 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
540 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
559 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
577 mutex_lock(&devices_lock); in host1x_register()
579 mutex_unlock(&devices_lock); in host1x_register()
612 mutex_lock(&devices_lock); in host1x_unregister()
614 mutex_unlock(&devices_lock); in host1x_unregister()
671 mutex_lock(&devices_lock); in host1x_driver_register_full()
676 mutex_unlock(&devices_lock); in host1x_driver_register_full()
701 mutex_lock(&devices_lock); in host1x_driver_unregister()
706 mutex_unlock(&devices_lock); in host1x_driver_unregister()
754 mutex_lock(&devices_lock); in __host1x_client_register()
759 mutex_unlock(&devices_lock); in __host1x_client_register()
764 mutex_unlock(&devices_lock); in __host1x_client_register()
787 mutex_lock(&devices_lock); in host1x_client_unregister()
792 mutex_unlock(&devices_lock); in host1x_client_unregister()
797 mutex_unlock(&devices_lock); in host1x_client_unregister()