Lines Matching defs:runtime
58 struct snd_pcm_runtime *runtime = substream->runtime;
59 unsigned int channels = runtime->channels,
60 rate = runtime->rate,
61 bits_per_sample = runtime->sample_bits,
259 struct snd_pcm_runtime *runtime;
263 runtime = azx_dev->substream->runtime;
265 runtime = NULL;
309 if (runtime && runtime->period_size > 64)
311 -frames_to_bytes(runtime, 64);
316 if (runtime)
317 azx_dev->period_wallclk = (((runtime->period_size * 24000) /
318 runtime->rate) * 1000);
495 struct snd_pcm_runtime *runtime = NULL;
502 runtime = substream->runtime;
524 if (runtime && !azx_dev->no_period_wakeup && pos_adj > 0) {
526 pos_adj = DIV_ROUND_UP(pos_adj * runtime->rate, 48000);
531 pos_adj = frames_to_bytes(runtime, pos_adj);
585 no_period_wakeup = substream->runtime->no_period_wakeup;
587 bufsize = cstream->runtime->buffer_size;
588 period_bytes = cstream->runtime->fragment_size;
659 struct snd_pcm_runtime *runtime = azx_dev->substream->runtime;
674 snd_pcm_gettime(runtime, &runtime->trigger_tstamp);
675 runtime->trigger_tstamp_latched = true;