Lines Matching defs:runtime
185 struct snd_pcm_runtime *runtime;
190 runtime = substream->runtime;
197 runtime->hw = acp63_pdm_hardware_capture;
199 ret = snd_pcm_hw_constraint_integer(runtime,
213 runtime->private_data = pdm_data;
224 rtd = substream->runtime->private_data;
229 rtd->dma_addr = substream->runtime->dma_addr;
257 rtd = stream->runtime->private_data;
258 buffersize = frames_to_bytes(stream->runtime,
259 stream->runtime->buffer_size);
264 return bytes_to_frames(stream->runtime, pos);
281 struct snd_pcm_runtime *runtime = substream->runtime;
285 kfree(runtime->private_data);
297 rtd = substream->runtime->private_data;
299 switch (substream->runtime->channels) {
408 struct snd_pcm_runtime *runtime;
413 if (adata->capture_stream && adata->capture_stream->runtime) {
414 runtime = adata->capture_stream->runtime;
415 rtd = runtime->private_data;
416 period_bytes = frames_to_bytes(runtime, runtime->period_size);
417 buffer_len = frames_to_bytes(runtime, runtime->buffer_size);