Lines Matching defs:ac97
150 static void snd_ice1712_ac97_write(struct snd_ac97 *ac97,
154 struct snd_ice1712 *ice = ac97->private_data;
175 static unsigned short snd_ice1712_ac97_read(struct snd_ac97 *ac97,
178 struct snd_ice1712 *ice = ac97->private_data;
201 * pro ac97 section
204 static void snd_ice1712_pro_ac97_write(struct snd_ac97 *ac97,
208 struct snd_ice1712 *ice = ac97->private_data;
230 static unsigned short snd_ice1712_pro_ac97_read(struct snd_ac97 *ac97,
233 struct snd_ice1712 *ice = ac97->private_data;
256 * consumer ac97 digital mix
676 snd_ac97_set_rate(ice->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate);
814 runtime->hw.rates = ice->ac97->rates[AC97_RATES_ADC];
1509 static void snd_ice1712_mixer_free_ac97(struct snd_ac97 *ac97)
1511 struct snd_ice1712 *ice = ac97->private_data;
1512 ice->ac97 = NULL;
1518 struct snd_ac97_template ac97;
1533 memset(&ac97, 0, sizeof(ac97));
1534 ac97.private_data = ice;
1535 ac97.private_free = snd_ice1712_mixer_free_ac97;
1536 err = snd_ac97_mixer(pbus, &ac97, &ice->ac97);
1538 printk(KERN_WARNING "ice1712: cannot initialize ac97 for consumer, skipped\n");
1551 memset(&ac97, 0, sizeof(ac97));
1552 ac97.private_data = ice;
1553 ac97.private_free = snd_ice1712_mixer_free_ac97;
1554 err = snd_ac97_mixer(pbus, &ac97, &ice->ac97);
1556 printk(KERN_WARNING "ice1712: cannot initialize pro ac97, skipped\n");