Lines Matching refs:input
118 struct input_dev *input; member
384 input_mt_slot(ts->input, point.id - 1); in zforce_touch_event()
386 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, in zforce_touch_event()
390 input_report_abs(ts->input, ABS_MT_POSITION_X, in zforce_touch_event()
392 input_report_abs(ts->input, ABS_MT_POSITION_Y, in zforce_touch_event()
394 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in zforce_touch_event()
396 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, in zforce_touch_event()
398 input_report_abs(ts->input, ABS_MT_ORIENTATION, in zforce_touch_event()
404 input_mt_sync_frame(ts->input); in zforce_touch_event()
406 input_mt_report_finger_count(ts->input, num); in zforce_touch_event()
408 input_sync(ts->input); in zforce_touch_event()
609 struct input_dev *input = ts->input; in zforce_suspend() local
612 mutex_lock(&input->mutex); in zforce_suspend()
623 if (!input->users) { in zforce_suspend()
630 } else if (input->users) { in zforce_suspend()
645 mutex_unlock(&input->mutex); in zforce_suspend()
654 struct input_dev *input = ts->input; in zforce_resume() local
657 mutex_lock(&input->mutex); in zforce_resume()
667 if (!input->users) { in zforce_resume()
672 } else if (input->users) { in zforce_resume()
683 mutex_unlock(&input->mutex); in zforce_resume()
818 ts->input = input_dev; in zforce_probe()
844 input_set_drvdata(ts->input, ts); in zforce_probe()