Lines Matching refs:ac97_read

36 static unsigned int ac97_read(struct snd_soc_codec *codec,
227 status = ac97_read(codec, AC97_EXTENDED_MID) | 0x1000; in wm9713_voice_shutdown()
228 rate = ac97_read(codec, AC97_HANDSET_RATE) & 0xF0FF; in wm9713_voice_shutdown()
249 l = ac97_read(w->codec, HPL_MIXER); in mixer_event()
250 r = ac97_read(w->codec, HPR_MIXER); in mixer_event()
251 beep = ac97_read(w->codec, AC97_PC_BEEP); in mixer_event()
252 tone = ac97_read(w->codec, AC97_MASTER_TONE); in mixer_event()
253 phone = ac97_read(w->codec, AC97_PHONE); in mixer_event()
254 rec = ac97_read(w->codec, AC97_REC_SEL); in mixer_event()
255 pcm = ac97_read(w->codec, AC97_PCM); in mixer_event()
256 aux = ac97_read(w->codec, AC97_AUX); in mixer_event()
659 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read() function
775 reg = ac97_read(codec, AC97_HANDSET_RATE); in wm9713_set_pll()
777 reg = ac97_read(codec, AC97_EXTENDED_MID); in wm9713_set_pll()
819 reg = ac97_read(codec, AC97_EXTENDED_MID); in wm9713_set_pll()
821 reg = ac97_read(codec, AC97_HANDSET_RATE); in wm9713_set_pll()
845 u16 reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0x9fff; in wm9713_set_dai_tristate()
865 reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xf0ff; in wm9713_set_dai_clkdiv()
869 reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xfffd; in wm9713_set_dai_clkdiv()
873 reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xfffb; in wm9713_set_dai_clkdiv()
877 reg = ac97_read(codec, AC97_HANDSET_RATE) & 0x8fff; in wm9713_set_dai_clkdiv()
881 reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0xf1ff; in wm9713_set_dai_clkdiv()
885 reg = ac97_read(codec, AC97_LINE1_LEVEL) & 0xff80; in wm9713_set_dai_clkdiv()
889 reg = ac97_read(codec, AC97_LINE1_LEVEL) & 0xff80; in wm9713_set_dai_clkdiv()
903 u16 gpio = ac97_read(codec, AC97_GPIO_CFG) & 0xffc5; in wm9713_set_dai_fmt()
966 u16 reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0xfff3; in wm9713_pcm_hw_params()
995 vra = ac97_read(codec, AC97_EXTENDED_STATUS); in ac97_hifi_prepare()
1013 vra = ac97_read(codec, AC97_EXTENDED_STATUS); in ac97_aux_prepare()
1015 xsle = ac97_read(codec, AC97_PCI_SID); in ac97_aux_prepare()
1112 if (ac97_read(codec, 0) == wm9713_reg[0]) in wm9713_reset()
1119 if (ac97_read(codec, 0) != wm9713_reg[0]) in wm9713_reset()
1133 reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x1bff; in wm9713_set_bias_level()
1140 reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x3bff; in wm9713_set_bias_level()
1163 reg = ac97_read(codec, AC97_EXTENDED_MID); in wm9713_soc_suspend()
1229 reg = ac97_read(codec, AC97_CD) & 0x7fff; in wm9713_soc_probe()
1258 .read = ac97_read,