Lines Matching defs:ac97
1558 val = snd_ac97_read(emu->ac97, AC97_REC_GAIN);
1573 return snd_ac97_update(emu->ac97, AC97_REC_GAIN, val);
1588 static void snd_emu10k1_mixer_free_ac97(struct snd_ac97 *ac97)
1590 struct snd_emu10k1 *emu = ac97->private_data;
1591 emu->ac97 = NULL;
1654 /* Master/PCM controls on ac97 of Audigy has no effect */
1746 struct snd_ac97_template ac97;
1756 memset(&ac97, 0, sizeof(ac97));
1757 ac97.private_data = emu;
1758 ac97.private_free = snd_emu10k1_mixer_free_ac97;
1759 ac97.scaps = AC97_SCAP_NO_SPDIF;
1760 if ((err = snd_ac97_mixer(pbus, &ac97, &emu->ac97)) < 0) {
1764 snd_printd(KERN_INFO" Proceeding without ac97 mixers...\n");
1770 snd_ac97_write_cache(emu->ac97, AC97_MASTER, 0x0000);
1772 snd_ac97_write_cache(emu->ac97, AC97_REC_SEL, 0x0000);
1783 if (emu->ac97->id == AC97_ID_STAC9758) {
1786 snd_ac97_write_cache(emu->ac97, AC97_HEADPHONE, 0x0202);
1789 snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202);
1790 snd_ac97_write_cache(emu->ac97, AC97_CENTER_LFE_MASTER, 0x0202);