Lines Matching defs:runtime
183 struct snd_pcm_runtime *const runtime = channel->substream->runtime;
185 unsigned int const buffer_size = runtime->buffer_size;
195 channel->copy_fn(runtime->dma_area + channel->buffer_pos * frame_bytes,
201 channel->copy_fn(runtime->dma_area,
210 if (channel->period_pos >= runtime->period_size) {
211 channel->period_pos -= runtime->period_size;
261 * initialize the runtime->hw record.
268 struct snd_pcm_runtime *runtime = substream->runtime;
291 runtime->hw = channel->pcm_hardware;
327 struct snd_pcm_runtime *runtime = substream->runtime;
329 int width = snd_pcm_format_physical_width(runtime->format);
334 if (snd_pcm_format_big_endian(runtime->format) || width == 8)
343 if (snd_pcm_format_big_endian(runtime->format) || width == 8)