Home
last modified time | relevance | path

Searched refs:drv_mutex (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/input/serio/
Dserio.c58 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 …]
/Linux-v4.19/include/linux/
Dgameport.h46 struct mutex drv_mutex; /* protects serio->drv so attributes can pin driver */ member
138 return mutex_lock_interruptible(&gameport->drv_mutex); in gameport_pin_driver()
143 mutex_unlock(&gameport->drv_mutex); in gameport_unpin_driver()
Dserio.h56 struct mutex drv_mutex; member
/Linux-v4.19/drivers/input/gameport/
Dgameport.c534 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()