Lines Matching refs:devices_lock
32 static DEFINE_MUTEX(devices_lock);
274 mutex_lock(&host1x->devices_lock); in host1x_add_client()
280 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
286 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
296 mutex_lock(&host1x->devices_lock); in host1x_del_client()
302 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
308 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
473 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
477 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
486 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
494 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
500 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
515 mutex_lock(&devices_lock); in host1x_register()
517 mutex_unlock(&devices_lock); in host1x_register()
547 mutex_lock(&devices_lock); in host1x_unregister()
549 mutex_unlock(&devices_lock); in host1x_unregister()
606 mutex_lock(&devices_lock); in host1x_driver_register_full()
611 mutex_unlock(&devices_lock); in host1x_driver_register_full()
656 mutex_lock(&devices_lock); in host1x_client_register()
661 mutex_unlock(&devices_lock); in host1x_client_register()
666 mutex_unlock(&devices_lock); in host1x_client_register()
689 mutex_lock(&devices_lock); in host1x_client_unregister()
694 mutex_unlock(&devices_lock); in host1x_client_unregister()
699 mutex_unlock(&devices_lock); in host1x_client_unregister()