Lines Matching defs:ac97
447 struct snd_ac97 *ac97;
506 static void snd_cs4281_ac97_write(struct snd_ac97 *ac97,
516 struct cs4281 *chip = ac97->private_data;
534 BA0_ACCTL_ESYN | (ac97->num ? BA0_ACCTL_TC : 0));
552 static unsigned short snd_cs4281_ac97_read(struct snd_ac97 *ac97,
555 struct cs4281 *chip = ac97->private_data;
560 volatile int ac97_num = ((volatile struct snd_ac97 *)ac97)->num;
1049 static void snd_cs4281_mixer_free_ac97(struct snd_ac97 *ac97)
1051 struct cs4281 *chip = ac97->private_data;
1052 if (ac97->num)
1055 chip->ac97 = NULL;
1061 struct snd_ac97_template ac97;
1073 memset(&ac97, 0, sizeof(ac97));
1074 ac97.private_data = chip;
1075 ac97.private_free = snd_cs4281_mixer_free_ac97;
1076 err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97);
1080 ac97.num = 1;
1081 err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_secondary);
1923 snd_ac97_suspend(chip->ac97);
1974 snd_ac97_resume(chip->ac97);