Lines Matching refs:CS46XX_PRIMARY_CODEC_INDEX
96 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_read()
141 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_read()
222 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_read()
239 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_write()
269 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_write()
306 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_write()
1890 if (snd_BUG_ON(ac97 != chip->ac97[CS46XX_PRIMARY_CODEC_INDEX] && in snd_cs46xx_mixer_free_ac97()
1894 if (ac97 == chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]) { in snd_cs46xx_mixer_free_ac97()
1895 chip->ac97[CS46XX_PRIMARY_CODEC_INDEX] = NULL; in snd_cs46xx_mixer_free_ac97()
2360 val = snd_ac97_read(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], AC97_CSR_ACMODE); in snd_cs46xx_front_dup_get()
2369 return snd_ac97_update_bits(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], in snd_cs46xx_front_dup_put()
2405 if (ac97->num == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_reset()
2501 if (cs46xx_detect_codec(chip, CS46XX_PRIMARY_CODEC_INDEX) < 0) in snd_cs46xx_mixer()
2530 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff; in snd_cs46xx_mixer()
2535 snd_ac97_write_cache(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], in snd_cs46xx_mixer()
3461 CS46XX_PRIMARY_CODEC_INDEX); in amp_voyetra()
3472 CS46XX_PRIMARY_CODEC_INDEX); in amp_voyetra()
3791 snd_ac97_suspend(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]); in snd_cs46xx_suspend()
3845 snd_ac97_resume(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]); in snd_cs46xx_resume()