Lines Matching refs:rate

493  * limits the data rate to 500KHz and only causes a delay of 33 microsecs.
609 int n, rate;
618 rate = 32000;
621 rate = 44100;
624 rate = 48000;
629 return (rme96->areg & RME96_AR_BITPOS_F2) ? rate << 1 : rate;
634 /* ADAT rate */
646 /* S/PDIF rate */
671 int rate, dummy;
675 (rate = snd_rme96_capture_getrate(rme96, &dummy)) > 0)
678 return rate;
680 rate = ((rme96->wcreg >> RME96_WCR_BITPOS_FREQ_0) & 1) +
682 switch (rate) {
684 rate = 32000;
687 rate = 44100;
690 rate = 48000;
695 return (rme96->wcreg & RME96_WCR_DS) ? rate << 1 : rate;
700 int rate)
705 switch (rate) {
753 int rate)
755 switch (rate) {
983 int err, rate, dummy;
994 (rate = snd_rme96_capture_getrate(rme96, &dummy)) > 0)
997 if ((int)params_rate(params) != rate) {
1046 int err, isadat, rate;
1065 } else if ((rate = snd_rme96_capture_getrate(rme96, &isadat)) > 0) {
1066 if ((int)params_rate(params) != rate) {
1182 int rate, dummy;
1200 (rate = snd_rme96_capture_getrate(rme96, &dummy)) > 0)
1203 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate);
1204 runtime->hw.rate_min = rate;
1205 runtime->hw.rate_max = rate;
1219 int isadat, rate;
1226 (rate = snd_rme96_capture_getrate(rme96, &isadat)) > 0)
1231 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate);
1232 runtime->hw.rate_min = rate;
1233 runtime->hw.rate_max = rate;
1251 int rate, dummy;
1269 (rate = snd_rme96_capture_getrate(rme96, &dummy)) > 0)
1272 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate);
1273 runtime->hw.rate_min = rate;
1274 runtime->hw.rate_max = rate;
1283 int isadat, rate;
1294 if ((rate = snd_rme96_capture_getrate(rme96, &isadat)) > 0) {
1298 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate);
1299 runtime->hw.rate_min = rate;
1300 runtime->hw.rate_max = rate;
1762 snd_iprintf(buffer, "\n sample rate: no valid signal\n");
1769 snd_iprintf(buffer, " sample rate: %d Hz\n",
1784 snd_iprintf(buffer, " sample rate: %d Hz\n",