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