Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_HW_PARAM_RATE (Results 1 – 25 of 133) sorted by relevance

123456

/linux/sound/soc/
H A Dsoc-utils-test.c130 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->min = rate; in test_tdm_params_to_bclk_one()
131 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->max = rate; in test_tdm_params_to_bclk_one()
183 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->min = rate; in test_snd_soc_params_to_bclk_one()
184 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->max = rate; in test_snd_soc_params_to_bclk_one()
/linux/sound/core/
H A Dpcm_drm_eld.c135 r = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in eld_limit_channels()
152 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pcm_hw_constraint_eld()
160 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_pcm_hw_constraint_eld()
/linux/sound/firewire/digi00x/
H A Ddigi00x-pcm.c14 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
40 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
86 SNDRV_PCM_HW_PARAM_RATE, -1); in pcm_init_hw_params()
91 SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/linux/sound/isa/sb/
H A Dsb8_main.c68 int err = snd_interval_ratnum(hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE), in snd_sb8_hw_constraint_rate_channels()
82 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_sb8_hw_constraint_channels_rate()
495 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_sb8_open()
498 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_sb8_open()
501 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_sb8_open()
513 snd_pcm_hw_constraint_ratnums(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_sb8_open()
/linux/sound/firewire/fireface/
H A Dff-pcm.c15 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
48 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
126 SNDRV_PCM_HW_PARAM_RATE, -1); in pcm_init_hw_params()
130 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/linux/sound/firewire/motu/
H A Dmotu-pcm.c19 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in motu_rate_constraint()
46 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in motu_channels_constraint()
116 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_info()
123 SNDRV_PCM_HW_PARAM_RATE, -1); in init_hw_info()
/linux/sound/firewire/bebob/
H A Dbebob_pcm.c15 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
45 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
117 SNDRV_PCM_HW_PARAM_RATE, -1); in pcm_init_hw_params()
121 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/linux/sound/firewire/fireworks/
H A Dfireworks_pcm.c68 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
95 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
158 SNDRV_PCM_HW_PARAM_RATE, -1); in pcm_init_hw_params()
162 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/linux/sound/firewire/oxfw/
H A Doxfw-pcm.c15 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
48 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
131 SNDRV_PCM_HW_PARAM_RATE, -1); in init_hw_params()
135 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_params()
/linux/sound/firewire/dice/
H A Ddice-pcm.c21 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in dice_rate_constraint()
57 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in dice_channels_constraint()
150 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_info()
157 SNDRV_PCM_HW_PARAM_RATE, -1); in init_hw_info()
/linux/sound/soc/codecs/
H A Dlochnagar-sc.c77 SNDRV_PCM_HW_PARAM_RATE, in lochnagar_sc_startup()
83 SNDRV_PCM_HW_PARAM_RATE, in lochnagar_sc_startup()
H A Dwm8782.c43 return snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE, in wm8782_dai_startup()
/linux/sound/soc/intel/boards/
H A Dbytcht_cx2072x.c109 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in byt_cht_cx2072x_fixup()
147 SNDRV_PCM_HW_PARAM_RATE, 48000); in byt_cht_cx2072x_aif1_startup()
H A Dbytcht_da7213.c65 SNDRV_PCM_HW_PARAM_RATE); in codec_fixup()
102 SNDRV_PCM_HW_PARAM_RATE, 48000); in aif1_startup()
H A Dcht_bsw_rt5672.c272 SNDRV_PCM_HW_PARAM_RATE); in cht_codec_fixup()
325 SNDRV_PCM_HW_PARAM_RATE, 48000); in cht_aif1_startup()
H A Dcht_bsw_max98090_ti.c255 SNDRV_PCM_HW_PARAM_RATE); in cht_codec_fixup()
287 SNDRV_PCM_HW_PARAM_RATE, 48000); in cht_aif1_startup()
/linux/sound/pci/ac97/
H A Dac97_pcm.c692 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_rate()
701 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_channels()
726 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_ac97_pcm_double_rate_rules()
733 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_ac97_pcm_double_rate_rules()
/linux/sound/soc/tegra/
H A Dtegra20_spdif.c229 SNDRV_PCM_HW_PARAM_RATE, in tegra20_spdif_startup()
231 SNDRV_PCM_HW_PARAM_RATE, -1); in tegra20_spdif_startup()
H A Dtegra20_i2s.c307 SNDRV_PCM_HW_PARAM_RATE, in tegra20_i2s_startup()
309 SNDRV_PCM_HW_PARAM_RATE, -1); in tegra20_i2s_startup()
/linux/Documentation/sound/designs/
H A Dtracepoints.rst64 - SNDRV_PCM_HW_PARAM_RATE
97 notation. Basically, when a parameter of SNDRV_PCM_HW_PARAM_RATE was
104 SNDRV_PCM_HW_PARAM_RATE was decided as a single value, this value is
/linux/sound/usb/
H A Dpcm.c728 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_check_valid_format()
821 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
1131 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
1133 SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
1145 SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
1153 SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
1165 SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
/linux/sound/soc/qcom/
H A Dapq8096.c20 SNDRV_PCM_HW_PARAM_RATE); in apq8096_be_hw_params_fixup()
H A Dsc7280.c218 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE, 48000, 48000); in sc7280_snd_hw_params()
395 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in sc7280_snd_be_hw_params_fixup()
/linux/sound/pci/
H A Dsonicvibes.c547 if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->min == in snd_sonicvibes_hw_constraint_dac_rate()
548 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->max) { in snd_sonicvibes_hw_constraint_dac_rate()
549 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->min; in snd_sonicvibes_hw_constraint_dac_rate()
799 …d_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, snd_sonicvibes_hw_constraint_dac_rate, NULL… in snd_sonicvibes_playback_open()
811 snd_pcm_hw_constraint_ratdens(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_sonicvibes_capture_open()
/linux/sound/pci/rme9652/
H A Drme9652.c1957 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE); in snd_rme9652_hw_params()
1981 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE); in snd_rme9652_hw_params()
2182 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_rme9652_hw_rule_channels_rate()
2206 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_rme9652_hw_rule_rate_channels()
2254 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_rme9652_playback_open()
2255 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_rme9652_playback_open()
2313 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_rme9652_capture_open()
2314 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_rme9652_capture_open()

123456