Lines Matching refs:stream
118 static inline int another_stream(int stream) in another_stream() argument
120 return (stream == SNDRV_PCM_STREAM_PLAYBACK) ? in another_stream()
145 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream() argument
147 switch (stream) { in snd_pmac_get_stream()
227 astr = snd_pmac_get_stream(chip, another_stream(rec->stream)); in snd_pmac_pcm_prepare()
286 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger()
622 snd_pmac_hw_rule_rate, chip, rec->stream, -1); in snd_pmac_pcm_open()
624 snd_pmac_hw_rule_format, chip, rec->stream, -1); in snd_pmac_pcm_open()
641 astr = snd_pmac_get_stream(chip, another_stream(rec->stream)); in snd_pmac_pcm_close()
1198 chip->playback.stream = SNDRV_PCM_STREAM_PLAYBACK; in snd_pmac_new()
1199 chip->capture.stream = SNDRV_PCM_STREAM_CAPTURE; in snd_pmac_new()