Searched refs:mousedev_mix (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/input/
H A Dmousedev.c118 static struct mousedev *mousedev_mix; variable in typeref:struct:mousedev
256 set_bit(index, &mousedev_mix->packet.buttons); mousedev_key_event()
259 clear_bit(index, &mousedev_mix->packet.buttons); mousedev_key_event()
330 * We rely on the fact that mousedev_mix always has 0 mousedev_touchpad_touch()
334 set_bit(0, &mousedev_mix->packet.buttons); mousedev_touchpad_touch()
335 mousedev_notify_readers(mousedev, &mousedev_mix->packet); mousedev_touchpad_touch()
336 mousedev_notify_readers(mousedev_mix, mousedev_touchpad_touch()
337 &mousedev_mix->packet); mousedev_touchpad_touch()
339 clear_bit(0, &mousedev_mix->packet.buttons); mousedev_touchpad_touch()
397 mousedev_notify_readers(mousedev_mix, &mousedev->packet); mousedev_event()
454 * stream. Note that this function is called with mousedev_mix->mutex
484 * device. Note that this function is called with mousedev_mix->mutex
544 mousedev = mousedev_mix; mousedev_open()
933 if (mousedev != mousedev_mix) mousedev_destroy()
942 retval = mutex_lock_interruptible(&mousedev_mix->mutex); mixdev_add_device()
946 if (mousedev_mix->open) { mixdev_add_device()
958 mutex_unlock(&mousedev_mix->mutex); mixdev_add_device()
964 mutex_lock(&mousedev_mix->mutex); mixdev_remove_device()
972 mutex_unlock(&mousedev_mix->mutex); mixdev_remove_device()
1103 mousedev_mix = mousedev_create(NULL, &mousedev_handler, true); mousedev_init()
1104 if (IS_ERR(mousedev_mix)) mousedev_init()
1105 return PTR_ERR(mousedev_mix); mousedev_init()
1109 mousedev_destroy(mousedev_mix); mousedev_init()
1124 mousedev_destroy(mousedev_mix); mousedev_exit()

Completed in 40 milliseconds