Home
last modified time | relevance | path

Searched refs:cpu_stream (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/sound/soc/
Dsoc-pcm.c376 struct snd_soc_pcm_stream *cpu_stream; in soc_pcm_init_runtime_hw() local
384 cpu_stream = &cpu_dai_drv->playback; in soc_pcm_init_runtime_hw()
386 cpu_stream = &cpu_dai_drv->capture; in soc_pcm_init_runtime_hw()
423 chan_min = cpu_stream->channels_min; in soc_pcm_init_runtime_hw()
424 chan_max = cpu_stream->channels_max; in soc_pcm_init_runtime_hw()
427 hw->channels_min = max(chan_min, cpu_stream->channels_min); in soc_pcm_init_runtime_hw()
428 hw->channels_max = min(chan_max, cpu_stream->channels_max); in soc_pcm_init_runtime_hw()
430 hw->formats &= formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
432 hw->formats = formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
433 hw->rates = snd_pcm_rate_mask_intersect(rates, cpu_stream->rates); in soc_pcm_init_runtime_hw()
[all …]