Lines Matching refs:ac97
463 struct snd_ac97 *ac97;
525 static void snd_cs4281_ac97_write(struct snd_ac97 *ac97,
535 struct cs4281 *chip = ac97->private_data;
553 BA0_ACCTL_ESYN | (ac97->num ? BA0_ACCTL_TC : 0));
570 static unsigned short snd_cs4281_ac97_read(struct snd_ac97 *ac97,
573 struct cs4281 *chip = ac97->private_data;
577 volatile int ac97_num = ((volatile struct snd_ac97 *)ac97)->num;
1086 static void snd_cs4281_mixer_free_ac97(struct snd_ac97 *ac97)
1088 struct cs4281 *chip = ac97->private_data;
1089 if (ac97->num)
1092 chip->ac97 = NULL;
1098 struct snd_ac97_template ac97;
1109 memset(&ac97, 0, sizeof(ac97));
1110 ac97.private_data = chip;
1111 ac97.private_free = snd_cs4281_mixer_free_ac97;
1112 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0)
1115 ac97.num = 1;
1116 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_secondary)) < 0)
2008 snd_ac97_suspend(chip->ac97);
2073 snd_ac97_resume(chip->ac97);