Home
last modified time | relevance | path

Searched refs:ichd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/
H A Dintel8x0.c309 unsigned int ichd; /* ich device number */ member
351 struct ichdev ichd[6]; member
771 ichdev = &chip->ichd[i]; in snd_intel8x0_interrupt()
898 if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0) in snd_intel8x0_hw_params()
981 if (ichdev->ichd == ICHD_PCMOUT) { in snd_intel8x0_pcm_prepare()
1123 err = snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMOUT]); in snd_intel8x0_playback_open()
1155 chip->ichd[ICHD_PCMOUT].substream = NULL; in snd_intel8x0_playback_close()
1163 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_PCMIN]); in snd_intel8x0_capture_open()
1170 chip->ichd[ICHD_PCMIN].substream = NULL; in snd_intel8x0_capture_close()
1178 return snd_intel8x0_pcm_open(substream, &chip->ichd[ICHD_MIC]); in snd_intel8x0_mic_open()
[all …]
H A Dintel8x0m.c139 unsigned int ichd; /* ich device number */ member
176 struct ichdev ichd[2]; member
491 ichdev = &chip->ichd[i]; in snd_intel8x0m_interrupt()
621 return snd_intel8x0m_pcm_open(substream, &chip->ichd[ICHD_MDMOUT]); in snd_intel8x0m_playback_open()
628 chip->ichd[ICHD_MDMOUT].substream = NULL; in snd_intel8x0m_playback_close()
636 return snd_intel8x0m_pcm_open(substream, &chip->ichd[ICHD_MDMIN]); in snd_intel8x0m_capture_open()
643 chip->ichd[ICHD_MDMIN].substream = NULL; in snd_intel8x0m_capture_close()
752 if (! chip->ichd[rec->ac97_idx].ac97) in snd_intel8x0m_pcm()
823 if(ac97_is_modem(x97) && !chip->ichd[ICHD_MDMIN].ac97) { in snd_intel8x0m_mixer()
824 chip->ichd[ICHD_MDMIN].ac97 = x97; in snd_intel8x0m_mixer()
[all …]