Lines Matching defs:runtime

129 	struct snd_pcm_runtime *runtime = substream->runtime;
133 err = snd_pcm_hw_constraint_integer(runtime,
138 err = snd_pcm_hw_constraint_pow2(runtime, 0,
143 snd_pcm_hw_constraint_step(runtime, 0,
149 runtime->hw = snd_vortex_playback_hw_a3d;
153 runtime->hw = snd_vortex_playback_hw_spdif;
156 runtime->hw.rates = SNDRV_PCM_RATE_32000;
159 runtime->hw.rates = SNDRV_PCM_RATE_44100;
162 runtime->hw.rates = SNDRV_PCM_RATE_48000;
168 runtime->hw = snd_vortex_playback_hw_adb;
173 runtime->hw.channels_max = 4;
174 snd_pcm_hw_constraint_list(runtime, 0,
179 substream->runtime->private_data = NULL;
183 runtime->hw = snd_vortex_playback_hw_wt;
184 substream->runtime->private_data = NULL;
194 stream_t *stream = (stream_t *) substream->runtime->private_data;
201 substream->runtime->private_data = NULL;
211 stream_t *stream = (stream_t *) (substream->runtime->private_data);
237 stream = substream->runtime->private_data = &chip->dma_adb[dma];
255 stream = substream->runtime->private_data =
272 stream_t *stream = (stream_t *) (substream->runtime->private_data);
296 substream->runtime->private_data = NULL;
306 struct snd_pcm_runtime *runtime = substream->runtime;
307 stream_t *stream = (stream_t *) substream->runtime->private_data;
315 fmt = vortex_alsafmt_aspfmt(runtime->format, chip);
319 runtime->channels == 1 ? 0 : 1, 0);
322 vortex_adb_setsrc(chip, dma, runtime->rate, dir);
339 stream_t *stream = (stream_t *) substream->runtime->private_data;
402 stream_t *stream = (stream_t *) substream->runtime->private_data;
415 current_ptr = bytes_to_frames(substream->runtime, current_ptr);
416 if (current_ptr >= substream->runtime->buffer_size)