Lines Matching refs:alsa_rt
257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in hiface_pcm_playback() local
262 WARN_ON(alsa_rt->format != SNDRV_PCM_FORMAT_S32_LE); in hiface_pcm_playback()
271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
286 source = alsa_rt->dma_area; in hiface_pcm_playback()
295 if (sub->period_off >= alsa_rt->period_size) { in hiface_pcm_playback()
296 sub->period_off %= alsa_rt->period_size; in hiface_pcm_playback()
353 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; in hiface_pcm_open() local
360 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
373 alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT; in hiface_pcm_open()
374 alsa_rt->hw.rate_max = 384000; in hiface_pcm_open()
420 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; in hiface_pcm_prepare() local
437 ret = hiface_pcm_set_rate(rt, alsa_rt->rate); in hiface_pcm_prepare()