Lines Matching refs:formations
13 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_rate() local
25 if (formations[i].pcm == 0) in hw_rule_rate()
28 if (!snd_interval_test(c, formations[i].pcm)) in hw_rule_rate()
41 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_channels() local
54 if (formations[i].pcm == 0) in hw_rule_channels()
60 t.min = min(t.min, formations[i].pcm); in hw_rule_channels()
61 t.max = max(t.max, formations[i].pcm); in hw_rule_channels()
69 struct snd_bebob_stream_formation *formations) in limit_channels_and_rates() argument
82 if (formations[i].pcm == 0) in limit_channels_and_rates()
85 hw->channels_min = min(hw->channels_min, formations[i].pcm); in limit_channels_and_rates()
86 hw->channels_max = max(hw->channels_max, formations[i].pcm); in limit_channels_and_rates()
100 struct snd_bebob_stream_formation *formations; in pcm_init_hw_params() local
106 formations = bebob->tx_stream_formations; in pcm_init_hw_params()
110 formations = bebob->rx_stream_formations; in pcm_init_hw_params()
113 limit_channels_and_rates(&runtime->hw, formations); in pcm_init_hw_params()
116 hw_rule_channels, formations, in pcm_init_hw_params()
122 hw_rule_rate, formations, in pcm_init_hw_params()