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()
530 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
534 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
543 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
551 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
557 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
565 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
584 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
602 mutex_lock(&devices_lock); in host1x_register()
604 mutex_unlock(&devices_lock); in host1x_register()
637 mutex_lock(&devices_lock); in host1x_unregister()
639 mutex_unlock(&devices_lock); in host1x_unregister()
696 mutex_lock(&devices_lock); in host1x_driver_register_full()
701 mutex_unlock(&devices_lock); in host1x_driver_register_full()
726 mutex_lock(&devices_lock); in host1x_driver_unregister()
731 mutex_unlock(&devices_lock); in host1x_driver_unregister()
779 mutex_lock(&devices_lock); in __host1x_client_register()
784 mutex_unlock(&devices_lock); in __host1x_client_register()
789 mutex_unlock(&devices_lock); in __host1x_client_register()
812 mutex_lock(&devices_lock); in host1x_client_unregister()
817 mutex_unlock(&devices_lock); in host1x_client_unregister()
822 mutex_unlock(&devices_lock); in host1x_client_unregister()