Lines Matching refs:alsa_rt
259 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in hiface_pcm_playback() local
264 WARN_ON(alsa_rt->format != SNDRV_PCM_FORMAT_S32_LE); in hiface_pcm_playback()
273 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
285 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
288 source = alsa_rt->dma_area; in hiface_pcm_playback()
297 if (sub->period_off >= alsa_rt->period_size) { in hiface_pcm_playback()
298 sub->period_off %= alsa_rt->period_size; in hiface_pcm_playback()
355 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; in hiface_pcm_open() local
362 alsa_rt->hw = pcm_hw; in hiface_pcm_open()
375 alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT; in hiface_pcm_open()
376 alsa_rt->hw.rate_max = 384000; in hiface_pcm_open()
434 struct snd_pcm_runtime *alsa_rt = alsa_sub->runtime; in hiface_pcm_prepare() local
451 ret = hiface_pcm_set_rate(rt, alsa_rt->rate); in hiface_pcm_prepare()