Lines Matching refs:wm97xx_reg_write

93 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()
311 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol & in wm97xx_pen_interrupt()
315 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol | in wm97xx_pen_interrupt()
320 wm97xx_reg_write(wm, AC97_GPIO_STATUS, (status & in wm97xx_pen_interrupt()
323 wm97xx_reg_write(wm, AC97_GPIO_STATUS, status & in wm97xx_pen_interrupt()
370 wm97xx_reg_write(wm, AC97_MISC_AFE, in wm97xx_init_pen_irq()
373 wm97xx_reg_write(wm, 0x5a, reg & ~0x0001); in wm97xx_init_pen_irq()
530 wm97xx_reg_write(wm, AC97_MISC_AFE, in wm97xx_ts_input_close()
793 wm97xx_reg_write(wm, AC97_EXTENDED_MID, reg); in wm97xx_suspend()
807 wm97xx_reg_write(wm, AC97_WM9713_DIG1, wm->dig[0]); in wm97xx_resume()
808 wm97xx_reg_write(wm, 0x5a, wm->misc); in wm97xx_resume()
812 wm97xx_reg_write(wm, AC97_EXTENDED_MID, reg); in wm97xx_resume()
816 wm97xx_reg_write(wm, AC97_WM9713_DIG2, wm->dig[1]); in wm97xx_resume()
817 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2]); in wm97xx_resume()
819 wm97xx_reg_write(wm, AC97_GPIO_CFG, wm->gpio[0]); in wm97xx_resume()
820 wm97xx_reg_write(wm, AC97_GPIO_POLARITY, wm->gpio[1]); in wm97xx_resume()
821 wm97xx_reg_write(wm, AC97_GPIO_STICKY, wm->gpio[2]); in wm97xx_resume()
822 wm97xx_reg_write(wm, AC97_GPIO_WAKEUP, wm->gpio[3]); in wm97xx_resume()
823 wm97xx_reg_write(wm, AC97_GPIO_STATUS, wm->gpio[4]); in wm97xx_resume()
824 wm97xx_reg_write(wm, AC97_MISC_AFE, wm->gpio[5]); in wm97xx_resume()