Lines Matching refs:ac97_write
41 static int ac97_write(struct snd_soc_codec *codec,
229 ac97_write(codec, AC97_HANDSET_RATE, rate | 0x0200); in wm9713_voice_shutdown()
231 ac97_write(codec, AC97_HANDSET_RATE, rate | 0x0F00); in wm9713_voice_shutdown()
232 ac97_write(codec, AC97_EXTENDED_MID, status); in wm9713_voice_shutdown()
695 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() function
795 ac97_write(codec, AC97_HANDSET_RATE, reg | 0x0080); in wm9713_set_pll()
797 ac97_write(codec, AC97_EXTENDED_MID, reg | 0x0200); in wm9713_set_pll()
807 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
815 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
819 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
823 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
827 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
831 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
834 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
839 ac97_write(codec, AC97_EXTENDED_MID, reg & 0xfdff); in wm9713_set_pll()
841 ac97_write(codec, AC97_HANDSET_RATE, reg & 0xff7f); in wm9713_set_pll()
867 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_set_dai_tristate()
885 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
889 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
893 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
897 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
901 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg | div); in wm9713_set_dai_clkdiv()
905 ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x60 | div); in wm9713_set_dai_clkdiv()
909 ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x70 | div); in wm9713_set_dai_clkdiv()
975 ac97_write(codec, AC97_GPIO_CFG, gpio); in wm9713_set_dai_fmt()
976 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_set_dai_fmt()
1002 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_pcm_hw_params()
1015 ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1); in ac97_hifi_prepare()
1022 return ac97_write(codec, reg, runtime->rate); in ac97_hifi_prepare()
1033 ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1); in ac97_aux_prepare()
1035 ac97_write(codec, AC97_PCI_SID, xsle | 0x8000); in ac97_aux_prepare()
1040 return ac97_write(codec, AC97_PCM_SURR_DAC_RATE, runtime->rate); in ac97_aux_prepare()
1157 ac97_write(codec, AC97_EXTENDED_MID, reg); in wm9713_set_bias_level()
1164 ac97_write(codec, AC97_EXTENDED_MID, reg); in wm9713_set_bias_level()
1165 ac97_write(codec, AC97_POWERDOWN, 0x0000); in wm9713_set_bias_level()
1169 ac97_write(codec, AC97_EXTENDED_MID, 0xffff); in wm9713_set_bias_level()
1170 ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff); in wm9713_set_bias_level()
1171 ac97_write(codec, AC97_POWERDOWN, 0xffff); in wm9713_set_bias_level()
1186 ac97_write(codec, AC97_EXTENDED_MID, reg | 0x7fff); in wm9713_soc_suspend()
1187 ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff); in wm9713_soc_suspend()
1188 ac97_write(codec, AC97_POWERDOWN, 0x6f00); in wm9713_soc_suspend()
1189 ac97_write(codec, AC97_POWERDOWN, 0xffff); in wm9713_soc_suspend()
1245 ac97_write(codec, AC97_CD, reg); in wm9713_soc_probe()
1268 .write = ac97_write,