Lines Matching defs:ac97
232 int mixer_base; /* register offset of ac97 mixer */
244 struct snd_ac97 *ac97;
1210 snd_nm256_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
1212 struct nm256 *chip = ac97->private_data;
1223 snd_nm256_ac97_write(struct snd_ac97 *ac97,
1226 struct nm256 *chip = ac97->private_data;
1248 snd_printd("nm256: ac97 codec not ready..\n");
1268 /* initialize the ac97 into a known state */
1270 snd_nm256_ac97_reset(struct snd_ac97 *ac97)
1272 struct nm256 *chip = ac97->private_data;
1291 snd_nm256_ac97_write(ac97, nm256_ac97_init_val[i].reg,
1297 /* create an ac97 mixer interface */
1302 struct snd_ac97_template ac97;
1318 memset(&ac97, 0, sizeof(ac97));
1319 ac97.scaps = AC97_SCAP_AUDIO; /* we support audio! */
1320 ac97.private_data = chip;
1321 ac97.res_table = nm256_res_table;
1323 err = snd_ac97_mixer(pbus, &ac97, &chip->ac97);
1326 if (! (chip->ac97->id & (0xf0000000))) {
1392 snd_ac97_suspend(chip->ac97);
1421 /* restore ac97 */
1422 snd_ac97_resume(chip->ac97);
1533 printk(KERN_ERR "nm256: no ac97 is found!\n");