Lines Matching refs:pen_is_down
294 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()
393 wm->pen_is_down = 0; in wm97xx_read_samples()
433 wm->pen_is_down = 1; in wm97xx_read_samples()
437 wm->pen_is_down = 1; in wm97xx_read_samples()
460 if (wm->pen_is_down || !wm->pen_irq) in wm97xx_ts_reader()
495 wm->pen_is_down = 0; in wm97xx_ts_input_open()
537 wm->pen_is_down = 0; in wm97xx_ts_input_close()