Home
last modified time | relevance | path

Searched refs:rate_min (Results 1 – 25 of 179) sorted by relevance

12345678

/sound/usb/
Dquirks-table.h85 .rate_min = 48000,
167 .rate_min = 48000,
587 .rate_min = 44100,
604 .rate_min = 44100,
1075 .rate_min = 44100,
1092 .rate_min = 44100,
1695 .rate_min = 44100,
1713 .rate_min = 44100,
1762 .rate_min = 44100,
1780 .rate_min = 44100,
[all …]
Dformat.c195 fp->rate_min = fp->rate_max = 0; in parse_audio_format_rates_v1()
217 if (!fp->rate_min || rate < fp->rate_min) in parse_audio_format_rates_v1()
218 fp->rate_min = rate; in parse_audio_format_rates_v1()
231 fp->rate_min = combine_triple(&fmt[offset + 1]); in parse_audio_format_rates_v1()
295 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range()
312 fp->rate_min = min; in parse_uac2_sample_rate_range()
326 if (!fp->rate_min || rate < fp->rate_min) in parse_uac2_sample_rate_range()
327 fp->rate_min = rate; in parse_uac2_sample_rate_range()
368 fp->rate_min = 48000; in line6_parse_audio_format_rates_quirk()
Dpcm.c95 if (subs->cur_rate < fp->rate_min || in find_format()
161 if (subs->cur_rate < fp->rate_min || in find_format_and_si()
1164 if (fp->rate_min > it->max || (fp->rate_min == it->max && it->openmax)) { in hw_check_valid_format()
1165 hwc_debug(" > check: rate_min %d > max %d\n", fp->rate_min, it->max); in hw_check_valid_format()
1199 if (rmin > fp->rate_min) in hw_rule_rate()
1200 rmin = fp->rate_min; in hw_rule_rate()
1204 rmin = fp->rate_min; in hw_rule_rate()
1413 runtime->hw.rate_min = 0x7fffffff; in setup_hw_info()
1422 if (runtime->hw.rate_min > fp->rate_min) in setup_hw_info()
1423 runtime->hw.rate_min = fp->rate_min; in setup_hw_info()
/sound/soc/codecs/
Des7134.c16 unsigned int rate_min; member
47 if (rate < mode->rate_min || rate > mode->rate_max) in es7134_check_mclk()
162 .rate_min = 8000,
168 .rate_min = 84000,
174 .rate_min = 167000,
240 .rate_min = 8000,
247 .rate_min = 84000,
Des7241.c12 unsigned int rate_min; member
98 if (rate < mode->rate_min || rate >= mode->rate_max) in es7241_hw_params()
178 .rate_min = 8000,
187 .rate_min = 50000,
196 .rate_min = 100000,
/sound/soc/qcom/qdsp6/
Dq6afe-dai.c27 .rate_min = 8000, \
48 .rate_min = 8000, \
634 .rate_min = 48000,
656 .rate_min = 8000,
674 .rate_min = 8000,
687 .rate_min = 8000,
710 .rate_min = 8000,
723 .rate_min = 8000,
747 .rate_min = 8000,
760 .rate_min = 8000,
[all …]
/sound/soc/atmel/
Datmel-pdmic.c379 unsigned int rate_min = substream->runtime->hw.rate_min; in atmel_pdmic_codec_dai_hw_params() local
393 if ((fs < rate_min) || (fs > rate_max)) { in atmel_pdmic_codec_dai_hw_params()
396 fs, rate_min, rate_max); in atmel_pdmic_codec_dai_hw_params()
545 unsigned int *rate_min, unsigned int *rate_max) in atmel_pdmic_get_sample_rate() argument
558 *rate_min = DIV_ROUND_CLOSEST(mic_min_freq, 128); in atmel_pdmic_get_sample_rate()
600 unsigned int rate_min, rate_max; in atmel_pdmic_probe() local
665 atmel_pdmic_get_sample_rate(dd, &rate_min, &rate_max); in atmel_pdmic_probe()
668 atmel_pdmic_cpu_dai.capture.rate_min = rate_min; in atmel_pdmic_probe()
688 atmel_pdmic_codec_dai.capture.rate_min = rate_min; in atmel_pdmic_probe()
/sound/soc/qcom/
Dlpass-apq8016.c39 .rate_min = 8000,
60 .rate_min = 8000,
81 .rate_min = 8000,
102 .rate_min = 8000,
117 .rate_min = 8000,
/sound/xen/
Dxen_snd_front_cfg.c157 unsigned int rate_min; in cfg_hw_rates() local
162 rate_min = -1; in cfg_hw_rates()
172 if (rate_min > cur_value) in cfg_hw_rates()
173 rate_min = cur_value; in cfg_hw_rates()
181 pcm_hw->rate_min = rate_min; in cfg_hw_rates()
227 .rate_min = USE_RATE_MIN,
282 if (pcm_hw->rate_min > pcm_hw->rate_max) in cfg_read_pcm_hw()
283 pcm_hw->rate_min = pcm_hw->rate_max; in cfg_read_pcm_hw()
/sound/firewire/fireface/
Dff-pcm.c80 hw->rate_min = UINT_MAX; in limit_channels_and_rates()
99 hw->rate_min = min(hw->rate_min, rate); in limit_channels_and_rates()
172 substream->runtime->hw.rate_min = rate; in pcm_open()
178 substream->runtime->hw.rate_min = rate; in pcm_open()
/sound/usb/line6/
Dpodhd.c61 .rate_min = 48000,
78 .rate_min = 48000,
103 .rate_min = 48000,
120 .rate_min = 48000,
/sound/firewire/bebob/
Dbebob_pcm.c76 hw->rate_min = UINT_MAX; in limit_channels_and_rates()
88 hw->rate_min = min(hw->rate_min, snd_bebob_rate_table[i]); in limit_channels_and_rates()
167 substream->runtime->hw.rate_min = sampling_rate; in pcm_open()
/sound/firewire/oxfw/
Doxfw-pcm.c88 hw->rate_min = UINT_MAX; in limit_channels_and_rates()
103 hw->rate_min = min(hw->rate_min, formation.rate); in limit_channels_and_rates()
164 substream->runtime->hw.rate_min = formation.rate; in limit_to_current_params()
/sound/soc/fsl/
Dfsl_audmix.c330 .rate_min = 8000,
339 .rate_min = 8000,
353 .rate_min = 8000,
362 .rate_min = 8000,
/sound/soc/
Dsoc-pcm.c389 unsigned int rate_min = 0, rate_max = UINT_MAX; in soc_pcm_init_runtime_hw() local
422 rate_min = max(rate_min, codec_stream->rate_min); in soc_pcm_init_runtime_hw()
448 hw->rate_min = max(hw->rate_min, cpu_stream->rate_min); in soc_pcm_init_runtime_hw()
449 hw->rate_min = max(hw->rate_min, rate_min); in soc_pcm_init_runtime_hw()
627 pr_debug("ASoC: min rate %d max rate %d\n", runtime->hw.rate_min, in soc_pcm_open()
1686 runtime->hw.rate_min = stream->rate_min; in dpcm_init_runtime_hw()
1791 unsigned int *rate_min, in dpcm_runtime_merge_rate() argument
1820 *rate_min = max(*rate_min, cpu_stream->rate_min); in dpcm_runtime_merge_rate()
1838 *rate_min = max(*rate_min, codec_stream->rate_min); in dpcm_runtime_merge_rate()
1863 &runtime->hw.rate_min, &runtime->hw.rate_max); in dpcm_set_fe_runtime()
/sound/drivers/
Ddummy.c112 unsigned int rate_min; member
189 .rate_min = 48000,
203 .rate_min = 48000,
512 .rate_min = USE_RATE_MIN,
962 FIELD_ENTRY(rate_min, "%d"),
1082 if (m->rate_min) in snd_dummy_probe()
1083 dummy->pcm_hw.rate_min = m->rate_min; in snd_dummy_probe()
/sound/soc/kirkwood/
Dkirkwood-i2s.c484 .rate_min = 5512,
492 .rate_min = 5512,
505 .rate_min = 5512,
513 .rate_min = 5512,
/sound/soc/samsung/
Dtm2_wm5110.c391 .rate_min = 8000,
400 .rate_min = 8000,
412 .rate_min = 8000,
420 .rate_min = 8000,
/sound/isa/sb/
Dsb16_main.c470 .rate_min = 4000,
488 .rate_min = 4000,
557 runtime->hw.rate_min = 44100; in snd_sb16_playback_open()
560 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open()
632 runtime->hw.rate_min = 44100; in snd_sb16_capture_open()
635 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_capture_open()
/sound/core/
Dpcm_misc.c489 runtime->hw.rate_min = snd_pcm_known_rates.list[i]; in snd_pcm_limit_hw_rates()
589 unsigned int snd_pcm_rate_range_to_bits(unsigned int rate_min, in snd_pcm_rate_range_to_bits() argument
596 if (snd_pcm_known_rates.list[i] >= rate_min in snd_pcm_rate_range_to_bits()
/sound/pci/echoaudio/
Ddarla20.c72 .rate_min = 44100,
Dgina20.c76 .rate_min = 44100,
Ddarla24.c79 .rate_min = 8000,
Dindigodj.c81 .rate_min = 32000,
Dindigodjx.c82 .rate_min = 32000,

12345678