Lines Matching refs:runtime
223 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_get_adinr_bit() local
225 u32 adinr = runtime->channels; in rsnd_get_adinr_bit()
227 switch (runtime->sample_bits) { in rsnd_get_adinr_bit()
245 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_get_adinr_chan() local
247 u32 chan = runtime->channels; in rsnd_get_adinr_chan()
273 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_get_dalign() local
277 mask <<= runtime->channels * 4; in rsnd_get_dalign()
280 switch (runtime->sample_bits) { in rsnd_get_dalign()
384 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_pointer_offset() local
387 pos %= (runtime->periods * io->byte_per_period); in rsnd_dai_pointer_offset()
398 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_pointer_update() local
403 if (io->period_pos >= runtime->periods) { in rsnd_dai_pointer_update()
432 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_dai_stream_init() local
437 io->byte_per_period = runtime->period_size * in rsnd_dai_stream_init()
438 runtime->channels * in rsnd_dai_stream_init()
439 samples_to_bytes(runtime, 1); in rsnd_dai_stream_init()
915 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_pcm_open() local
920 ret = snd_pcm_hw_constraint_integer(runtime, in rsnd_pcm_open()
944 struct snd_pcm_runtime *runtime = substream->runtime; in rsnd_pointer() local
949 return bytes_to_frames(runtime, io->byte_pos); in rsnd_pointer()