Lines Matching refs:pcm_channels
13 const unsigned int *pcm_channels = rule->private; in hw_rule_rate() local
31 if (!snd_interval_test(c, pcm_channels[mode])) in hw_rule_rate()
44 const unsigned int *pcm_channels = rule->private; in hw_rule_channels() local
65 t.min = min(t.min, pcm_channels[mode]); in hw_rule_channels()
66 t.max = max(t.max, pcm_channels[mode]); in hw_rule_channels()
73 const unsigned int *pcm_channels) in limit_channels_and_rates() argument
91 channels = pcm_channels[mode]; in limit_channels_and_rates()
92 if (pcm_channels[mode] == 0) in limit_channels_and_rates()
109 const unsigned int *pcm_channels; in pcm_init_hw_params() local
115 pcm_channels = ff->spec->pcm_capture_channels; in pcm_init_hw_params()
119 pcm_channels = ff->spec->pcm_playback_channels; in pcm_init_hw_params()
122 limit_channels_and_rates(&runtime->hw, pcm_channels); in pcm_init_hw_params()
125 hw_rule_channels, (void *)pcm_channels, in pcm_init_hw_params()
131 hw_rule_rate, (void *)pcm_channels, in pcm_init_hw_params()