/sound/usb/ |
D | quirks-table.h | 86 .rate_max = 48000, 168 .rate_max = 48000, 588 .rate_max = 44100, 605 .rate_max = 44100, 1076 .rate_max = 44100, 1093 .rate_max = 44100, 1696 .rate_max = 44100, 1714 .rate_max = 44100, 1763 .rate_max = 44100, 1781 .rate_max = 44100, [all …]
|
D | format.c | 195 fp->rate_min = fp->rate_max = 0; in parse_audio_format_rates_v1() 219 if (!fp->rate_max || rate > fp->rate_max) in parse_audio_format_rates_v1() 220 fp->rate_max = rate; in parse_audio_format_rates_v1() 232 fp->rate_max = combine_triple(&fmt[offset + 4]); in parse_audio_format_rates_v1() 295 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range() 313 fp->rate_max = max; in parse_uac2_sample_rate_range() 328 if (!fp->rate_max || rate > fp->rate_max) in parse_uac2_sample_rate_range() 329 fp->rate_max = rate; in parse_uac2_sample_rate_range() 369 fp->rate_max = 48000; in line6_parse_audio_format_rates_quirk()
|
D | pcm.c | 96 subs->cur_rate > fp->rate_max) in find_format() 162 subs->cur_rate > fp->rate_max) in find_format_and_si() 1168 if (fp->rate_max < it->min || (fp->rate_max == it->min && it->openmin)) { in hw_check_valid_format() 1169 hwc_debug(" > check: rate_max %d < min %d\n", fp->rate_max, it->min); in hw_check_valid_format() 1201 if (rmax < fp->rate_max) in hw_rule_rate() 1202 rmax = fp->rate_max; in hw_rule_rate() 1205 rmax = fp->rate_max; in hw_rule_rate() 1414 runtime->hw.rate_max = 0; in setup_hw_info() 1424 if (runtime->hw.rate_max < fp->rate_max) in setup_hw_info() 1425 runtime->hw.rate_max = fp->rate_max; in setup_hw_info()
|
/sound/soc/codecs/ |
D | es7134.c | 17 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,
|
D | es7241.c | 13 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/ |
D | q6afe-dai.c | 28 .rate_max = 176400, \ 49 .rate_max = 176400, \ 633 .rate_max = 192000, 657 .rate_max = 192000, 675 .rate_max = 192000, 688 .rate_max = 192000, 711 .rate_max = 192000, 724 .rate_max = 192000, 748 .rate_max = 192000, 761 .rate_max = 192000, [all …]
|
/sound/soc/atmel/ |
D | atmel-pdmic.c | 380 unsigned int rate_max = substream->runtime->hw.rate_max; 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() 414 if ((fs << 7) > (rate_max << 6)) { in atmel_pdmic_codec_dai_hw_params() 545 unsigned int *rate_min, unsigned int *rate_max) in atmel_pdmic_get_sample_rate() argument 559 *rate_max = mic_max_freq >> 6; 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() 669 atmel_pdmic_cpu_dai.capture.rate_max = rate_max; in atmel_pdmic_probe() 689 atmel_pdmic_codec_dai.capture.rate_max = rate_max; in atmel_pdmic_probe()
|
/sound/soc/qcom/ |
D | lpass-apq8016.c | 40 .rate_max = 96000, 61 .rate_max = 96000, 82 .rate_max = 96000, 103 .rate_max = 96000, 118 .rate_max = 96000,
|
/sound/xen/ |
D | xen_snd_front_cfg.c | 158 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/firewire/fireface/ |
D | ff-pcm.c | 81 hw->rate_max = 0; in limit_channels_and_rates() 100 hw->rate_max = max(hw->rate_max, rate); in limit_channels_and_rates() 173 substream->runtime->hw.rate_max = rate; in pcm_open() 179 substream->runtime->hw.rate_max = rate; in pcm_open()
|
/sound/usb/line6/ |
D | podhd.c | 62 .rate_max = 48000, 79 .rate_max = 48000, 104 .rate_max = 48000, 121 .rate_max = 48000,
|
/sound/firewire/bebob/ |
D | bebob_pcm.c | 77 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() 168 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
|
/sound/isa/sb/ |
D | sb8_main.c | 441 .rate_max = 23000, 460 .rate_max = 13000, 501 runtime->hw.rate_max = 50000; in snd_sb8_open() 505 runtime->hw.rate_max = 44100; in snd_sb8_open() 517 runtime->hw.rate_max = 44100; in snd_sb8_open() 519 runtime->hw.rate_max = 15000; in snd_sb8_open()
|
D | sb16_main.c | 471 .rate_max = 44100, 489 .rate_max = 44100, 553 runtime->hw.rate_max = 48000; in snd_sb16_playback_open() 560 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open() 628 runtime->hw.rate_max = 48000; in snd_sb16_capture_open() 635 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_capture_open()
|
/sound/pci/ctxfi/ |
D | ctpcm.c | 34 .rate_max = 192000, 56 .rate_max = 48000, 82 .rate_max = 96000, 282 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()
|
/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 89 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/fsl/ |
D | fsl_audmix.c | 331 .rate_max = 96000, 340 .rate_max = 96000, 354 .rate_max = 96000, 363 .rate_max = 96000,
|
/sound/soc/ |
D | soc-pcm.c | 389 unsigned int rate_min = 0, rate_max = UINT_MAX; in soc_pcm_init_runtime_hw() local 423 rate_max = min_not_zero(rate_max, codec_stream->rate_max); in soc_pcm_init_runtime_hw() 450 hw->rate_max = min_not_zero(hw->rate_max, cpu_stream->rate_max); in soc_pcm_init_runtime_hw() 451 hw->rate_max = min_not_zero(hw->rate_max, rate_max); in soc_pcm_init_runtime_hw() 628 runtime->hw.rate_max); in soc_pcm_open() 1687 runtime->hw.rate_max = min_not_zero(stream->rate_max, UINT_MAX); in dpcm_init_runtime_hw() 1792 unsigned int *rate_max) in dpcm_runtime_merge_rate() argument 1821 *rate_max = min_not_zero(*rate_max, cpu_stream->rate_max); in dpcm_runtime_merge_rate() 1839 *rate_max = min_not_zero(*rate_max, in dpcm_runtime_merge_rate() 1840 codec_stream->rate_max); in dpcm_runtime_merge_rate() [all …]
|
/sound/drivers/ |
D | dummy.c | 113 unsigned int rate_max; member 190 .rate_max = 48000, 204 .rate_max = 192000, 513 .rate_max = USE_RATE_MAX, 963 FIELD_ENTRY(rate_max, "%d"), 1084 if (m->rate_max) in snd_dummy_probe() 1085 dummy->pcm_hw.rate_max = m->rate_max; in snd_dummy_probe()
|
/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 485 .rate_max = 192000, 493 .rate_max = 192000, 506 .rate_max = 192000, 514 .rate_max = 192000,
|
/sound/soc/samsung/ |
D | tm2_wm5110.c | 392 .rate_max = 48000, 401 .rate_max = 48000, 413 .rate_max = 16000, 421 .rate_max = 16000,
|
/sound/core/ |
D | pcm_misc.c | 495 runtime->hw.rate_max = snd_pcm_known_rates.list[i]; in snd_pcm_limit_hw_rates() 590 unsigned int rate_max) in snd_pcm_rate_range_to_bits() argument 597 && snd_pcm_known_rates.list[i] <= rate_max) in snd_pcm_rate_range_to_bits()
|
/sound/pci/echoaudio/ |
D | darla20.c | 73 .rate_max = 48000,
|
D | gina20.c | 77 .rate_max = 48000,
|
D | darla24.c | 80 .rate_max = 96000,
|