Lines Matching refs:ac97_write

44 static int ac97_write(struct snd_soc_codec *codec,
231 ac97_write(codec, AC97_HANDSET_RATE, rate | 0x0200); in wm9713_voice_shutdown()
233 ac97_write(codec, AC97_HANDSET_RATE, rate | 0x0F00); in wm9713_voice_shutdown()
234 ac97_write(codec, AC97_EXTENDED_MID, status); in wm9713_voice_shutdown()
697 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() function
797 ac97_write(codec, AC97_HANDSET_RATE, reg | 0x0080); in wm9713_set_pll()
799 ac97_write(codec, AC97_EXTENDED_MID, reg | 0x0200); in wm9713_set_pll()
809 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
817 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
821 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
825 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
829 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
833 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
836 ac97_write(codec, AC97_LINE1_LEVEL, reg); in wm9713_set_pll()
841 ac97_write(codec, AC97_EXTENDED_MID, reg & 0xfdff); in wm9713_set_pll()
843 ac97_write(codec, AC97_HANDSET_RATE, reg & 0xff7f); in wm9713_set_pll()
869 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_set_dai_tristate()
887 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
891 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
895 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
899 ac97_write(codec, AC97_HANDSET_RATE, reg | div); in wm9713_set_dai_clkdiv()
903 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg | div); in wm9713_set_dai_clkdiv()
907 ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x60 | div); in wm9713_set_dai_clkdiv()
911 ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x70 | div); in wm9713_set_dai_clkdiv()
977 ac97_write(codec, AC97_GPIO_CFG, gpio); in wm9713_set_dai_fmt()
978 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_set_dai_fmt()
1004 ac97_write(codec, AC97_CENTER_LFE_MASTER, reg); in wm9713_pcm_hw_params()
1017 ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1); in ac97_hifi_prepare()
1024 return ac97_write(codec, reg, runtime->rate); in ac97_hifi_prepare()
1035 ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1); in ac97_aux_prepare()
1037 ac97_write(codec, AC97_PCI_SID, xsle | 0x8000); in ac97_aux_prepare()
1042 return ac97_write(codec, AC97_PCM_SURR_DAC_RATE, runtime->rate); in ac97_aux_prepare()
1137 ac97_write(codec, AC97_EXTENDED_MID, reg); in wm9713_set_bias_level()
1144 ac97_write(codec, AC97_EXTENDED_MID, reg); in wm9713_set_bias_level()
1145 ac97_write(codec, AC97_POWERDOWN, 0x0000); in wm9713_set_bias_level()
1149 ac97_write(codec, AC97_EXTENDED_MID, 0xffff); in wm9713_set_bias_level()
1150 ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff); in wm9713_set_bias_level()
1151 ac97_write(codec, AC97_POWERDOWN, 0xffff); in wm9713_set_bias_level()
1165 ac97_write(codec, AC97_EXTENDED_MID, reg | 0x7fff); in wm9713_soc_suspend()
1166 ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff); in wm9713_soc_suspend()
1167 ac97_write(codec, AC97_POWERDOWN, 0x6f00); in wm9713_soc_suspend()
1168 ac97_write(codec, AC97_POWERDOWN, 0xffff); in wm9713_soc_suspend()
1215 ac97_write(codec, AC97_CD, reg); in wm9713_soc_probe()
1234 .write = ac97_write,