Lines Matching refs:runtime
142 struct snd_pcm_runtime *runtime; in snd_hdac_stream_setup() local
146 runtime = azx_dev->substream->runtime; in snd_hdac_stream_setup()
148 runtime = NULL; in snd_hdac_stream_setup()
196 if (runtime && runtime->period_size > 64) in snd_hdac_stream_setup()
198 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
203 if (runtime) in snd_hdac_stream_setup()
204 azx_dev->period_wallclk = (((runtime->period_size * 24000) / in snd_hdac_stream_setup()
205 runtime->rate) * 1000); in snd_hdac_stream_setup()
366 struct snd_pcm_runtime *runtime = substream->runtime; in snd_hdac_stream_setup_periods() local
386 pos_adj = (pos_adj * runtime->rate + 47999) / 48000; in snd_hdac_stream_setup_periods()
392 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()
443 struct snd_pcm_runtime *runtime; in snd_hdac_stream_set_params() local
448 runtime = substream->runtime; in snd_hdac_stream_set_params()
455 runtime->no_period_wakeup != azx_dev->no_period_wakeup) { in snd_hdac_stream_set_params()
459 azx_dev->no_period_wakeup = runtime->no_period_wakeup; in snd_hdac_stream_set_params()
523 struct snd_pcm_runtime *runtime = azx_dev->substream->runtime; in snd_hdac_stream_timecounter_init() local
540 snd_pcm_gettime(runtime, &runtime->trigger_tstamp); in snd_hdac_stream_timecounter_init()
541 runtime->trigger_tstamp_latched = true; in snd_hdac_stream_timecounter_init()