Lines Matching refs:ichd

332 	unsigned int ichd;			/* ich device number */  member
374 struct ichdev ichd[6]; member
792 ichdev = &chip->ichd[i]; in snd_intel8x0_interrupt()
919 if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0) in snd_intel8x0_hw_params()
1002 if (ichdev->ichd == ICHD_PCMOUT) { in snd_intel8x0_pcm_prepare()
1143 err = snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMOUT]); in snd_intel8x0_playback_open()
1175 chip->ichd[ICHD_PCMOUT].substream = NULL; in snd_intel8x0_playback_close()
1183 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMIN]); in snd_intel8x0_capture_open()
1190 chip->ichd[ICHD_PCMIN].substream = NULL; in snd_intel8x0_capture_close()
1198 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC]); in snd_intel8x0_mic_open()
1205 chip->ichd[ICHD_MIC].substream = NULL; in snd_intel8x0_mic_close()
1213 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC2]); in snd_intel8x0_mic2_open()
1220 chip->ichd[ICHD_MIC2].substream = NULL; in snd_intel8x0_mic2_close()
1228 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCM2IN]); in snd_intel8x0_capture2_open()
1235 chip->ichd[ICHD_PCM2IN].substream = NULL; in snd_intel8x0_capture2_close()
1244 return snd_intel8x0_pcm_open(substream, &chip->ichd[idx]); in snd_intel8x0_spdif_open()
1252 chip->ichd[idx].substream = NULL; in snd_intel8x0_spdif_close()
1268 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_AC97SPDIFOUT]); in snd_intel8x0_ali_ac97spdifout_open()
1276 chip->ichd[ALID_AC97SPDIFOUT].substream = NULL; in snd_intel8x0_ali_ac97spdifout_close()
1291 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFIN]);
1298 chip->ichd[ALID_SPDIFIN].substream = NULL;
1306 return snd_intel8x0_pcm_open(substream, &chip->ichd[ALID_SPDIFOUT]);
1313 chip->ichd[ALID_SPDIFOUT].substream = NULL;
1633 if (! chip->ichd[rec->ac97_idx].pcm) in snd_intel8x0_pcm()
2254 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()
2255 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()
2256 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()
2258 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()
2260 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()
2261 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()
2265 struct ac97_pcm *pcm = chip->ichd[ICHD_PCM2IN].pcm; in snd_intel8x0_mixer()
2299 chip->ichd[chip->spdif_idx].pcm->rates = SNDRV_PCM_RATE_48000; in snd_intel8x0_mixer()
2527 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_chip_init()
2530 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_chip_init()
2534 if ((igetbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset) & ICH_RESETREGS) == 0) in snd_intel8x0_chip_init()
2542 iputdword(chip, ICH_REG_OFF_BDBAR + chip->ichd[i].reg_offset, in snd_intel8x0_chip_init()
2543 chip->ichd[i].bdbar_addr); in snd_intel8x0_chip_init()
2555 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, 0x00); in snd_intel8x0_free()
2558 iputbyte(chip, ICH_REG_OFF_CR + chip->ichd[i].reg_offset, ICH_RESETREGS); in snd_intel8x0_free()
2640 struct ichdev *ichdev = &chip->ichd[i]; in intel8x0_resume()
2644 if (ichdev->ichd == ICHD_PCMOUT) in intel8x0_resume()
2683 ichdev = &chip->ichd[ICHD_PCMOUT]; in intel8x0_measure_ac97_clock()
3023 ichdev = &chip->ichd[i]; in snd_intel8x0_create()
3024 ichdev->ichd = i; in snd_intel8x0_create()
3054 ichdev = &chip->ichd[i]; in snd_intel8x0_create()