Searched refs:dig1 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/input/touchscreen/ |
H A D | wm9713.c | 153 u16 dig1 = 0, dig2, dig3; in wm9713_phy_init() local 208 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1); in wm9713_phy_init() 257 u16 dig1; in wm9713_poll_sample() local 269 dig1 = wm97xx_reg_read(wm, AC97_WM9713_DIG1); in wm9713_poll_sample() 270 dig1 &= ~WM9713_ADCSEL_MASK; in wm9713_poll_sample() 272 dig1 |= 1 << ((adcsel & WM97XX_ADCSEL_MASK) >> 12); in wm9713_poll_sample() 276 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1 | WM9713_POLL); in wm9713_poll_sample() 322 u16 dig1; in wm9713_poll_coord() local 333 dig1 = wm97xx_reg_read(wm, AC97_WM9713_DIG1); in wm9713_poll_coord() 334 dig1 &= ~WM9713_ADCSEL_MASK; in wm9713_poll_coord() [all …]
|
H A D | wm9705.c | 135 u16 dig1 = 0, dig2 = WM97XX_RPR; in wm9705_phy_init() local 162 dig1 &= 0xff0f; in wm9705_phy_init() 163 dig1 |= WM97XX_DELAY(delay); in wm9705_phy_init() 174 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init() 296 u16 dig1, dig2; in wm9705_acc_enable() local 299 dig1 = wm->dig[1]; in wm9705_acc_enable() 307 dig1 &= ~(WM97XX_CM_RATE_MASK | WM97XX_ADCSEL_MASK | in wm9705_acc_enable() 309 dig1 |= WM97XX_CTC | WM97XX_COO | WM97XX_SLEN | in wm9705_acc_enable() 314 dig1 |= WM97XX_ADCSEL_PRES; in wm9705_acc_enable() 317 dig1 &= ~(WM97XX_CTC | WM97XX_COO | WM97XX_SLEN); in wm9705_acc_enable() [all …]
|
H A D | wm9712.c | 153 u16 dig1 = 0; in wm9712_phy_init() local 192 dig1 &= 0xff0f; in wm9712_phy_init() 193 dig1 |= WM97XX_DELAY(delay); in wm9712_phy_init() 212 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9712_phy_init() 415 u16 dig1, dig2; in wm9712_acc_enable() local 418 dig1 = wm->dig[1]; in wm9712_acc_enable() 428 dig1 &= ~(WM97XX_CM_RATE_MASK | WM97XX_ADCSEL_MASK | in wm9712_acc_enable() 430 dig1 |= WM97XX_CTC | WM97XX_COO | WM97XX_SLEN | in wm9712_acc_enable() 435 dig1 |= WM97XX_ADCSEL_PRES; in wm9712_acc_enable() 438 dig1 &= ~(WM97XX_CTC | WM97XX_COO | WM97XX_SLEN); in wm9712_acc_enable() [all …]
|