Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/touchscreen/
Dwm9713.c208 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1); in wm9713_phy_init()
209 wm97xx_reg_write(wm, AC97_WM9713_DIG2, dig2); in wm9713_phy_init()
210 wm97xx_reg_write(wm, AC97_WM9713_DIG3, dig3); in wm9713_phy_init()
211 wm97xx_reg_write(wm, AC97_GPIO_STICKY, 0x0); in wm9713_phy_init()
220 wm97xx_reg_write(wm, AC97_EXTENDED_MID, val & 0x7fff); in wm9713_dig_enable()
221 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] | in wm9713_dig_enable()
225 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] & in wm9713_dig_enable()
228 wm97xx_reg_write(wm, AC97_EXTENDED_MID, val | 0x8000); in wm9713_dig_enable()
234 wm97xx_reg_write(wm, AC97_WM9713_DIG1, wm->dig_save[0]); in wm9713_dig_restore()
235 wm97xx_reg_write(wm, AC97_WM9713_DIG2, wm->dig_save[1]); in wm9713_dig_restore()
[all …]
Dwm9705.c141 wm97xx_reg_write(wm, AC97_AUX, 0x8000); in wm9705_phy_init()
142 wm97xx_reg_write(wm, AC97_VIDEO, 0x8000); in wm9705_phy_init()
174 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init()
175 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, dig2); in wm9705_phy_init()
181 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9705_dig_enable()
185 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9705_dig_enable()
192 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, 0); in wm9705_aux_prepare()
193 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, WM97XX_PRP_DET_DIG); in wm9705_aux_prepare()
198 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9705_dig_restore()
199 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9705_dig_restore()
[all …]
Dwm97xx-core.c93 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() function
110 EXPORT_SYMBOL_GPL(wm97xx_reg_write);
136 wm97xx_reg_write(wm, AC97_EXTENDED_MID, power & 0x7fff); in wm97xx_read_aux_adc()
149 wm97xx_reg_write(wm, AC97_EXTENDED_MID, power | 0x8000); in wm97xx_read_aux_adc()
216 wm97xx_reg_write(wm, AC97_GPIO_STATUS, reg << 1); in wm97xx_set_gpio()
218 wm97xx_reg_write(wm, AC97_GPIO_STATUS, reg); in wm97xx_set_gpio()
241 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, reg); in wm97xx_config_gpio()
249 wm97xx_reg_write(wm, AC97_GPIO_STICKY, reg); in wm97xx_config_gpio()
257 wm97xx_reg_write(wm, AC97_GPIO_WAKEUP, reg); in wm97xx_config_gpio()
265 wm97xx_reg_write(wm, AC97_GPIO_CFG, reg); in wm97xx_config_gpio()
[all …]
Dwm9712.c203 wm97xx_reg_write(wm, AC97_MISC_AFE, reg | WM97XX_GPIO_4); in wm9712_phy_init()
205 wm97xx_reg_write(wm, AC97_GPIO_CFG, reg | WM97XX_GPIO_4); in wm9712_phy_init()
212 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9712_phy_init()
213 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, dig2); in wm9712_phy_init()
221 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9712_dig_enable()
225 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9712_dig_enable()
232 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, 0); in wm9712_aux_prepare()
233 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, WM97XX_PRP_DET_DIG); in wm9712_aux_prepare()
238 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9712_dig_restore()
239 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9712_dig_restore()
[all …]
/Linux-v5.10/include/linux/
Dwm97xx.h329 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val);