Lines Matching refs:codec_index
76 int codec_index) in snd_cs46xx_codec_read() argument
82 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_read()
83 codec_index != CS46XX_SECONDARY_CODEC_INDEX)) in snd_cs46xx_codec_read()
88 if (codec_index == CS46XX_SECONDARY_CODEC_INDEX) in snd_cs46xx_codec_read()
127 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_read()
178 codec_index, reg); in snd_cs46xx_codec_read()
206 int codec_index = ac97->num; in snd_cs46xx_ac97_read() local
208 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_read()
209 codec_index != CS46XX_SECONDARY_CODEC_INDEX)) in snd_cs46xx_ac97_read()
212 val = snd_cs46xx_codec_read(chip, reg, codec_index); in snd_cs46xx_ac97_read()
221 int codec_index) in snd_cs46xx_codec_write() argument
225 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_write()
226 codec_index != CS46XX_SECONDARY_CODEC_INDEX)) in snd_cs46xx_codec_write()
255 if (codec_index == CS46XX_PRIMARY_CODEC_INDEX) { in snd_cs46xx_codec_write()
280 codec_index, reg, val); in snd_cs46xx_codec_write()
290 int codec_index = ac97->num; in snd_cs46xx_ac97_write() local
292 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_write()
293 codec_index != CS46XX_SECONDARY_CODEC_INDEX)) in snd_cs46xx_ac97_write()
296 snd_cs46xx_codec_write(chip, reg, val, codec_index); in snd_cs46xx_ac97_write()