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;
353 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime;
360 alsa_rt->hw = pcm_hw;
373 alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT;
374 alsa_rt->hw.rate_max = 384000;
420 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime;
437 ret = hiface_pcm_set_rate(rt, alsa_rt->rate);