• Home
  • Raw
  • Download

Lines Matching refs:input_dev

61 	struct input_dev		*input_dev;  member
67 struct input_dev *input_dev = ts->input_dev; in egalax_ts_interrupt() local
101 input_mt_slot(input_dev, id); in egalax_ts_interrupt()
102 input_mt_report_slot_state(input_dev, MT_TOOL_FINGER, down); in egalax_ts_interrupt()
108 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in egalax_ts_interrupt()
109 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in egalax_ts_interrupt()
110 input_report_abs(input_dev, ABS_MT_PRESSURE, z); in egalax_ts_interrupt()
113 input_mt_report_pointer_emulation(input_dev, true); in egalax_ts_interrupt()
114 input_sync(input_dev); in egalax_ts_interrupt()
168 struct input_dev *input_dev; in egalax_ts_probe() local
177 input_dev = devm_input_allocate_device(&client->dev); in egalax_ts_probe()
178 if (!input_dev) { in egalax_ts_probe()
184 ts->input_dev = input_dev; in egalax_ts_probe()
199 input_dev->name = "EETI eGalax Touch Screen"; in egalax_ts_probe()
200 input_dev->id.bustype = BUS_I2C; in egalax_ts_probe()
202 __set_bit(EV_ABS, input_dev->evbit); in egalax_ts_probe()
203 __set_bit(EV_KEY, input_dev->evbit); in egalax_ts_probe()
204 __set_bit(BTN_TOUCH, input_dev->keybit); in egalax_ts_probe()
206 input_set_abs_params(input_dev, ABS_X, 0, EGALAX_MAX_X, 0, 0); in egalax_ts_probe()
207 input_set_abs_params(input_dev, ABS_Y, 0, EGALAX_MAX_Y, 0, 0); in egalax_ts_probe()
208 input_set_abs_params(input_dev, in egalax_ts_probe()
210 input_set_abs_params(input_dev, in egalax_ts_probe()
212 input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0); in egalax_ts_probe()
223 error = input_register_device(ts->input_dev); in egalax_ts_probe()