Lines Matching refs:formats
13 u8 **formats = rule->private; in hw_rule_rate() local
25 if (formats[i] == NULL) in hw_rule_rate()
28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate()
44 u8 **formats = rule->private; in hw_rule_channels() local
55 if (formats[i] == NULL) in hw_rule_channels()
58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels()
80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates() argument
93 if (formats[i] == NULL) in limit_channels_and_rates()
96 err = snd_oxfw_stream_parse_format(formats[i], &formation); in limit_channels_and_rates()
125 u8 **formats; in init_hw_params() local
137 runtime->hw.formats = AM824_IN_PCM_FORMAT_BITS; in init_hw_params()
139 formats = oxfw->tx_stream_formats; in init_hw_params()
141 runtime->hw.formats = AM824_OUT_PCM_FORMAT_BITS; in init_hw_params()
143 formats = oxfw->rx_stream_formats; in init_hw_params()
146 limit_channels_and_rates(&runtime->hw, formats); in init_hw_params()
150 hw_rule_channels, formats, in init_hw_params()
156 hw_rule_rate, formats, in init_hw_params()