Searched refs:pen_status (Results 1 – 1 of 1) sorted by relevance
146 int pen_status; member207 regmap_read(priv->regmap, CONTROLLER_STATUS, &priv->pen_status); in iproc_touchscreen_interrupt()208 if (priv->pen_status & TS_PEN_DOWN) in iproc_touchscreen_interrupt()209 priv->pen_status = PEN_DOWN_STATUS; in iproc_touchscreen_interrupt()211 priv->pen_status = PEN_UP_STATUS; in iproc_touchscreen_interrupt()213 input_report_key(priv->idev, BTN_TOUCH, priv->pen_status); in iproc_touchscreen_interrupt()217 "pen up-down (%d)\n", priv->pen_status); in iproc_touchscreen_interrupt()458 priv->pen_status = PEN_UP_STATUS; in iproc_ts_probe()