Searched refs:valid_rates (Results 1 – 2 of 2) sorted by relevance
190 unsigned long i, parent_rate, valid_rates = 0; in tegra20_spdif_filter_rates() local200 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()
276 unsigned long i, parent_rate, valid_rates = 0; in tegra20_i2s_filter_rates() local286 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()