Lines Matching refs:devices_lock

23 static DEFINE_MUTEX(devices_lock);
297 mutex_lock(&host1x->devices_lock); in host1x_add_client()
303 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
309 mutex_unlock(&host1x->devices_lock); in host1x_add_client()
319 mutex_lock(&host1x->devices_lock); in host1x_del_client()
325 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
331 mutex_unlock(&host1x->devices_lock); in host1x_del_client()
529 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()
533 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
542 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()
550 mutex_lock(&host1x->devices_lock); in host1x_detach_driver()
556 mutex_unlock(&host1x->devices_lock); in host1x_detach_driver()
564 mutex_lock(&host1x->devices_lock); in host1x_devices_show()
583 mutex_unlock(&host1x->devices_lock); in host1x_devices_show()
601 mutex_lock(&devices_lock); in host1x_register()
603 mutex_unlock(&devices_lock); in host1x_register()
636 mutex_lock(&devices_lock); in host1x_unregister()
638 mutex_unlock(&devices_lock); in host1x_unregister()
695 mutex_lock(&devices_lock); in host1x_driver_register_full()
700 mutex_unlock(&devices_lock); in host1x_driver_register_full()
725 mutex_lock(&devices_lock); in host1x_driver_unregister()
730 mutex_unlock(&devices_lock); in host1x_driver_unregister()
778 mutex_lock(&devices_lock); in __host1x_client_register()
783 mutex_unlock(&devices_lock); in __host1x_client_register()
788 mutex_unlock(&devices_lock); in __host1x_client_register()
811 mutex_lock(&devices_lock); in host1x_client_unregister()
816 mutex_unlock(&devices_lock); in host1x_client_unregister()
821 mutex_unlock(&devices_lock); in host1x_client_unregister()