Lines Matching refs:input
694 struct input_dev *input; member
739 wd->input = input_dev; in wtp_populate_input()
751 slot = input_mt_get_slot_by_key(wd->input, touch_report->finger_id); in wtp_touch_event()
753 input_mt_slot(wd->input, slot); in wtp_touch_event()
754 input_mt_report_slot_state(wd->input, MT_TOOL_FINGER, in wtp_touch_event()
757 input_event(wd->input, EV_ABS, ABS_MT_POSITION_X, in wtp_touch_event()
759 input_event(wd->input, EV_ABS, ABS_MT_POSITION_Y, in wtp_touch_event()
762 input_event(wd->input, EV_ABS, ABS_MT_PRESSURE, in wtp_touch_event()
778 input_event(wd->input, EV_KEY, BTN_LEFT, raw->button); in wtp_send_raw_xy_event()
781 input_mt_sync_frame(wd->input); in wtp_send_raw_xy_event()
782 input_sync(wd->input); in wtp_send_raw_xy_event()
832 if (!wd || !wd->input) in wtp_raw_event()
843 input_event(wd->input, EV_KEY, BTN_LEFT, in wtp_raw_event()
845 input_event(wd->input, EV_KEY, BTN_RIGHT, in wtp_raw_event()
847 input_sync(wd->input); in wtp_raw_event()
950 struct input_dev *input, bool origin_is_hid_core) in hidpp_populate_input() argument
953 wtp_populate_input(hidpp, input, origin_is_hid_core); in hidpp_populate_input()
960 struct input_dev *input = hidinput->input; in hidpp_input_configured() local
962 hidpp_populate_input(hidpp, input, true); in hidpp_input_configured()
1111 struct input_dev *input; in hidpp_connect_event() local
1152 input = hidpp_allocate_input(hdev); in hidpp_connect_event()
1153 if (!input) { in hidpp_connect_event()
1158 hidpp_populate_input(hidpp, input, false); in hidpp_connect_event()
1160 ret = input_register_device(input); in hidpp_connect_event()
1162 input_free_device(input); in hidpp_connect_event()
1164 hidpp->delayed_input = input; in hidpp_connect_event()