Searched refs:pen_down (Results 1 – 6 of 6) sorted by relevance
65 bool pen_down; member74 if (wm831x_ts->pen_down) { in wm831x_pd_data_work()112 wm831x_ts->pen_down = true; in wm831x_ts_data_irq()115 wm831x_ts->pen_down = false; in wm831x_ts_data_irq()122 if (!wm831x_ts->pen_down) { in wm831x_ts_data_irq()161 if (wm831x_ts->pen_down) in wm831x_ts_pen_down_irq()177 wm831x_ts->pen_down = true; in wm831x_ts_pen_down_irq()224 if (wm831x_ts->pen_down) { in wm831x_ts_input_close()227 wm831x_ts->pen_down = false; in wm831x_ts_input_close()
105 bool pen_down; member120 if (!ts->pen_down) { in tsc200x_update_pen_state()122 ts->pen_down = true; in tsc200x_update_pen_state()126 if (ts->pen_down) { in tsc200x_update_pen_state()128 ts->pen_down = false; in tsc200x_update_pen_state()164 if (!ts->pen_down && in tsc200x_irq_thread()
54 bool pen_down; member287 ts_dev->pen_down = true; in titsc_irq()295 ts_dev->pen_down = false; in titsc_irq()301 ts_dev->pen_down = true; in titsc_irq()317 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
82 bool pen_down; member212 if (buf[0] == 0x00 && buf[1] == 0x00 && data->pen_down) { in silead_ts_handle_pen_data()215 data->pen_down = false; in silead_ts_handle_pen_data()230 data->pen_down = true; in silead_ts_handle_pen_data()237 input_report_key(data->pen_input, BTN_TOOL_PEN, data->pen_down); in silead_ts_handle_pen_data()238 input_report_key(data->pen_input, BTN_TOUCH, data->pen_down); in silead_ts_handle_pen_data()
53 int x, y, pen_down; in pm860x_touch_handler() local61 pen_down = buf[1] & (1 << 6); in pm860x_touch_handler()67 if (pen_down) { in pm860x_touch_handler()
598 static DEVICE_ATTR(pen_down, S_IRUGO, ads7846_pen_down_show, NULL);