Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/
Dsoc-pcm.c378 struct snd_soc_pcm_stream *cpu_stream; in soc_pcm_init_runtime_hw() local
386 cpu_stream = &cpu_dai_drv->playback; in soc_pcm_init_runtime_hw()
388 cpu_stream = &cpu_dai_drv->capture; in soc_pcm_init_runtime_hw()
425 chan_min = cpu_stream->channels_min; in soc_pcm_init_runtime_hw()
426 chan_max = cpu_stream->channels_max; in soc_pcm_init_runtime_hw()
429 hw->channels_min = max(chan_min, cpu_stream->channels_min); in soc_pcm_init_runtime_hw()
430 hw->channels_max = min(chan_max, cpu_stream->channels_max); in soc_pcm_init_runtime_hw()
432 hw->formats &= formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
434 hw->formats = formats & cpu_stream->formats; in soc_pcm_init_runtime_hw()
435 hw->rates = snd_pcm_rate_mask_intersect(rates, cpu_stream->rates); in soc_pcm_init_runtime_hw()
[all …]