Lines Matching refs:devices_lock
31 static DEFINE_MUTEX(devices_lock);
224 mutex_lock(&host1x->devices_lock); in host1x_add_client()
230 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
236 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
246 mutex_lock(&host1x->devices_lock); in host1x_del_client()
252 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
258 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
448 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
452 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
461 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
469 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
475 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
482 mutex_lock(&devices_lock); in host1x_register()
484 mutex_unlock(&devices_lock); in host1x_register()
507 mutex_lock(&devices_lock); in host1x_unregister()
509 mutex_unlock(&devices_lock); in host1x_unregister()
525 mutex_lock(&devices_lock); in host1x_driver_register_full()
530 mutex_unlock(&devices_lock); in host1x_driver_register_full()
552 mutex_lock(&devices_lock); in host1x_client_register()
557 mutex_unlock(&devices_lock); in host1x_client_register()
562 mutex_unlock(&devices_lock); in host1x_client_register()
578 mutex_lock(&devices_lock); in host1x_client_unregister()
583 mutex_unlock(&devices_lock); in host1x_client_unregister()
588 mutex_unlock(&devices_lock); in host1x_client_unregister()