Lines Matching full:rates
169 fp->rates = rate_bits; in set_fixed_rate()
175 * parse the format descriptor and stores the possible sample rates
234 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_audio_format_rates_v1()
238 hwc_debug("All rates were zero. Skipping format!\n"); in parse_audio_format_rates_v1()
242 /* continuous rates */ in parse_audio_format_rates_v1()
243 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
261 * rates per altsetting but reports the full set each time.
262 * If we don't filter out the unsupported rates and attempt
266 * The list of supported rates per altsetting (set of available
289 * Many Focusrite devices supports a limited set of sampling rates per
337 * get to know how many sample rates we have to expect.
346 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range()
365 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
371 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
376 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
387 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_uac2_sample_rate_range()
391 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
407 * clock rates.
431 * parse the format descriptor and stores the possible sample rates
449 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
462 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
468 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
500 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
519 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
579 /* gather possible sample rates */ in parse_audio_format_i()
580 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
647 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
691 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
698 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
699 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()