Lines Matching defs:ac97
99 struct snd_ac97 *ac97[3];
667 runtime->hw.rates = sis->ac97[0]->rates[AC97_RATES_ADC];
683 rc = snd_ac97_set_rate(sis->ac97[0], AC97_PCM_LR_ADC_RATE,
958 printk(KERN_ERR "sis7019: ac97 codec %d timeout cmd 0x%08x\n",
965 static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
973 sis_ac97_rw(ac97->private_data, ac97->num,
974 (val << 16) | (reg << 8) | cmd[ac97->num]);
977 static unsigned short sis_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
984 return sis_ac97_rw(ac97->private_data, ac97->num,
985 (reg << 8) | cmd[ac97->num]);
991 struct snd_ac97_template ac97;
998 memset(&ac97, 0, sizeof(ac97));
999 ac97.private_data = sis;
1003 rc = snd_ac97_mixer(bus, &ac97, &sis->ac97[0]);
1004 ac97.num = 1;
1006 rc = snd_ac97_mixer(bus, &ac97, &sis->ac97[1]);
1007 ac97.num = 2;
1009 rc = snd_ac97_mixer(bus, &ac97, &sis->ac97[2]);
1012 * free up any ac97 codecs that got created, as well as the bus.
1164 snd_ac97_suspend(sis->ac97[0]);
1166 snd_ac97_suspend(sis->ac97[1]);
1168 snd_ac97_suspend(sis->ac97[2]);
1230 snd_ac97_resume(sis->ac97[0]);
1232 snd_ac97_resume(sis->ac97[1]);
1234 snd_ac97_resume(sis->ac97[2]);
1388 card->shortname, snd_ac97_get_short_name(sis->ac97[0]),