Lines Matching defs:input
15 #include <linux/input.h>
22 #include <linux/input/mt.h>
95 * @input the input device
108 struct input_dev *input;
387 input_mt_slot(ts->input, point.id - 1);
389 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER,
393 input_report_abs(ts->input, ABS_MT_POSITION_X,
395 input_report_abs(ts->input, ABS_MT_POSITION_Y,
397 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR,
399 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR,
401 input_report_abs(ts->input, ABS_MT_ORIENTATION,
407 input_mt_sync_frame(ts->input);
409 input_mt_report_finger_count(ts->input, num);
411 input_sync(ts->input);
615 struct input_dev *input = ts->input;
618 mutex_lock(&input->mutex);
629 if (!input_device_enabled(input)) {
636 } else if (input_device_enabled(input)) {
651 mutex_unlock(&input->mutex);
660 struct input_dev *input = ts->input;
663 mutex_lock(&input->mutex);
673 if (!input_device_enabled(input)) {
678 } else if (input_device_enabled(input)) {
689 mutex_unlock(&input->mutex);
831 dev_err(&client->dev, "could not allocate input device\n");
840 ts->input = input_dev;
866 input_set_drvdata(ts->input, ts);
919 dev_err(&client->dev, "could not register input device, %d\n",