Lines Matching refs:touch_input

648 	if (wacom->shared && wacom->shared->touch_input) {  in wacom_intuos_pad()
649 input_report_switch(wacom->shared->touch_input, in wacom_intuos_pad()
652 input_sync(wacom->shared->touch_input); in wacom_intuos_pad()
1283 struct input_dev *input = wacom->touch_input; in wacom_wac_finger_count_touches()
1418 struct input_dev *touch_input = wacom->touch_input; in wacom_intuos_pro2_bt_touch() local
1442 int slot = input_mt_get_slot_by_key(touch_input, touch[0]); in wacom_intuos_pro2_bt_touch()
1445 int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X); in wacom_intuos_pro2_bt_touch()
1446 int h = touch[7] * input_abs_get_res(touch_input, ABS_MT_POSITION_Y); in wacom_intuos_pro2_bt_touch()
1451 input_mt_slot(touch_input, slot); in wacom_intuos_pro2_bt_touch()
1452 input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01); in wacom_intuos_pro2_bt_touch()
1453 input_report_abs(touch_input, ABS_MT_POSITION_X, x); in wacom_intuos_pro2_bt_touch()
1454 input_report_abs(touch_input, ABS_MT_POSITION_Y, y); in wacom_intuos_pro2_bt_touch()
1455 input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h)); in wacom_intuos_pro2_bt_touch()
1456 input_report_abs(touch_input, ABS_MT_TOUCH_MINOR, min(w, h)); in wacom_intuos_pro2_bt_touch()
1457 input_report_abs(touch_input, ABS_MT_ORIENTATION, w > h); in wacom_intuos_pro2_bt_touch()
1460 input_mt_sync_frame(touch_input); in wacom_intuos_pro2_bt_touch()
1466 input_sync(touch_input); in wacom_intuos_pro2_bt_touch()
1473 input_report_switch(touch_input, SW_MUTE_DEVICE, !(data[281] >> 7)); in wacom_intuos_pro2_bt_touch()
1474 input_sync(touch_input); in wacom_intuos_pro2_bt_touch()
1572 struct input_dev *input = wacom->touch_input; in wacom_24hdt_irq()
1643 struct input_dev *input = wacom->touch_input; in wacom_mt_touch()
1694 struct input_dev *input = wacom->touch_input; in wacom_tpc_mt_touch()
1723 struct input_dev *input = wacom->touch_input; in wacom_tpc_single_touch()
1798 else if (wacom->touch_input) { in wacom_tpc_irq()
1799 dev_dbg(wacom->touch_input->dev.parent, in wacom_tpc_irq()
2143 if (wacom_wac->shared->touch_input) { in wacom_wac_pad_event()
2151 input_report_switch(wacom_wac->shared->touch_input, in wacom_wac_pad_event()
2153 input_sync(wacom_wac->shared->touch_input); in wacom_wac_pad_event()
2571 struct input_dev *input = wacom_wac->touch_input; in wacom_wac_finger_usage_mapping()
2745 bool touch_removed = wacom_wac_slot_is_active(wacom_wac->touch_input, in wacom_wac_finger_event()
2749 wacom_wac_finger_slot(wacom_wac, wacom_wac->touch_input); in wacom_wac_finger_event()
2823 struct input_dev *input = wacom_wac->touch_input; in wacom_wac_finger_report()
2887 else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input) in wacom_wac_event()
2939 else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input) in wacom_wac_collection()
2977 if (finger_in_hid_field && wacom->wacom_wac.touch_input) in wacom_wac_report()
3000 struct input_dev *input = wacom->touch_input; in wacom_bpt_touch()
3041 struct input_dev *input = wacom->touch_input; in wacom_bpt3_touch_msg()
3120 if (wacom->touch_input && touch_changed) { in wacom_bpt3_touch()
3121 input_mt_sync_frame(wacom->touch_input); in wacom_bpt3_touch()
3249 struct input_dev *input = wacom->touch_input; in wacom_bamboo_pad_touch_event()
3318 wacom->shared->touch_input && in wacom_wireless_irq()
3320 input_report_switch(wacom->shared->touch_input, in wacom_wireless_irq()
3322 input_sync(wacom->shared->touch_input); in wacom_wireless_irq()
3357 wacom_wac->shared->touch_input && in wacom_status_irq()
3359 input_report_switch(wacom_wac->shared->touch_input, in wacom_status_irq()
3361 input_sync(wacom_wac->shared->touch_input); in wacom_status_irq()
3512 if (wacom_wac->touch_input) in wacom_wac_irq()
3513 input_sync(wacom_wac->touch_input); in wacom_wac_irq()