Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dwm97xx-core.c294 int pen_was_down = wm->pen_is_down; in wm97xx_pen_interrupt()
300 wm->pen_is_down = 1; in wm97xx_pen_interrupt()
302 wm->pen_is_down = 0; in wm97xx_pen_interrupt()
310 wm->pen_is_down = 1; in wm97xx_pen_interrupt()
314 wm->pen_is_down = 0; in wm97xx_pen_interrupt()
334 if (wm->pen_is_down && !pen_was_down) { in wm97xx_pen_interrupt()
340 if (!wm->pen_is_down && pen_was_down) in wm97xx_pen_interrupt()
341 wm->pen_is_down = 1; in wm97xx_pen_interrupt()
344 if (!wm->pen_is_down && wm->mach_ops->acc_enabled) in wm97xx_pen_interrupt()
392 if (wm->pen_is_down) { in wm97xx_read_samples()
[all …]
/linux/include/linux/
H A Dwm97xx.h283 unsigned pen_is_down:1; /* Pen is down */ member