Lines Matching refs:rates
584 static const unsigned int rates[] = { 5512, 11025, 22050, 44100, 8000, 16000, 32000, 48000 };
590 for (i = 0; i < ARRAY_SIZE(rates); i++) {
591 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,
1650 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1658 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1678 runtime->hw.rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000;
1684 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1716 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1724 runtime->hw.rates |= SNDRV_PCM_RATE_KNOT;
1748 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
1772 runtime->hw.rates |= SNDRV_PCM_RATE_88200 |
3193 for (val = 0; val < ARRAY_SIZE(rates); val++)
3194 snd_cmipci_set_pll(cm, rates[val], val);