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

/linux-4.4.14/drivers/input/touchscreen/
H A Dwm831x-ts.c69 bool pen_down; member in struct:wm831x_ts
78 if (wm831x_ts->pen_down) { wm831x_pd_data_work()
116 wm831x_ts->pen_down = true; wm831x_ts_data_irq()
119 wm831x_ts->pen_down = false; wm831x_ts_data_irq()
126 if (!wm831x_ts->pen_down) { wm831x_ts_data_irq()
165 if (wm831x_ts->pen_down) wm831x_ts_pen_down_irq()
181 wm831x_ts->pen_down = true; wm831x_ts_pen_down_irq()
228 if (wm831x_ts->pen_down) { wm831x_ts_input_close()
231 wm831x_ts->pen_down = false; wm831x_ts_input_close()
H A Datmel-wm97xx.c163 u16 pen_down; atmel_wm97xx_channel_b_interrupt() local
168 pen_down = (data & WM97XX_PEN_DOWN) >> 8; atmel_wm97xx_channel_b_interrupt()
178 input_report_key(wm->input_dev, BTN_TOUCH, pen_down); atmel_wm97xx_channel_b_interrupt()
198 int pen_down = gpio_get_value(atmel_wm97xx->gpio_pen); atmel_wm97xx_acc_pen_up() local
200 if (pen_down != 0) { atmel_wm97xx_acc_pen_up()
H A Dtsc200x-core.c112 bool pen_down; member in struct:tsc200x
129 if (!ts->pen_down) { tsc200x_update_pen_state()
131 ts->pen_down = true; tsc200x_update_pen_state()
135 if (ts->pen_down) { tsc200x_update_pen_state()
137 ts->pen_down = false; tsc200x_update_pen_state()
173 if (!ts->pen_down && tsc200x_irq_thread()
H A D88pm860x-ts.c56 int x, y, pen_down; pm860x_touch_handler() local
64 pen_down = buf[1] & (1 << 6); pm860x_touch_handler()
70 if (pen_down) { pm860x_touch_handler()
H A Dti_am335x_tsc.c50 bool pen_down; member in struct:titsc
275 ts_dev->pen_down = true; titsc_irq()
284 ts_dev->pen_down = false; titsc_irq()
289 ts_dev->pen_down = true; titsc_irq()
305 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { titsc_irq()
H A Dads7846.c564 static DEVICE_ATTR(pen_down, S_IRUGO, ads7846_pen_down_show, NULL);

Completed in 322 milliseconds