Lines Matching refs:runtime
242 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_convert_rate() local
245 if (!runtime) in rsnd_src_convert_rate()
257 convert_rate = runtime->rate; in rsnd_src_convert_rate()
264 struct snd_pcm_runtime *runtime) in rsnd_src_get_ssi_rate() argument
281 rate = runtime->rate; in rsnd_src_get_ssi_rate()
289 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_set_convert_rate() local
295 fsrate = 0x0400000 / convert_rate * runtime->rate; in rsnd_src_set_convert_rate()
448 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_set_convert_timing_gen1() local
473 runtime->rate, in rsnd_src_set_convert_timing_gen1()
745 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_set_convert_rate_gen2() local
755 else if (convert_rate > runtime->rate) in rsnd_src_set_convert_rate_gen2()
756 ratio = 100 * convert_rate / runtime->rate; in rsnd_src_set_convert_rate_gen2()
758 ratio = 100 * runtime->rate / convert_rate; in rsnd_src_set_convert_rate_gen2()
804 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_set_convert_timing_gen2() local
811 runtime->rate, in rsnd_src_set_convert_timing_gen2()
904 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_reconvert_update() local
909 if (!runtime) in rsnd_src_reconvert_update()
913 convert_rate = runtime->rate; in rsnd_src_reconvert_update()
915 fsrate = 0x0400000 / convert_rate * runtime->rate; in rsnd_src_reconvert_update()