Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/
Dmousedev.c454 static int mixdev_open_devices(struct mousedev *mixdev) in mixdev_open_devices() argument
458 error = mutex_lock_interruptible(&mixdev->mutex); in mixdev_open_devices()
462 if (!mixdev->open++) { in mixdev_open_devices()
475 mutex_unlock(&mixdev->mutex); in mixdev_open_devices()
484 static void mixdev_close_devices(struct mousedev *mixdev) in mixdev_close_devices() argument
486 mutex_lock(&mixdev->mutex); in mixdev_close_devices()
488 if (!--mixdev->open) { in mixdev_close_devices()
499 mutex_unlock(&mixdev->mutex); in mixdev_close_devices()
824 static int mousedev_reserve_minor(bool mixdev) in mousedev_reserve_minor() argument
828 if (mixdev) { in mousedev_reserve_minor()
[all …]