Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/input/touchscreen/
Dwm9713.c213 wm97xx_reg_write(wm, AC97_WM9713_DIG1, dig1); in wm9713_phy_init()
214 wm97xx_reg_write(wm, AC97_WM9713_DIG2, dig2); in wm9713_phy_init()
215 wm97xx_reg_write(wm, AC97_WM9713_DIG3, dig3); in wm9713_phy_init()
216 wm97xx_reg_write(wm, AC97_GPIO_STICKY, 0x0); in wm9713_phy_init()
225 wm97xx_reg_write(wm, AC97_EXTENDED_MID, val & 0x7fff); in wm9713_dig_enable()
226 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] | in wm9713_dig_enable()
230 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] & in wm9713_dig_enable()
233 wm97xx_reg_write(wm, AC97_EXTENDED_MID, val | 0x8000); in wm9713_dig_enable()
239 wm97xx_reg_write(wm, AC97_WM9713_DIG1, wm->dig_save[0]); in wm9713_dig_restore()
240 wm97xx_reg_write(wm, AC97_WM9713_DIG2, wm->dig_save[1]); in wm9713_dig_restore()
[all …]
Dwm9705.c146 wm97xx_reg_write(wm, AC97_AUX, 0x8000); in wm9705_phy_init()
147 wm97xx_reg_write(wm, AC97_VIDEO, 0x8000); in wm9705_phy_init()
179 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9705_phy_init()
180 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, dig2); in wm9705_phy_init()
186 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9705_dig_enable()
190 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9705_dig_enable()
197 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, 0); in wm9705_aux_prepare()
198 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, WM97XX_PRP_DET_DIG); in wm9705_aux_prepare()
203 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9705_dig_restore()
204 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9705_dig_restore()
[all …]
Dwm97xx-core.c97 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() function
114 EXPORT_SYMBOL_GPL(wm97xx_reg_write);
140 wm97xx_reg_write(wm, AC97_EXTENDED_MID, power & 0x7fff); in wm97xx_read_aux_adc()
153 wm97xx_reg_write(wm, AC97_EXTENDED_MID, power | 0x8000); in wm97xx_read_aux_adc()
220 wm97xx_reg_write(wm, AC97_GPIO_STATUS, reg << 1); in wm97xx_set_gpio()
222 wm97xx_reg_write(wm, AC97_GPIO_STATUS, reg); in wm97xx_set_gpio()
245 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, reg); in wm97xx_config_gpio()
253 wm97xx_reg_write(wm, AC97_GPIO_STICKY, reg); in wm97xx_config_gpio()
261 wm97xx_reg_write(wm, AC97_GPIO_WAKEUP, reg); in wm97xx_config_gpio()
269 wm97xx_reg_write(wm, AC97_GPIO_CFG, reg); in wm97xx_config_gpio()
[all …]
Dwm9712.c208 wm97xx_reg_write(wm, AC97_MISC_AFE, reg | WM97XX_GPIO_4); in wm9712_phy_init()
210 wm97xx_reg_write(wm, AC97_GPIO_CFG, reg | WM97XX_GPIO_4); in wm9712_phy_init()
217 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, dig1); in wm9712_phy_init()
218 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, dig2); in wm9712_phy_init()
226 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9712_dig_enable()
230 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, in wm9712_dig_enable()
237 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, 0); in wm9712_aux_prepare()
238 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, WM97XX_PRP_DET_DIG); in wm9712_aux_prepare()
243 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9712_dig_restore()
244 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9712_dig_restore()
[all …]
/linux-2.6.39/include/linux/
Dwm97xx.h331 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val);