Lines Matching refs:rates
369 struct via_rate_lock rates[2]; /* playback and capture */
373 unsigned int spdif_on: 1; /* only spdif rates work to external DACs */
1027 rate_changed = via_lock_rate(&chip->rates[0], ac97_rate);
1069 if (via_lock_rate(&chip->rates[0], runtime->rate) < 0)
1116 if (via_lock_rate(&chip->rates[1], runtime->rate) < 0)
1143 .rates = SNDRV_PCM_RATE_48000,
1171 ratep = &chip->rates[viadev->direction];
1176 runtime->hw.rates = chip->ac97->rates[AC97_RATES_SPDIF];
1180 runtime->hw.rates = SNDRV_PCM_RATE_48000;
1184 runtime->hw.rates = (SNDRV_PCM_RATE_CONTINUOUS |
1191 runtime->hw.rates = chip->ac97->rates[idx];
1195 runtime->hw.rates = SNDRV_PCM_RATE_KNOT;
1315 ratep = &chip->rates[viadev->direction];
2329 spin_lock_init(&chip->rates[0].lock);
2330 spin_lock_init(&chip->rates[1].lock);