Searched refs:pendown (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/touchscreen/
H A Dcorgi_ts.c47 int pendown; member in struct:corgi_ts
183 if (!corgi_ts->tc.pressure && corgi_ts->pendown == 0)
189 input_report_key(dev, BTN_TOUCH, corgi_ts->pendown);
199 corgi_ts->pendown = 1;
204 if (corgi_ts->pendown == 1 || corgi_ts->pendown == 2) {
206 corgi_ts->pendown++;
210 if (corgi_ts->pendown) {
217 corgi_ts->pendown = 0;
241 if (corgi_ts->pendown) {
[all...]
H A Dads7846.c92 unsigned pendown:1; /* P: lock */ member in struct:ads7846
422 return ts->pendown;
541 if (!ts->pendown) {
543 ts->pendown = 1;
657 if (ts->pendown) {
664 ts->pendown = 0;
808 * the pendown state.
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dau1000_ts.c231 int pendown; // 1 = pen is down, 0 = pen is up member in struct:__anon4185
297 if (!ts->pendown && Rt > ts->pendown_thresh_ohms)
298 ts->pendown = 1;
299 else if (ts->pendown && Rt < ts->penup_thresh_ohms)
300 ts->pendown = 0;
302 if (ts->pendown) {
539 ts->pendown = 0; // pen up

Completed in 55 milliseconds