Searched refs:pen_down (Results 1 – 6 of 6) sorted by relevance
70 bool pen_down; member79 if (wm831x_ts->pen_down) { in wm831x_pd_data_work()117 wm831x_ts->pen_down = true; in wm831x_ts_data_irq()120 wm831x_ts->pen_down = false; in wm831x_ts_data_irq()127 if (!wm831x_ts->pen_down) { in wm831x_ts_data_irq()166 if (wm831x_ts->pen_down) in wm831x_ts_pen_down_irq()182 wm831x_ts->pen_down = true; in wm831x_ts_pen_down_irq()229 if (wm831x_ts->pen_down) { in wm831x_ts_input_close()232 wm831x_ts->pen_down = false; in wm831x_ts_input_close()
163 u16 pen_down; in atmel_wm97xx_channel_b_interrupt() local168 pen_down = (data & WM97XX_PEN_DOWN) >> 8; in atmel_wm97xx_channel_b_interrupt()178 input_report_key(wm->input_dev, BTN_TOUCH, pen_down); in atmel_wm97xx_channel_b_interrupt()198 int pen_down = gpio_get_value(atmel_wm97xx->gpio_pen); in atmel_wm97xx_acc_pen_up() local200 if (pen_down != 0) { in atmel_wm97xx_acc_pen_up()
42 bool pen_down; member207 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()241 ts_dev->pen_down = false; in titsc_irq()246 ts_dev->pen_down = true; in titsc_irq()
144 bool pen_down; member236 if (!ts->pen_down) { in tsc2005_update_pen_state()238 ts->pen_down = true; in tsc2005_update_pen_state()242 if (ts->pen_down) { in tsc2005_update_pen_state()244 ts->pen_down = false; in tsc2005_update_pen_state()283 if (!ts->pen_down && in tsc2005_irq_thread()
55 int x, y, pen_down; in pm860x_touch_handler() local63 pen_down = buf[1] & (1 << 6); in pm860x_touch_handler()69 if (pen_down) { in pm860x_touch_handler()
595 static DEVICE_ATTR(pen_down, S_IRUGO, ads7846_pen_down_show, NULL);