Lines Matching defs:touch_input

653 	if (wacom->shared && wacom->shared->touch_input) {
654 input_report_switch(wacom->shared->touch_input,
657 input_sync(wacom->shared->touch_input);
1287 struct input_dev *input = wacom->touch_input;
1448 struct input_dev *touch_input = wacom->touch_input;
1472 int slot = input_mt_get_slot_by_key(touch_input, touch[0]);
1475 int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X);
1476 int h = touch[7] * input_abs_get_res(touch_input, ABS_MT_POSITION_Y);
1481 input_mt_slot(touch_input, slot);
1482 input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01);
1483 input_report_abs(touch_input, ABS_MT_POSITION_X, x);
1484 input_report_abs(touch_input, ABS_MT_POSITION_Y, y);
1485 input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h));
1486 input_report_abs(touch_input, ABS_MT_TOUCH_MINOR, min(w, h));
1487 input_report_abs(touch_input, ABS_MT_ORIENTATION, w > h);
1490 input_mt_sync_frame(touch_input);
1496 input_sync(touch_input);
1503 input_report_switch(touch_input, SW_MUTE_DEVICE, !(data[281] >> 7));
1504 input_sync(touch_input);
1602 struct input_dev *input = wacom->touch_input;
1673 struct input_dev *input = wacom->touch_input;
1724 struct input_dev *input = wacom->touch_input;
1753 struct input_dev *input = wacom->touch_input;
1828 else if (wacom->touch_input) {
1829 dev_dbg(wacom->touch_input->dev.parent,
2170 if (wacom_wac->shared->touch_input) {
2178 input_report_switch(wacom_wac->shared->touch_input,
2180 input_sync(wacom_wac->shared->touch_input);
2615 struct input_dev *input = wacom_wac->touch_input;
2771 wacom_wac_finger_slot(wacom_wac, wacom_wac->touch_input);
2843 struct input_dev *input = wacom_wac->touch_input;
2907 else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input)
2959 else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input)
2997 if (finger_in_hid_field && wacom_wac->touch_input)
3020 struct input_dev *input = wacom->touch_input;
3061 struct input_dev *input = wacom->touch_input;
3140 if (wacom->touch_input && touch_changed) {
3141 input_mt_sync_frame(wacom->touch_input);
3269 struct input_dev *input = wacom->touch_input;
3338 wacom->shared->touch_input &&
3340 input_report_switch(wacom->shared->touch_input,
3342 input_sync(wacom->shared->touch_input);
3377 wacom_wac->shared->touch_input &&
3379 input_report_switch(wacom_wac->shared->touch_input,
3381 input_sync(wacom_wac->shared->touch_input);
3526 if (wacom_wac->touch_input)
3527 input_sync(wacom_wac->touch_input);