Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-pcm.c507 struct snd_soc_pcm_stream *codec_stream; in snd_soc_runtime_calc_hw() local
552 codec_stream = snd_soc_dai_get_pcm_stream(codec_dai, stream); in snd_soc_runtime_calc_hw()
554 chan_min = max(chan_min, codec_stream->channels_min); in snd_soc_runtime_calc_hw()
555 chan_max = min(chan_max, codec_stream->channels_max); in snd_soc_runtime_calc_hw()
556 rate_min = max(rate_min, codec_stream->rate_min); in snd_soc_runtime_calc_hw()
557 rate_max = min_not_zero(rate_max, codec_stream->rate_max); in snd_soc_runtime_calc_hw()
558 formats &= codec_stream->formats; in snd_soc_runtime_calc_hw()
559 rates = snd_pcm_rate_mask_intersect(codec_stream->rates, rates); in snd_soc_runtime_calc_hw()
1574 struct snd_soc_pcm_stream *codec_stream; in dpcm_runtime_merge_format() local
1585 codec_stream = snd_soc_dai_get_pcm_stream(dai, stream); in dpcm_runtime_merge_format()
[all …]