Home
last modified time | relevance | path

Searched refs:pen_down (Results 1 – 6 of 6) sorted by relevance

/drivers/input/touchscreen/
Dwm831x-ts.c69 bool pen_down; member
78 if (wm831x_ts->pen_down) { in wm831x_pd_data_work()
116 wm831x_ts->pen_down = true; in wm831x_ts_data_irq()
119 wm831x_ts->pen_down = false; in wm831x_ts_data_irq()
126 if (!wm831x_ts->pen_down) { in wm831x_ts_data_irq()
165 if (wm831x_ts->pen_down) in wm831x_ts_pen_down_irq()
181 wm831x_ts->pen_down = true; in wm831x_ts_pen_down_irq()
228 if (wm831x_ts->pen_down) { in wm831x_ts_input_close()
231 wm831x_ts->pen_down = false; in wm831x_ts_input_close()
Datmel-wm97xx.c163 u16 pen_down; in atmel_wm97xx_channel_b_interrupt() local
168 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() local
200 if (pen_down != 0) { in atmel_wm97xx_acc_pen_up()
Dtsc200x-core.c112 bool pen_down; member
129 if (!ts->pen_down) { in tsc200x_update_pen_state()
131 ts->pen_down = true; in tsc200x_update_pen_state()
135 if (ts->pen_down) { in tsc200x_update_pen_state()
137 ts->pen_down = false; in tsc200x_update_pen_state()
173 if (!ts->pen_down && in tsc200x_irq_thread()
Dti_am335x_tsc.c50 bool pen_down; member
275 ts_dev->pen_down = true; in titsc_irq()
284 ts_dev->pen_down = false; in titsc_irq()
289 ts_dev->pen_down = true; in titsc_irq()
305 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
D88pm860x-ts.c56 int x, y, pen_down; in pm860x_touch_handler() local
64 pen_down = buf[1] & (1 << 6); in pm860x_touch_handler()
70 if (pen_down) { in pm860x_touch_handler()
Dads7846.c565 static DEVICE_ATTR(pen_down, S_IRUGO, ads7846_pen_down_show, NULL);