Lines Matching refs:mousedev_mix
116 static struct mousedev *mousedev_mix; variable
254 set_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
257 clear_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
331 set_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
332 mousedev_notify_readers(mousedev, &mousedev_mix->packet); in mousedev_touchpad_touch()
333 mousedev_notify_readers(mousedev_mix, in mousedev_touchpad_touch()
334 &mousedev_mix->packet); in mousedev_touchpad_touch()
336 clear_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
394 mousedev_notify_readers(mousedev_mix, &mousedev->packet); in mousedev_event()
541 mousedev = mousedev_mix; in mousedev_open()
930 if (mousedev != mousedev_mix) in mousedev_destroy()
939 retval = mutex_lock_interruptible(&mousedev_mix->mutex); in mixdev_add_device()
943 if (mousedev_mix->open) { in mixdev_add_device()
955 mutex_unlock(&mousedev_mix->mutex); in mixdev_add_device()
961 mutex_lock(&mousedev_mix->mutex); in mixdev_remove_device()
969 mutex_unlock(&mousedev_mix->mutex); in mixdev_remove_device()
1100 mousedev_mix = mousedev_create(NULL, &mousedev_handler, true); in mousedev_init()
1101 if (IS_ERR(mousedev_mix)) in mousedev_init()
1102 return PTR_ERR(mousedev_mix); in mousedev_init()
1106 mousedev_destroy(mousedev_mix); in mousedev_init()
1121 mousedev_destroy(mousedev_mix); in mousedev_exit()