vf50_ts 86 drivers/input/touchscreen/colibri-vf50-ts.c static void vf50_ts_enable_touch_detection(struct vf50_touch_device *vf50_ts) vf50_ts 89 drivers/input/touchscreen/colibri-vf50-ts.c gpiod_set_value(vf50_ts->gpio_ym, 1); vf50_ts 95 drivers/input/touchscreen/colibri-vf50-ts.c pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); vf50_ts 106 drivers/input/touchscreen/colibri-vf50-ts.c struct vf50_touch_device *vf50_ts = private; vf50_ts 107 drivers/input/touchscreen/colibri-vf50-ts.c struct device *dev = &vf50_ts->pdev->dev; vf50_ts 112 drivers/input/touchscreen/colibri-vf50-ts.c gpiod_set_value(vf50_ts->gpio_ym, 0); vf50_ts 117 drivers/input/touchscreen/colibri-vf50-ts.c while (!vf50_ts->stop_touchscreen) { vf50_ts 119 drivers/input/touchscreen/colibri-vf50-ts.c val_x = adc_ts_measure(&vf50_ts->channels[0], vf50_ts 120 drivers/input/touchscreen/colibri-vf50-ts.c vf50_ts->gpio_xp, vf50_ts->gpio_xm); vf50_ts 125 drivers/input/touchscreen/colibri-vf50-ts.c val_y = adc_ts_measure(&vf50_ts->channels[1], vf50_ts 126 drivers/input/touchscreen/colibri-vf50-ts.c vf50_ts->gpio_yp, vf50_ts->gpio_ym); vf50_ts 134 drivers/input/touchscreen/colibri-vf50-ts.c val_z1 = adc_ts_measure(&vf50_ts->channels[2], vf50_ts 135 drivers/input/touchscreen/colibri-vf50-ts.c vf50_ts->gpio_yp, vf50_ts->gpio_xm); vf50_ts 138 drivers/input/touchscreen/colibri-vf50-ts.c val_z2 = adc_ts_measure(&vf50_ts->channels[3], vf50_ts 139 drivers/input/touchscreen/colibri-vf50-ts.c vf50_ts->gpio_yp, vf50_ts->gpio_xm); vf50_ts 166 drivers/input/touchscreen/colibri-vf50-ts.c if (val_p < vf50_ts->min_pressure || val_p > 2000) vf50_ts 182 drivers/input/touchscreen/colibri-vf50-ts.c input_report_abs(vf50_ts->ts_input, vf50_ts 184 drivers/input/touchscreen/colibri-vf50-ts.c input_report_abs(vf50_ts->ts_input, vf50_ts 186 drivers/input/touchscreen/colibri-vf50-ts.c input_report_abs(vf50_ts->ts_input, vf50_ts 188 drivers/input/touchscreen/colibri-vf50-ts.c input_report_key(vf50_ts->ts_input, BTN_TOUCH, 1); vf50_ts 189 drivers/input/touchscreen/colibri-vf50-ts.c input_sync(vf50_ts->ts_input); vf50_ts 197 drivers/input/touchscreen/colibri-vf50-ts.c input_report_abs(vf50_ts->ts_input, ABS_PRESSURE, 0); vf50_ts 198 drivers/input/touchscreen/colibri-vf50-ts.c input_report_key(vf50_ts->ts_input, BTN_TOUCH, 0); vf50_ts 199 drivers/input/touchscreen/colibri-vf50-ts.c input_sync(vf50_ts->ts_input); vf50_ts 201 drivers/input/touchscreen/colibri-vf50-ts.c vf50_ts_enable_touch_detection(vf50_ts);