Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/touchscreen/
Dwm9705.c210 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample() argument
213 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9705_poll_sample()
224 wm->mach_ops->pre_sample(adcsel); in wm9705_poll_sample()
225 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, (adcsel & WM97XX_ADCSEL_MASK) in wm9705_poll_sample()
249 wm->mach_ops->post_sample(adcsel); in wm9705_poll_sample()
252 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9705_poll_sample()
254 adcsel & WM97XX_ADCSEL_MASK, in wm9705_poll_sample()
Dwm9712.c250 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample() argument
253 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9712_poll_sample()
264 wm->mach_ops->pre_sample(adcsel); in wm9712_poll_sample()
265 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, (adcsel & WM97XX_ADCSEL_MASK) in wm9712_poll_sample()
289 wm->mach_ops->post_sample(adcsel); in wm9712_poll_sample()
292 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9712_poll_sample()
294 adcsel & WM97XX_ADCSEL_MASK, in wm9712_poll_sample()
Dwm9713.c255 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample() argument
259 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9713_poll_sample()
272 dig1 |= 1 << ((adcsel & WM97XX_ADCSEL_MASK) >> 12); in wm9713_poll_sample()
275 wm->mach_ops->pre_sample(adcsel); in wm9713_poll_sample()
299 wm->mach_ops->post_sample(adcsel); in wm9713_poll_sample()
302 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9713_poll_sample()
304 adcsel & WM97XX_ADCSEL_MASK, in wm9713_poll_sample()
Dwm97xx-core.c120 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc() argument
146 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc()
158 adcsel); in wm97xx_read_aux_adc()
/Linux-v5.10/include/linux/
Dwm97xx.h234 int (*poll_sample) (struct wm97xx *, int adcsel, int *sample);
332 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel);