• Home
  • Raw
  • Download

Lines Matching refs:idev

41 	struct input_dev *idev;  member
74 input_report_abs(touch->idev, ABS_X, x); in pm860x_touch_handler()
75 input_report_abs(touch->idev, ABS_Y, y); in pm860x_touch_handler()
76 input_report_abs(touch->idev, ABS_PRESSURE, rt); in pm860x_touch_handler()
77 input_report_key(touch->idev, BTN_TOUCH, 1); in pm860x_touch_handler()
80 input_report_abs(touch->idev, ABS_PRESSURE, 0); in pm860x_touch_handler()
81 input_report_key(touch->idev, BTN_TOUCH, 0); in pm860x_touch_handler()
84 input_sync(touch->idev); in pm860x_touch_handler()
246 touch->idev = devm_input_allocate_device(&pdev->dev); in pm860x_touch_probe()
247 if (!touch->idev) { in pm860x_touch_probe()
252 touch->idev->name = "88pm860x-touch"; in pm860x_touch_probe()
253 touch->idev->phys = "88pm860x/input0"; in pm860x_touch_probe()
254 touch->idev->id.bustype = BUS_I2C; in pm860x_touch_probe()
255 touch->idev->dev.parent = &pdev->dev; in pm860x_touch_probe()
256 touch->idev->open = pm860x_touch_open; in pm860x_touch_probe()
257 touch->idev->close = pm860x_touch_close; in pm860x_touch_probe()
262 input_set_drvdata(touch->idev, touch); in pm860x_touch_probe()
270 __set_bit(EV_ABS, touch->idev->evbit); in pm860x_touch_probe()
271 __set_bit(ABS_X, touch->idev->absbit); in pm860x_touch_probe()
272 __set_bit(ABS_Y, touch->idev->absbit); in pm860x_touch_probe()
273 __set_bit(ABS_PRESSURE, touch->idev->absbit); in pm860x_touch_probe()
274 __set_bit(EV_SYN, touch->idev->evbit); in pm860x_touch_probe()
275 __set_bit(EV_KEY, touch->idev->evbit); in pm860x_touch_probe()
276 __set_bit(BTN_TOUCH, touch->idev->keybit); in pm860x_touch_probe()
278 input_set_abs_params(touch->idev, ABS_X, 0, 1 << ACCURATE_BIT, 0, 0); in pm860x_touch_probe()
279 input_set_abs_params(touch->idev, ABS_Y, 0, 1 << ACCURATE_BIT, 0, 0); in pm860x_touch_probe()
280 input_set_abs_params(touch->idev, ABS_PRESSURE, 0, 1 << ACCURATE_BIT, in pm860x_touch_probe()
283 ret = input_register_device(touch->idev); in pm860x_touch_probe()