Searched refs:drv_mutex (Results 1 – 4 of 4) sorted by relevance
58 mutex_lock(&serio->drv_mutex); in serio_connect_driver()60 mutex_unlock(&serio->drv_mutex); in serio_connect_driver()69 mutex_lock(&serio->drv_mutex); in serio_reconnect_driver()72 mutex_unlock(&serio->drv_mutex); in serio_reconnect_driver()79 mutex_lock(&serio->drv_mutex); in serio_disconnect_driver()82 mutex_unlock(&serio->drv_mutex); in serio_disconnect_driver()519 mutex_init(&serio->drv_mutex); in serio_init_port()803 mutex_lock(&serio->drv_mutex); in serio_cleanup()806 mutex_unlock(&serio->drv_mutex); in serio_cleanup()954 mutex_lock(&serio->drv_mutex); in serio_resume()[all …]
46 struct mutex drv_mutex; /* protects serio->drv so attributes can pin driver */ member138 return mutex_lock_interruptible(&gameport->drv_mutex); in gameport_pin_driver()143 mutex_unlock(&gameport->drv_mutex); in gameport_unpin_driver()
56 struct mutex drv_mutex; member
534 mutex_init(&gameport->drv_mutex); in gameport_init_port()802 mutex_lock(&gameport->drv_mutex); in gameport_set_drv()804 mutex_unlock(&gameport->drv_mutex); in gameport_set_drv()