Lines Matching defs:ac97
93 static void snd_ymfpci_codec_write(struct snd_ac97 *ac97, u16 reg, u16 val)
95 struct snd_ymfpci *chip = ac97->private_data;
103 static u16 snd_ymfpci_codec_read(struct snd_ac97 *ac97, u16 reg)
105 struct snd_ymfpci *chip = ac97->private_data;
1783 static void snd_ymfpci_mixer_free_ac97(struct snd_ac97 *ac97)
1785 struct snd_ymfpci *chip = ac97->private_data;
1786 chip->ac97 = NULL;
1791 struct snd_ac97_template ac97;
1806 memset(&ac97, 0, sizeof(ac97));
1807 ac97.private_data = chip;
1808 ac97.private_free = snd_ymfpci_mixer_free_ac97;
1809 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0)
1813 snd_ac97_update_bits(chip->ac97, AC97_EXTENDED_STATUS,
2276 snd_ac97_suspend(chip->ac97);
2312 snd_ac97_resume(chip->ac97);