Lines Matching refs:pcm_channels
23 unsigned int i, pcm_channels, rate, mode; in motu_rate_constraint() local
29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint()
30 if (!snd_interval_test(c, pcm_channels)) in motu_rate_constraint()
52 unsigned int i, pcm_channels, rate, mode; in motu_channels_constraint() local
61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint()
62 channels.min = min(channels.min, pcm_channels); in motu_channels_constraint()
63 channels.max = max(channels.max, pcm_channels); in motu_channels_constraint()
74 unsigned int i, pcm_channels, rate, mode; in limit_channels_and_rates() local
83 pcm_channels = formats->pcm_chunks[mode]; in limit_channels_and_rates()
84 if (pcm_channels == 0) in limit_channels_and_rates()
88 hw->channels_min = min(hw->channels_min, pcm_channels); in limit_channels_and_rates()
89 hw->channels_max = max(hw->channels_max, pcm_channels); in limit_channels_and_rates()