/linux/sound/soc/ |
H A D | soc-utils-test.c | 130 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_RATE)->min = rate; in test_tdm_params_to_bclk_one() 131 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_RATE)->max = rate; in test_tdm_params_to_bclk_one() 183 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_RATE)->min = rate; in test_snd_soc_params_to_bclk_one() 184 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_RATE)->max = rate; in test_snd_soc_params_to_bclk_one()
|
/linux/sound/core/ |
H A D | pcm_drm_eld.c | 135 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 D | digi00x-pcm.c | 14 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 D | sb8_main.c | 68 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 D | ff-pcm.c | 15 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 D | motu-pcm.c | 19 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 D | bebob_pcm.c | 15 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 D | fireworks_pcm.c | 68 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 D | oxfw-pcm.c | 15 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 D | dice-pcm.c | 21 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 D | lochnagar-sc.c | 77 SNDRV_PCM_HW_PARAM_RATE, in lochnagar_sc_startup() 83 SNDRV_PCM_HW_PARAM_RATE, in lochnagar_sc_startup()
|
H A D | wm8782.c | 43 return snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE, in wm8782_dai_startup()
|
/linux/sound/soc/intel/boards/ |
H A D | bytcht_cx2072x.c | 109 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 D | bytcht_da7213.c | 65 SNDRV_PCM_HW_PARAM_RATE); in codec_fixup() 102 SNDRV_PCM_HW_PARAM_RATE, 48000); in aif1_startup()
|
H A D | cht_bsw_rt5672.c | 272 SNDRV_PCM_HW_PARAM_RATE); in cht_codec_fixup() 325 SNDRV_PCM_HW_PARAM_RATE, 48000); in cht_aif1_startup()
|
H A D | cht_bsw_max98090_ti.c | 255 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 D | ac97_pcm.c | 692 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 D | tegra20_spdif.c | 229 SNDRV_PCM_HW_PARAM_RATE, in tegra20_spdif_startup() 231 SNDRV_PCM_HW_PARAM_RATE, -1); in tegra20_spdif_startup()
|
H A D | tegra20_i2s.c | 307 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 D | tracepoints.rst | 64 - 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 D | pcm.c | 728 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 D | apq8096.c | 20 SNDRV_PCM_HW_PARAM_RATE); in apq8096_be_hw_params_fixup()
|
H A D | sc7280.c | 218 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 D | sonicvibes.c | 547 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 D | rme9652.c | 1957 _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()
|