Lines Matching full:rates
170 fp->rates = rate_bits; in set_fixed_rate()
175 /* set up rate_min, rate_max and rates from the rate table */
183 fp->rates = 0; in set_rate_table_min_max()
188 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max()
193 * parse the format descriptor and stores the possible sample rates
250 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1()
256 /* continuous rates */ in parse_audio_format_rates_v1()
257 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
275 * rates per altsetting but reports the full set each time.
276 * If we don't filter out the unsupported rates and attempt
280 * The list of supported rates per altsetting (set of available
303 * Many Focusrite devices supports a limited set of sampling rates per
351 * get to know how many sample rates we have to expect.
377 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
383 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
388 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
397 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
413 * clock rates.
543 * parse the format descriptor and stores the possible sample rates
563 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
576 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
582 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
614 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
633 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
699 /* gather possible sample rates */ in parse_audio_format_i()
700 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
767 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
811 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
818 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
819 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()