Lines Matching refs:input
116 struct input_dev *input; member
395 input_mt_slot(ts->input, point.id - 1); in zforce_touch_event()
397 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, in zforce_touch_event()
401 input_report_abs(ts->input, ABS_MT_POSITION_X, in zforce_touch_event()
403 input_report_abs(ts->input, ABS_MT_POSITION_Y, in zforce_touch_event()
405 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in zforce_touch_event()
407 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, in zforce_touch_event()
409 input_report_abs(ts->input, ABS_MT_ORIENTATION, in zforce_touch_event()
415 input_mt_sync_frame(ts->input); in zforce_touch_event()
417 input_mt_report_finger_count(ts->input, num); in zforce_touch_event()
419 input_sync(ts->input); in zforce_touch_event()
623 struct input_dev *input = ts->input; in zforce_suspend() local
626 mutex_lock(&input->mutex); in zforce_suspend()
637 if (!input->users) { in zforce_suspend()
644 } else if (input->users) { in zforce_suspend()
659 mutex_unlock(&input->mutex); in zforce_suspend()
668 struct input_dev *input = ts->input; in zforce_resume() local
671 mutex_lock(&input->mutex); in zforce_resume()
681 if (!input->users) { in zforce_resume()
686 } else if (input->users) { in zforce_resume()
697 mutex_unlock(&input->mutex); in zforce_resume()
849 ts->input = input_dev; in zforce_probe()
875 input_set_drvdata(ts->input, ts); in zforce_probe()