Searched refs:adcsel (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/input/touchscreen/ |
D | wm9705.c | 215 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample() argument 218 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9705_poll_sample() 229 wm->mach_ops->pre_sample(adcsel); in wm9705_poll_sample() 230 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, (adcsel & WM97XX_ADCSEL_MASK) in wm9705_poll_sample() 254 wm->mach_ops->post_sample(adcsel); in wm9705_poll_sample() 257 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9705_poll_sample() 259 adcsel & WM97XX_ADCSEL_MASK, in wm9705_poll_sample()
|
D | wm9712.c | 255 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample() argument 258 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9712_poll_sample() 269 wm->mach_ops->pre_sample(adcsel); in wm9712_poll_sample() 270 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, (adcsel & WM97XX_ADCSEL_MASK) in wm9712_poll_sample() 294 wm->mach_ops->post_sample(adcsel); in wm9712_poll_sample() 297 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9712_poll_sample() 299 adcsel & WM97XX_ADCSEL_MASK, in wm9712_poll_sample()
|
D | wm9713.c | 260 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample() argument 264 bool wants_pen = adcsel & WM97XX_PEN_DOWN; in wm9713_poll_sample() 277 dig1 |= 1 << ((adcsel & WM97XX_ADCSEL_MASK) >> 12); in wm9713_poll_sample() 280 wm->mach_ops->pre_sample(adcsel); in wm9713_poll_sample() 304 wm->mach_ops->post_sample(adcsel); in wm9713_poll_sample() 307 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9713_poll_sample() 309 adcsel & WM97XX_ADCSEL_MASK, in wm9713_poll_sample()
|
D | wm97xx-core.c | 125 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc() argument 151 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc() 163 adcsel); in wm97xx_read_aux_adc()
|
/Linux-v4.19/include/linux/ |
D | wm97xx.h | 234 int (*poll_sample) (struct wm97xx *, int adcsel, int *sample); 332 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel);
|