Lines Matching refs:dig1
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()
336 dig1 |= WM9713_ADCSEL_PRES; in wm9713_poll_coord()
341 dig1 | WM9713_POLL | WM9713_COO); in wm9713_poll_coord()
422 u16 dig1, dig2, dig3; in wm9713_acc_enable() local
425 dig1 = wm->dig[0]; in wm9713_acc_enable()
435 dig1 &= ~WM9713_ADCSEL_MASK; in wm9713_acc_enable()
436 dig1 |= WM9713_CTC | WM9713_COO | WM9713_ADCSEL_X | in wm9713_acc_enable()
439 dig1 |= WM9713_ADCSEL_PRES; in wm9713_acc_enable()
446 dig1 &= ~(WM9713_CTC | WM9713_COO); in wm9713_acc_enable()
453 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1); in wm9713_acc_enable()