Home
last modified time | relevance | path

Searched refs:vf50_ts (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
Dcolibri-vf50-ts.c90 static void vf50_ts_enable_touch_detection(struct vf50_touch_device *vf50_ts) in vf50_ts_enable_touch_detection() argument
93 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
99 pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); in vf50_ts_enable_touch_detection()
110 struct vf50_touch_device *vf50_ts = private; in vf50_ts_irq_bh() local
111 struct device *dev = &vf50_ts->pdev->dev; in vf50_ts_irq_bh()
116 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
121 while (!vf50_ts->stop_touchscreen) { in vf50_ts_irq_bh()
123 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh()
124 vf50_ts->gpio_xp, vf50_ts->gpio_xm); in vf50_ts_irq_bh()
129 val_y = adc_ts_measure(&vf50_ts->channels[1], in vf50_ts_irq_bh()
[all …]