Lines Matching refs:runtime
180 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_get_adinr() local
182 u32 adinr = runtime->channels; in rsnd_get_adinr()
184 switch (runtime->sample_bits) { in rsnd_get_adinr()
288 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_pointer_offset() local
291 pos %= (runtime->periods * io->byte_per_period); in rsnd_dai_pointer_offset()
302 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_pointer_update() local
307 if (io->period_pos >= runtime->periods) { in rsnd_dai_pointer_update()
320 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_stream_init() local
325 io->byte_per_period = runtime->period_size * in rsnd_dai_stream_init()
326 runtime->channels * in rsnd_dai_stream_init()
327 samples_to_bytes(runtime, 1); in rsnd_dai_stream_init()
717 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_pcm_open() local
722 ret = snd_pcm_hw_constraint_integer(runtime, in rsnd_pcm_open()
746 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_pointer() local
751 return bytes_to_frames(runtime, io->byte_pos); in rsnd_pointer()