Lines Matching full:rates
163 fp->rates = rate_bits; in set_fixed_rate()
169 * parse the format descriptor and stores the possible sample rates
226 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_audio_format_rates_v1()
230 hwc_debug("All rates were zero. Skipping format!\n"); in parse_audio_format_rates_v1()
234 /* continuous rates */ in parse_audio_format_rates_v1()
235 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
253 * rates per altsetting but reports the full set each time.
254 * If we don't filter out the unsupported rates and attempt
258 * The list of supported rates per altsetting (set of available
281 * Many Focusrite devices supports a limited set of sampling rates per
329 * get to know how many sample rates we have to expect.
338 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range()
357 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
363 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
368 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
379 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_uac2_sample_rate_range()
383 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
399 * clock rates.
421 * parse the format descriptor and stores the possible sample rates
439 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
452 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
458 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
490 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
509 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
569 /* gather possible sample rates */ in parse_audio_format_i()
570 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
637 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
681 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
688 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
689 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()