Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/
Dsoc-pcm.c363 struct snd_soc_pcm_stream *cpu_stream; in soc_pcm_init_runtime_hw() local
371 cpu_stream = &cpu_dai_drv->playback; in soc_pcm_init_runtime_hw()
373 cpu_stream = &cpu_dai_drv->capture; in soc_pcm_init_runtime_hw()
410 chan_min = cpu_stream->channels_min; in soc_pcm_init_runtime_hw()
411 chan_max = cpu_stream->channels_max; in soc_pcm_init_runtime_hw()
414 hw->channels_min = max(chan_min, cpu_stream->channels_min); in soc_pcm_init_runtime_hw()
415 hw->channels_max = min(chan_max, cpu_stream->channels_max); in soc_pcm_init_runtime_hw()
417 hw->formats &= formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
419 hw->formats = formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
420 hw->rates = snd_pcm_rate_mask_intersect(rates, cpu_stream->rates); in soc_pcm_init_runtime_hw()
[all …]