Lines Matching refs:rates
588 static const unsigned int rates[] = { 5512, 11025, 22050, 44100, 8000, 16000, 32000, 48000 };
594 for (i = 0; i < ARRAY_SIZE(rates); i++) {
595 if (rates[i] == rate)
1461 .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000,
1481 .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000,
1501 .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000,
1521 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000,
1541 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000,
1562 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000,
1649 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1657 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1676 runtime->hw.rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000;
1682 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1712 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1720 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1742 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1764 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
3207 for (val = 0; val < ARRAY_SIZE(rates); val++)
3208 snd_cmipci_set_pll(cm, rates[val], val);