Lines Matching refs:CS46XX_PRIMARY_CODEC_INDEX
82 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_read()
127 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_read()
208 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_read()
225 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_write()
255 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_write()
292 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_write()
1858 if (snd_BUG_ON(ac97 != chip->ac97[CS46XX_PRIMARY_CODEC_INDEX] && in snd_cs46xx_mixer_free_ac97()
1862 if (ac97 == chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]) { in snd_cs46xx_mixer_free_ac97()
1863 chip->ac97[CS46XX_PRIMARY_CODEC_INDEX] = NULL; in snd_cs46xx_mixer_free_ac97()
2328 val = snd_ac97_read(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], AC97_CSR_ACMODE); in snd_cs46xx_front_dup_get()
2337 return snd_ac97_update_bits(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], in snd_cs46xx_front_dup_put()
2373 if (ac97->num == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_reset()
2469 if (cs46xx_detect_codec(chip, CS46XX_PRIMARY_CODEC_INDEX) < 0) in snd_cs46xx_mixer()
2497 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff; in snd_cs46xx_mixer()
2502 snd_ac97_write_cache(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], in snd_cs46xx_mixer()
3404 CS46XX_PRIMARY_CODEC_INDEX); in amp_voyetra()
3415 CS46XX_PRIMARY_CODEC_INDEX); in amp_voyetra()
3729 snd_ac97_suspend(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]); in snd_cs46xx_suspend()
3783 snd_ac97_resume(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]); in snd_cs46xx_resume()