Lines Matching defs:substream
27 typedef void (*snd_pcm_indirect_copy_t)(struct snd_pcm_substream *substream,
34 snd_pcm_indirect_playback_transfer(struct snd_pcm_substream *substream,
38 struct snd_pcm_runtime *runtime = substream->runtime;
64 copy(substream, rec, bytes);
82 snd_pcm_indirect_playback_pointer(struct snd_pcm_substream *substream,
95 if (substream->ops->ack) {
96 err = substream->ops->ack(substream);
100 return bytes_to_frames(substream->runtime, rec->sw_io);
108 snd_pcm_indirect_capture_transfer(struct snd_pcm_substream *substream,
112 struct snd_pcm_runtime *runtime = substream->runtime;
137 copy(substream, rec, bytes);
155 snd_pcm_indirect_capture_pointer(struct snd_pcm_substream *substream,
172 if (substream->ops->ack) {
173 err = substream->ops->ack(substream);
177 return bytes_to_frames(substream->runtime, rec->sw_io);