Lines Matching defs:input
15 #include <linux/input.h>
16 #include <linux/input/mt.h>
445 struct input_dev *input = cyapa->input;
521 } else if (cyapa->operational && input && input->users &&
675 /* Bootloader input report id 30h */
1917 * If the input value of @data_size is 0, then means read global mutual or
1925 * If the input value of @data_size is not 0, than means read the mutual or
2676 struct input_dev *input = cyapa->input;
2682 input_report_key(input, BTN_LEFT,
2686 input_report_key(input, BTN_MIDDLE,
2690 input_report_key(input, BTN_RIGHT,
2694 input_sync(input);
2700 struct input_dev *input = cyapa->input;
2704 input_report_abs(input, ABS_DISTANCE, distance);
2705 input_sync(input);
2711 struct input_dev *input = cyapa->input;
2719 input_mt_slot(input, slot);
2720 input_mt_report_slot_state(input, MT_TOOL_FINGER, true);
2727 input_report_abs(input, ABS_MT_POSITION_X, x);
2728 input_report_abs(input, ABS_MT_POSITION_Y, y);
2729 input_report_abs(input, ABS_DISTANCE, 0);
2730 input_report_abs(input, ABS_MT_PRESSURE,
2732 input_report_abs(input, ABS_MT_TOUCH_MAJOR,
2734 input_report_abs(input, ABS_MT_TOUCH_MINOR,
2737 input_report_abs(input, ABS_MT_WIDTH_MAJOR,
2739 input_report_abs(input, ABS_MT_WIDTH_MINOR,
2742 input_report_abs(input, ABS_MT_ORIENTATION,
2749 struct input_dev *input = cyapa->input;
2760 input_mt_sync_frame(input);
2761 input_sync(input);