Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/touchscreen/
Dcolibri-vf50-ts.c85 static void vf50_ts_enable_touch_detection(struct vf50_touch_device *vf50_ts) in vf50_ts_enable_touch_detection() argument
88 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
94 pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); in vf50_ts_enable_touch_detection()
105 struct vf50_touch_device *vf50_ts = private; in vf50_ts_irq_bh() local
106 struct device *dev = &vf50_ts->pdev->dev; in vf50_ts_irq_bh()
111 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
116 while (!vf50_ts->stop_touchscreen) { in vf50_ts_irq_bh()
118 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh()
119 vf50_ts->gpio_xp, vf50_ts->gpio_xm); in vf50_ts_irq_bh()
124 val_y = adc_ts_measure(&vf50_ts->channels[1], in vf50_ts_irq_bh()
[all …]