Lines Matching full:rates
164 fp->rates = rate_bits; in set_fixed_rate()
169 /* set up rate_min, rate_max and rates from the rate table */
177 fp->rates = 0; in set_rate_table_min_max()
182 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max()
187 * parse the format descriptor and stores the possible sample rates
244 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1()
250 /* continuous rates */ in parse_audio_format_rates_v1()
251 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
269 * rates per altsetting but reports the full set each time.
270 * If we don't filter out the unsupported rates and attempt
274 * The list of supported rates per altsetting (set of available
297 * Many Focusrite devices supports a limited set of sampling rates per
345 * get to know how many sample rates we have to expect.
371 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
377 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
382 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
391 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
407 * clock rates.
516 * parse the format descriptor and stores the possible sample rates
534 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
547 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
553 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
585 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
604 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
670 /* gather possible sample rates */ in parse_audio_format_i()
671 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
738 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
782 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
789 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
790 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()