Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/touchscreen/
Dwm97xx-core.c293 int pen_was_down = wm->pen_is_down; in wm97xx_pen_irq_worker()
299 wm->pen_is_down = 1; in wm97xx_pen_irq_worker()
301 wm->pen_is_down = 0; in wm97xx_pen_irq_worker()
309 wm->pen_is_down = 1; in wm97xx_pen_irq_worker()
313 wm->pen_is_down = 0; in wm97xx_pen_irq_worker()
333 if (wm->pen_is_down && !pen_was_down) { in wm97xx_pen_irq_worker()
339 if (!wm->pen_is_down && pen_was_down) in wm97xx_pen_irq_worker()
340 wm->pen_is_down = 1; in wm97xx_pen_irq_worker()
343 if (!wm->pen_is_down && wm->mach_ops->acc_enabled) in wm97xx_pen_irq_worker()
415 if (wm->pen_is_down) { in wm97xx_read_samples()
[all …]
/Linux-v5.4/include/linux/
Dwm97xx.h287 unsigned pen_is_down:1; /* Pen is down */ member