Lines Matching defs:ac97
266 struct snd_ac97 *ac97[MAX_CODECS];
414 static void snd_ali_codec_write(struct snd_ac97 *ac97,
418 struct snd_ali *codec = ac97->private_data;
426 snd_ali_codec_poke(codec, ac97->num, reg, val);
431 static unsigned short snd_ali_codec_read(struct snd_ac97 *ac97,
434 struct snd_ali *codec = ac97->private_data;
437 return snd_ali_codec_peek(codec, ac97->num, reg);
1586 snd_ac97_write(chip->ac97[modem_num], AC97_LINE1_RATE,
1588 snd_ac97_write(chip->ac97[modem_num], AC97_LINE1_LEVEL, 0);
1846 struct snd_ac97_template ac97;
1858 memset(&ac97, 0, sizeof(ac97));
1859 ac97.private_data = codec;
1862 ac97.num = i;
1863 err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i]);
1900 snd_ac97_suspend(chip->ac97[i]);
1979 snd_ac97_resume(chip->ac97[i]);