Home
last modified time | relevance | path

Searched refs:valid_rates (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/tegra/
H A Dtegra20_spdif.c190 unsigned long i, parent_rate, valid_rates = 0; in tegra20_spdif_filter_rates() local
200 valid_rates |= BIT(i); in tegra20_spdif_filter_rates()
207 if (!valid_rates) in tegra20_spdif_filter_rates()
208 valid_rates = BIT(ARRAY_SIZE(rates)) - 1; in tegra20_spdif_filter_rates()
210 return snd_interval_list(r, ARRAY_SIZE(rates), rates, valid_rates); in tegra20_spdif_filter_rates()
H A Dtegra20_i2s.c276 unsigned long i, parent_rate, valid_rates = 0; in tegra20_i2s_filter_rates() local
286 valid_rates |= BIT(i); in tegra20_i2s_filter_rates()
293 if (!valid_rates) in tegra20_i2s_filter_rates()
294 valid_rates = BIT(ARRAY_SIZE(tegra20_i2s_rates)) - 1; in tegra20_i2s_filter_rates()
297 tegra20_i2s_rates, valid_rates); in tegra20_i2s_filter_rates()