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()
513 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
517 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
526 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
534 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
540 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
548 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
567 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
585 mutex_lock(&devices_lock); in host1x_register()
587 mutex_unlock(&devices_lock); in host1x_register()
620 mutex_lock(&devices_lock); in host1x_unregister()
622 mutex_unlock(&devices_lock); in host1x_unregister()
679 mutex_lock(&devices_lock); in host1x_driver_register_full()
684 mutex_unlock(&devices_lock); in host1x_driver_register_full()
709 mutex_lock(&devices_lock); in host1x_driver_unregister()
714 mutex_unlock(&devices_lock); in host1x_driver_unregister()
762 mutex_lock(&devices_lock); in __host1x_client_register()
767 mutex_unlock(&devices_lock); in __host1x_client_register()
772 mutex_unlock(&devices_lock); in __host1x_client_register()
795 mutex_lock(&devices_lock); in host1x_client_unregister()
800 mutex_unlock(&devices_lock); in host1x_client_unregister()
805 mutex_unlock(&devices_lock); in host1x_client_unregister()