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()
917 if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0) in snd_intel8x0_hw_params()
999 if (ichdev->ichd == ICHD_PCMOUT) { in snd_intel8x0_pcm_prepare()
1139 err = snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMOUT]); in snd_intel8x0_playback_open()
1171 chip->ichd[ICHD_PCMOUT].substream = NULL; in snd_intel8x0_playback_close()
1179 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMIN]); in snd_intel8x0_capture_open()
1186 chip->ichd[ICHD_PCMIN].substream = NULL; in snd_intel8x0_capture_close()
1194 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC]); in snd_intel8x0_mic_open()
1201 chip->ichd[ICHD_MIC].substream = NULL; in snd_intel8x0_mic_close()
1209 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC2]); in snd_intel8x0_mic2_open()
1216 chip->ichd[ICHD_MIC2].substream = NULL; in snd_intel8x0_mic2_close()
1224 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCM2IN]); in snd_intel8x0_capture2_open()
1231 chip->ichd[ICHD_PCM2IN].substream = NULL; in snd_intel8x0_capture2_close()
1240 return snd_intel8x0_pcm_open(substream, &chip->ichd[idx]); in snd_intel8x0_spdif_open()
1248 chip->ichd[idx].substream = NULL; in snd_intel8x0_spdif_close()
1264 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_AC97SPDIFOUT]); in snd_intel8x0_ali_ac97spdifout_open()
1272 chip->ichd[ALID_AC97SPDIFOUT].substream = NULL; in snd_intel8x0_ali_ac97spdifout_close()
1287 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFIN]);
1294 chip->ichd[ALID_SPDIFIN].substream = NULL;
1302 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFOUT]);
1309 chip->ichd[ALID_SPDIFOUT].substream = NULL;
1641 if (! chip->ichd[rec->ac97_idx].pcm) in snd_intel8x0_pcm()
2262 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()
2263 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()
2264 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()
2266 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()
2268 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()
2269 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()
2273 struct ac97_pcm *pcm = chip->ichd[ICHD_PCM2IN].pcm; in snd_intel8x0_mixer()
2307 chip->ichd[chip->spdif_idx].pcm->rates = SNDRV_PCM_RATE_48000; in snd_intel8x0_mixer()
2535 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_chip_init()
2538 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_chip_init()
2542 if ((igetbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset) & ICH_RESETREGS) == 0) in snd_intel8x0_chip_init()
2550 iputdword(chip, ICH_REG_OFF_BDBAR + chip->ichd[i].reg_offset, in snd_intel8x0_chip_init()
2551 chip->ichd[i].bdbar_addr); in snd_intel8x0_chip_init()
2563 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_free()
2566 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_free()
2647 struct ichdev *ichdev = &chip->ichd[i]; in intel8x0_resume()
2651 if (ichdev->ichd == ICHD_PCMOUT) in intel8x0_resume()
2690 ichdev = &chip->ichd[ICHD_PCMOUT]; in intel8x0_measure_ac97_clock()
3030 ichdev = &chip->ichd[i]; in snd_intel8x0_create()
3031 ichdev->ichd = i; in snd_intel8x0_create()
3061 ichdev = &chip->ichd[i]; in snd_intel8x0_create()