Lines Matching full:rates

168 	fp->rates = rate_bits;  in set_fixed_rate()
173 /* set up rate_min, rate_max and rates from the rate table */
181 fp->rates = 0; in set_rate_table_min_max()
186 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max()
191 * parse the format descriptor and stores the possible sample rates
248 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1()
254 /* continuous rates */ in parse_audio_format_rates_v1()
255 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
273 * rates per altsetting but reports the full set each time.
274 * If we don't filter out the unsupported rates and attempt
278 * The list of supported rates per altsetting (set of available
301 * Many Focusrite devices supports a limited set of sampling rates per
349 * get to know how many sample rates we have to expect.
375 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
381 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
386 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
395 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
411 * clock rates.
521 * parse the format descriptor and stores the possible sample rates
539 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
552 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
558 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
590 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
609 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
675 /* gather possible sample rates */ in parse_audio_format_i()
676 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
743 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
787 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
794 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
795 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()