Home
last modified time | relevance | path

Searched refs:WM97XX_PEN_DOWN (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/input/touchscreen/
Dwm9712.c253 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9712_poll_sample()
257 if (!(data & WM97XX_PEN_DOWN)) in wm9712_poll_sample()
299 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9712_poll_sample()
302 if (!(*sample & WM97XX_PEN_DOWN)) { in wm9712_poll_sample()
320 if (!(data_rd & WM97XX_PEN_DOWN)) in wm9712_poll_coord()
367 if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) { in wm9712_poll_coord()
388 rc = wm9712_poll_sample(wm, WM97XX_ADCSEL_X | WM97XX_PEN_DOWN, in wm9712_poll_touch()
393 rc = wm9712_poll_sample(wm, WM97XX_ADCSEL_Y | WM97XX_PEN_DOWN, in wm9712_poll_touch()
399 rc = wm9712_poll_sample(wm, WM97XX_ADCSEL_PRES | WM97XX_PEN_DOWN, in wm9712_poll_touch()
Dwm9713.c259 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9713_poll_sample()
263 if (!(data & WM97XX_PEN_DOWN)) in wm9713_poll_sample()
309 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9713_poll_sample()
327 if (!(val & WM97XX_PEN_DOWN)) in wm9713_poll_coord()
378 if (!(data->x & WM97XX_PEN_DOWN) || !(data->y & WM97XX_PEN_DOWN)) { in wm9713_poll_coord()
399 rc = wm9713_poll_sample(wm, WM97XX_ADCSEL_X | WM97XX_PEN_DOWN, &data->x); in wm9713_poll_touch()
402 rc = wm9713_poll_sample(wm, WM97XX_ADCSEL_Y | WM97XX_PEN_DOWN, &data->y); in wm9713_poll_touch()
406 rc = wm9713_poll_sample(wm, WM97XX_ADCSEL_PRES | WM97XX_PEN_DOWN, in wm9713_poll_touch()
Dwm9705.c213 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9705_poll_sample()
217 if (!(data & WM97XX_PEN_DOWN)) in wm9705_poll_sample()
259 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9705_poll_sample()
274 rc = wm9705_poll_sample(wm, WM97XX_ADCSEL_X | WM97XX_PEN_DOWN, &data->x); in wm9705_poll_touch()
277 rc = wm9705_poll_sample(wm, WM97XX_ADCSEL_Y | WM97XX_PEN_DOWN, &data->y); in wm9705_poll_touch()
281 rc = wm9705_poll_sample(wm, WM97XX_ADCSEL_PRES | WM97XX_PEN_DOWN, &data->p); in wm9705_poll_touch()
Dwm97xx-core.c299 WM97XX_PEN_DOWN) in wm97xx_pen_interrupt()
/linux-6.1.9/include/linux/
Dwm97xx.h68 #define WM97XX_PEN_DOWN 0x8000 /* pen is down */ macro