Lines Matching refs:input
31 struct input_dev *input; member
37 static void exc3000_report_slots(struct input_dev *input, in exc3000_report_slots() argument
43 input_mt_slot(input, buf[1]); in exc3000_report_slots()
44 input_mt_report_slot_state(input, MT_TOOL_FINGER, true); in exc3000_report_slots()
45 touchscreen_report_pos(input, prop, in exc3000_report_slots()
57 input_mt_sync_frame(data->input); in exc3000_timer()
58 input_sync(data->input); in exc3000_timer()
116 struct input_dev *input = data->input; in exc3000_interrupt() local
136 exc3000_report_slots(input, &data->prop, buf + 4, slots); in exc3000_interrupt()
141 input_mt_sync_frame(input); in exc3000_interrupt()
142 input_sync(input); in exc3000_interrupt()
152 struct input_dev *input; in exc3000_probe() local
162 input = devm_input_allocate_device(&client->dev); in exc3000_probe()
163 if (!input) in exc3000_probe()
166 data->input = input; in exc3000_probe()
168 input->name = "EETI EXC3000 Touch Screen"; in exc3000_probe()
169 input->id.bustype = BUS_I2C; in exc3000_probe()
171 input_set_abs_params(input, ABS_MT_POSITION_X, 0, 4095, 0, 0); in exc3000_probe()
172 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, 4095, 0, 0); in exc3000_probe()
173 touchscreen_parse_properties(input, true, &data->prop); in exc3000_probe()
175 error = input_mt_init_slots(input, EXC3000_NUM_SLOTS, in exc3000_probe()
180 error = input_register_device(input); in exc3000_probe()