Lines Matching defs:runtime
207 struct snd_pcm_runtime *runtime;
212 runtime = substream->runtime;
219 runtime->hw = acp_pdm_hardware_capture;
221 ret = snd_pcm_hw_constraint_integer(runtime,
235 runtime->private_data = pdm_data;
246 rtd = substream->runtime->private_data;
251 rtd->dma_addr = substream->runtime->dma_addr;
280 rtd = stream->runtime->private_data;
281 buffersize = frames_to_bytes(stream->runtime,
282 stream->runtime->buffer_size);
287 return bytes_to_frames(stream->runtime, pos);
318 rtd = substream->runtime->private_data;
320 switch (substream->runtime->channels) {
447 struct snd_pcm_runtime *runtime;
452 if (adata->capture_stream && adata->capture_stream->runtime) {
453 runtime = adata->capture_stream->runtime;
454 rtd = runtime->private_data;
455 period_bytes = frames_to_bytes(runtime, runtime->period_size);
456 buffer_len = frames_to_bytes(runtime, runtime->buffer_size);