Home
last modified time | relevance | path

Searched refs:rate_max (Results 1 – 25 of 195) sorted by relevance

12345678

/sound/usb/
Dquirks-table.h66 .rate_max = 48000,
112 .rate_max = 48000,
471 .rate_max = 44100,
488 .rate_max = 44100,
959 .rate_max = 44100,
976 .rate_max = 44100,
1579 .rate_max = 44100,
1597 .rate_max = 44100,
1646 .rate_max = 44100,
1664 .rate_max = 44100,
[all …]
Dformat.c168 fp->rate_max = rate; in set_fixed_rate()
208 fp->rate_min = fp->rate_max = 0; in parse_audio_format_rates_v1()
232 if (!fp->rate_max || rate > fp->rate_max) in parse_audio_format_rates_v1()
233 fp->rate_max = rate; in parse_audio_format_rates_v1()
245 fp->rate_max = combine_triple(&fmt[offset + 4]); in parse_audio_format_rates_v1()
346 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range()
364 fp->rate_max = max; in parse_uac2_sample_rate_range()
385 if (!fp->rate_max || rate > fp->rate_max) in parse_uac2_sample_rate_range()
386 fp->rate_max = rate; in parse_uac2_sample_rate_range()
Dpcm.c98 subs->cur_rate > fp->rate_max) in find_format()
164 subs->cur_rate > fp->rate_max) in find_format_and_si()
1179 if (fp->rate_max < it->min || (fp->rate_max == it->min && it->openmin)) { in hw_check_valid_format()
1180 hwc_debug(" > check: rate_max %d < min %d\n", fp->rate_max, it->min); in hw_check_valid_format()
1212 if (rmax < fp->rate_max) in hw_rule_rate()
1213 rmax = fp->rate_max; in hw_rule_rate()
1216 rmax = fp->rate_max; in hw_rule_rate()
1425 runtime->hw.rate_max = 0; in setup_hw_info()
1435 if (runtime->hw.rate_max < fp->rate_max) in setup_hw_info()
1436 runtime->hw.rate_max = fp->rate_max; in setup_hw_info()
/sound/soc/codecs/
Des7134.c17 unsigned int rate_max; member
47 if (rate < mode->rate_min || rate > mode->rate_max) in es7134_check_mclk()
163 .rate_max = 50000,
169 .rate_max = 100000,
175 .rate_max = 192000,
241 .rate_max = 50000,
248 .rate_max = 100000,
Des7241.c13 unsigned int rate_max; member
98 if (rate < mode->rate_min || rate >= mode->rate_max) in es7241_hw_params()
179 .rate_max = 50000,
188 .rate_max = 100000,
197 .rate_max = 200000,
/sound/soc/qcom/qdsp6/
Dq6afe-dai.c28 .rate_max = 176400, \
49 .rate_max = 176400, \
70 .rate_max = 176400, \
91 .rate_max = 176400, \
795 .rate_max = 192000,
819 .rate_max = 192000,
837 .rate_max = 192000,
850 .rate_max = 192000,
873 .rate_max = 192000,
886 .rate_max = 192000,
[all …]
/sound/xen/
Dxen_snd_front_cfg.c158 unsigned int rate_max; in cfg_hw_rates() local
163 rate_max = 0; in cfg_hw_rates()
174 if (rate_max < cur_value) in cfg_hw_rates()
175 rate_max = cur_value; in cfg_hw_rates()
182 pcm_hw->rate_max = rate_max; in cfg_hw_rates()
228 .rate_max = USE_RATE_MAX,
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/soc/atmel/
Datmel-pdmic.c363 unsigned int rate_max = substream->runtime->hw.rate_max; in atmel_pdmic_cpu_dai_hw_params() local
376 if ((fs < rate_min) || (fs > rate_max)) { in atmel_pdmic_cpu_dai_hw_params()
379 fs, rate_min, rate_max); in atmel_pdmic_cpu_dai_hw_params()
397 if ((fs << 7) > (rate_max << 6)) { in atmel_pdmic_cpu_dai_hw_params()
526 unsigned int *rate_min, unsigned int *rate_max) in atmel_pdmic_get_sample_rate() argument
540 *rate_max = mic_max_freq >> 6; in atmel_pdmic_get_sample_rate()
581 unsigned int rate_min, rate_max; in atmel_pdmic_probe() local
646 atmel_pdmic_get_sample_rate(dd, &rate_min, &rate_max); in atmel_pdmic_probe()
650 atmel_pdmic_cpu_dai.capture.rate_max = rate_max; in atmel_pdmic_probe()
/sound/soc/qcom/
Dlpass-apq8016.c40 .rate_max = 96000,
61 .rate_max = 96000,
82 .rate_max = 96000,
103 .rate_max = 96000,
118 .rate_max = 96000,
Dlpass-sc7180.c31 .rate_max = 48000,
40 .rate_max = 48000,
54 .rate_max = 48000,
68 .rate_max = 48000,
/sound/firewire/fireface/
Dff-pcm.c81 hw->rate_max = 0; in limit_channels_and_rates()
100 hw->rate_max = max(hw->rate_max, rate); in limit_channels_and_rates()
179 substream->runtime->hw.rate_max = rate; in pcm_open()
187 substream->runtime->hw.rate_max = rate; in pcm_open()
/sound/isa/sb/
Dsb8_main.c429 .rate_max = 23000,
448 .rate_max = 13000,
489 runtime->hw.rate_max = 50000; in snd_sb8_open()
493 runtime->hw.rate_max = 44100; in snd_sb8_open()
505 runtime->hw.rate_max = 44100; in snd_sb8_open()
507 runtime->hw.rate_max = 15000; in snd_sb8_open()
Dsb16_main.c459 .rate_max = 44100,
477 .rate_max = 44100,
541 runtime->hw.rate_max = 48000; in snd_sb16_playback_open()
548 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open()
616 runtime->hw.rate_max = 48000; in snd_sb16_capture_open()
623 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_capture_open()
/sound/pci/ctxfi/
Dctpcm.c34 .rate_max = 192000,
56 .rate_max = 48000,
82 .rate_max = 96000,
276 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()
/sound/firewire/bebob/
Dbebob_pcm.c77 hw->rate_max = 0; in limit_channels_and_rates()
89 hw->rate_max = max(hw->rate_max, snd_bebob_rate_table[i]); in limit_channels_and_rates()
172 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
/sound/usb/line6/
Dpodhd.c66 .rate_max = 48000,
83 .rate_max = 48000,
108 .rate_max = 48000,
125 .rate_max = 48000,
/sound/soc/fsl/
Dfsl_audmix.c333 .rate_max = 96000,
342 .rate_max = 96000,
356 .rate_max = 96000,
365 .rate_max = 96000,
/sound/firewire/oxfw/
Doxfw-pcm.c89 hw->rate_max = 0; in limit_channels_and_rates()
104 hw->rate_max = max(hw->rate_max, formation.rate); in limit_channels_and_rates()
165 substream->runtime->hw.rate_max = formation.rate; in limit_to_current_params()
/sound/soc/samsung/
Dmidas_wm1811.c327 .rate_max = 16000,
335 .rate_max = 16000,
346 .rate_max = 16000,
354 .rate_max = 16000,
Dtm2_wm5110.c392 .rate_max = 48000,
401 .rate_max = 48000,
413 .rate_max = 16000,
421 .rate_max = 16000,
/sound/soc/
Dsoc-pcm.c511 unsigned int rate_min = 0, rate_max = UINT_MAX; in snd_soc_runtime_calc_hw() local
534 cpu_rate_max = min_not_zero(cpu_rate_max, cpu_stream->rate_max); in snd_soc_runtime_calc_hw()
557 rate_max = min_not_zero(rate_max, codec_stream->rate_max); in snd_soc_runtime_calc_hw()
586 hw->rate_max = min_not_zero(hw->rate_max, cpu_rate_max); in snd_soc_runtime_calc_hw()
587 hw->rate_max = min_not_zero(hw->rate_max, rate_max); in snd_soc_runtime_calc_hw()
780 runtime->hw.rate_max); in soc_pcm_open()
1546 runtime->hw.rate_max = min_not_zero(stream->rate_max, UINT_MAX); in dpcm_init_runtime_hw()
1649 unsigned int *rate_max) in dpcm_runtime_merge_rate() argument
1680 *rate_max = min_not_zero(*rate_max, pcm->rate_max); in dpcm_runtime_merge_rate()
1710 &runtime->hw.rate_min, &runtime->hw.rate_max); in dpcm_set_fe_runtime()
/sound/drivers/
Ddummy.c113 unsigned int rate_max; member
190 .rate_max = 48000,
204 .rate_max = 192000,
513 .rate_max = USE_RATE_MAX,
951 FIELD_ENTRY(rate_max, "%d"),
1072 if (m->rate_max) in snd_dummy_probe()
1073 dummy->pcm_hw.rate_max = m->rate_max; in snd_dummy_probe()
/sound/soc/kirkwood/
Dkirkwood-i2s.c485 .rate_max = 192000,
493 .rate_max = 192000,
506 .rate_max = 192000,
514 .rate_max = 192000,
/sound/core/
Dpcm_misc.c501 hw->rate_max = snd_pcm_known_rates.list[i]; in snd_pcm_hw_limit_rates()
596 unsigned int rate_max) in snd_pcm_rate_range_to_bits() argument
603 && snd_pcm_known_rates.list[i] <= rate_max) in snd_pcm_rate_range_to_bits()
/sound/pci/echoaudio/
Ddarla20.c73 .rate_max = 48000,

12345678