Lines Matching refs:ichd

332 	unsigned int ichd;			/* ich device number */  member
373 struct ichdev ichd[6]; member
788 ichdev = &chip->ichd[i]; in snd_intel8x0_interrupt()
914 if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0) in snd_intel8x0_hw_params()
996 if (ichdev->ichd == ICHD_PCMOUT) { in snd_intel8x0_pcm_prepare()
1136 err = snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMOUT]); in snd_intel8x0_playback_open()
1168 chip->ichd[ICHD_PCMOUT].substream = NULL; in snd_intel8x0_playback_close()
1176 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMIN]); in snd_intel8x0_capture_open()
1183 chip->ichd[ICHD_PCMIN].substream = NULL; in snd_intel8x0_capture_close()
1191 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC]); in snd_intel8x0_mic_open()
1198 chip->ichd[ICHD_MIC].substream = NULL; in snd_intel8x0_mic_close()
1206 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC2]); in snd_intel8x0_mic2_open()
1213 chip->ichd[ICHD_MIC2].substream = NULL; in snd_intel8x0_mic2_close()
1221 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCM2IN]); in snd_intel8x0_capture2_open()
1228 chip->ichd[ICHD_PCM2IN].substream = NULL; in snd_intel8x0_capture2_close()
1237 return snd_intel8x0_pcm_open(substream, &chip->ichd[idx]); in snd_intel8x0_spdif_open()
1245 chip->ichd[idx].substream = NULL; in snd_intel8x0_spdif_close()
1261 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_AC97SPDIFOUT]); in snd_intel8x0_ali_ac97spdifout_open()
1269 chip->ichd[ALID_AC97SPDIFOUT].substream = NULL; in snd_intel8x0_ali_ac97spdifout_close()
1284 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFIN]);
1291 chip->ichd[ALID_SPDIFIN].substream = NULL;
1299 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFOUT]);
1306 chip->ichd[ALID_SPDIFOUT].substream = NULL;
1626 if (! chip->ichd[rec->ac97_idx].pcm) in snd_intel8x0_pcm()
2247 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()
2248 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()
2249 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()
2251 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()
2253 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()
2254 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()
2258 struct ac97_pcm *pcm = chip->ichd[ICHD_PCM2IN].pcm; in snd_intel8x0_mixer()
2292 chip->ichd[chip->spdif_idx].pcm->rates = SNDRV_PCM_RATE_48000; in snd_intel8x0_mixer()
2520 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_chip_init()
2523 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_chip_init()
2527 if ((igetbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset) & ICH_RESETREGS) == 0) in snd_intel8x0_chip_init()
2535 iputdword(chip, ICH_REG_OFF_BDBAR + chip->ichd[i].reg_offset, in snd_intel8x0_chip_init()
2536 chip->ichd[i].bdbar_addr); in snd_intel8x0_chip_init()
2548 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_free()
2551 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_free()
2633 struct ichdev *ichdev = &chip->ichd[i]; in intel8x0_resume()
2637 if (ichdev->ichd == ICHD_PCMOUT) in intel8x0_resume()
2676 ichdev = &chip->ichd[ICHD_PCMOUT]; in intel8x0_measure_ac97_clock()
3016 ichdev = &chip->ichd[i]; in snd_intel8x0_create()
3017 ichdev->ichd = i; in snd_intel8x0_create()
3047 ichdev = &chip->ichd[i]; in snd_intel8x0_create()