Lines Matching defs:alsa_rt
257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime;
262 WARN_ON(alsa_rt->format != SNDRV_PCM_FORMAT_S32_LE);
271 source = alsa_rt->dma_area + sub->dma_off;
283 source = alsa_rt->dma_area + sub->dma_off;
286 source = alsa_rt->dma_area;
295 if (sub->period_off >= alsa_rt->period_size) {
296 sub->period_off %= alsa_rt->period_size;
351 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime;
358 alsa_rt->hw = pcm_hw;
370 alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT;
371 alsa_rt->hw.rate_max = 384000;
410 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime;
427 ret = hiface_pcm_set_rate(rt, alsa_rt->rate);