Lines Matching refs:substream

1848 		snd_pcm_period_elapsed(rme9652->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);  in snd_rme9652_interrupt()
1852 snd_pcm_period_elapsed(rme9652->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream); in snd_rme9652_interrupt()
1857 static snd_pcm_uframes_t snd_rme9652_hw_pointer(struct snd_pcm_substream *substream) in snd_rme9652_hw_pointer() argument
1859 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_hw_pointer()
1886 static int snd_rme9652_playback_copy(struct snd_pcm_substream *substream, int channel, in snd_rme9652_playback_copy() argument
1889 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_playback_copy()
1896 substream->pstr->stream, in snd_rme9652_playback_copy()
1905 static int snd_rme9652_capture_copy(struct snd_pcm_substream *substream, int channel, in snd_rme9652_capture_copy() argument
1908 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_capture_copy()
1915 substream->pstr->stream, in snd_rme9652_capture_copy()
1924 static int snd_rme9652_hw_silence(struct snd_pcm_substream *substream, int channel, in snd_rme9652_hw_silence() argument
1927 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_hw_silence()
1931 substream->pstr->stream, in snd_rme9652_hw_silence()
1939 static int snd_rme9652_reset(struct snd_pcm_substream *substream) in snd_rme9652_reset() argument
1941 struct snd_pcm_runtime *runtime = substream->runtime; in snd_rme9652_reset()
1942 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_reset()
1944 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_reset()
1955 snd_pcm_group_for_each_entry(s, substream) { in snd_rme9652_reset()
1965 static int snd_rme9652_hw_params(struct snd_pcm_substream *substream, in snd_rme9652_hw_params() argument
1968 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_hw_params()
1975 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
2030 static int snd_rme9652_channel_info(struct snd_pcm_substream *substream, in snd_rme9652_channel_info() argument
2033 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_channel_info()
2049 static int snd_rme9652_ioctl(struct snd_pcm_substream *substream, in snd_rme9652_ioctl() argument
2055 return snd_rme9652_reset(substream); in snd_rme9652_ioctl()
2060 return snd_rme9652_channel_info(substream, info); in snd_rme9652_ioctl()
2066 return snd_pcm_lib_ioctl(substream, cmd, arg); in snd_rme9652_ioctl()
2074 static int snd_rme9652_trigger(struct snd_pcm_substream *substream, in snd_rme9652_trigger() argument
2077 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_trigger()
2084 running |= 1 << substream->stream; in snd_rme9652_trigger()
2087 running &= ~(1 << substream->stream); in snd_rme9652_trigger()
2094 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_trigger()
2101 snd_pcm_group_for_each_entry(s, substream) { in snd_rme9652_trigger()
2103 snd_pcm_trigger_done(s, substream); in snd_rme9652_trigger()
2113 substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_rme9652_trigger()
2117 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_trigger()
2121 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_rme9652_trigger()
2125 snd_pcm_trigger_done(substream, substream); in snd_rme9652_trigger()
2136 static int snd_rme9652_prepare(struct snd_pcm_substream *substream) in snd_rme9652_prepare() argument
2138 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_prepare()
2261 static int snd_rme9652_playback_open(struct snd_pcm_substream *substream) in snd_rme9652_playback_open() argument
2263 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_playback_open()
2264 struct snd_pcm_runtime *runtime = substream->runtime; in snd_rme9652_playback_open()
2268 snd_pcm_set_sync(substream); in snd_rme9652_playback_open()
2280 rme9652->playback_substream = substream; in snd_rme9652_playback_open()
2303 static int snd_rme9652_playback_release(struct snd_pcm_substream *substream) in snd_rme9652_playback_release() argument
2305 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_playback_release()
2321 static int snd_rme9652_capture_open(struct snd_pcm_substream *substream) in snd_rme9652_capture_open() argument
2323 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_capture_open()
2324 struct snd_pcm_runtime *runtime = substream->runtime; in snd_rme9652_capture_open()
2328 snd_pcm_set_sync(substream); in snd_rme9652_capture_open()
2340 rme9652->capture_substream = substream; in snd_rme9652_capture_open()
2358 static int snd_rme9652_capture_release(struct snd_pcm_substream *substream) in snd_rme9652_capture_release() argument
2360 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); in snd_rme9652_capture_release()