Lines Matching defs:formats
13 u8 **formats = rule->private;
25 if (formats[i] == NULL)
28 err = snd_oxfw_stream_parse_format(formats[i], &formation);
44 u8 **formats = rule->private;
55 if (formats[i] == NULL)
58 err = snd_oxfw_stream_parse_format(formats[i], &formation);
80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats)
93 if (formats[i] == NULL)
96 err = snd_oxfw_stream_parse_format(formats[i], &formation);
113 u8 **formats;
118 runtime->hw.formats = AM824_IN_PCM_FORMAT_BITS;
120 formats = oxfw->tx_stream_formats;
122 runtime->hw.formats = AM824_OUT_PCM_FORMAT_BITS;
124 formats = oxfw->rx_stream_formats;
127 limit_channels_and_rates(&runtime->hw, formats);
130 hw_rule_channels, formats,
136 hw_rule_rate, formats,