Lines Matching +full:pen +full:- +full:up
1 /* SPDX-License-Identifier: GPL-2.0 */
62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */
67 #define WM97XX_RPR 0x2000 /* wake up on pen down */
68 #define WM97XX_PEN_DOWN 0x8000 /* pen is down */
71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */
72 #define WM9712_PDEN 0x0800 /* measure only when pen down */
78 #define WM9712_RPU(i) (i&0x3f) /* internal pull up on pen detect (64k / rpu) */
86 #define WM9705_PDEN 0x1000 /* measure only when pen is down */
87 #define WM9705_PINV 0x0800 /* inverts sense of pen down output */
96 #define WM9705_PDD(i) (i & 0x000f) /* pen detect comparator threshold */
100 #define WM9713_PDPOL 0x0400 /* Pen down polarity */
108 #define WM9713_PDEN 0x0800 /* measure only when pen down */
146 /*---------------- Return codes from sample reading functions ---------------*/
152 /* The pen is up (the first RC_VALID without RC_PENUP means pen is down) */
154 /* The pen is down (RC_VALID implies RC_PENDOWN, but sometimes it is helpful
155 to tell the handler that the pen is down but we don't know yet his coords,
160 * The wm97xx driver provides a private API for writing platform-specific
227 * Codec driver interface - allows mapping to WM9705/12/13 and newer codecs
250 /* accelerated touch readback - coords are transmited on AC97 link */
260 /* pre and post sample - can be used to minimise any analog noise */
279 unsigned int pen_irq; /* Pen IRQ number in use */
283 unsigned pen_is_down:1; /* Pen is down */