Home
last modified time | relevance | path

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

12345678

/openbmc/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()
/openbmc/linux/sound/core/
H A Dpcm_drm_eld.c134 r = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in eld_limit_channels()
151 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pcm_hw_constraint_eld()
159 SNDRV_PCM_HW_PARAM_RATE, -1); in snd_pcm_hw_constraint_eld()
/openbmc/linux/sound/soc/amd/
H A Dacp-da7219-max98357a.c259 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_da7219_play_startup()
280 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_da7219_cap_startup()
302 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_max_startup()
323 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_dmic0_startup()
344 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_dmic1_startup()
371 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_play_startup()
392 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_cap_startup()
414 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_max_startup()
435 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_dmic0_startup()
456 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in cz_rt5682_dmic1_startup()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/intel/boards/
H A Dbytcht_nocodec.c44 SNDRV_PCM_HW_PARAM_RATE); in codec_fixup()
92 SNDRV_PCM_HW_PARAM_RATE, in aif1_startup()
H A Dkbl_da7219_max98357a.c163 SNDRV_PCM_HW_PARAM_RATE); in kabylake_ssp_fixup()
318 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in kbl_fe_startup()
354 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in kabylake_dmic_startup()
387 SNDRV_PCM_HW_PARAM_RATE, in kabylake_refcap_startup()
H A Dskl_nau88l25_max98357a.c152 SNDRV_PCM_HW_PARAM_RATE); in skylake_ssp_fixup()
298 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skl_fe_startup()
370 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skylake_dmic_startup()
403 SNDRV_PCM_HW_PARAM_RATE, in skylake_refcap_startup()
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 Dskl_nau88l25_ssm4567.c318 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skl_fe_startup()
331 SNDRV_PCM_HW_PARAM_RATE); in skylake_ssp_fixup()
408 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skylake_dmic_startup()
441 SNDRV_PCM_HW_PARAM_RATE, in skylake_refcap_startup()
H A Dcht_bsw_nau8824.c132 SNDRV_PCM_HW_PARAM_RATE); in cht_codec_fixup()
160 SNDRV_PCM_HW_PARAM_RATE, 48000); in cht_aif1_startup()
H A Dskl_rt286.c200 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skl_fe_startup()
213 SNDRV_PCM_HW_PARAM_RATE); in skylake_ssp0_fixup()
279 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in skylake_dmic_startup()
H A Dbxt_da7219_max98357a.c210 SNDRV_PCM_HW_PARAM_RATE); in broxton_ssp_fixup()
353 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in bxt_fe_startup()
384 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in broxton_dmic_startup()
417 SNDRV_PCM_HW_PARAM_RATE, in broxton_refcap_startup()
H A Dbxt_rt298.c208 SNDRV_PCM_HW_PARAM_RATE); in broxton_ssp5_fixup()
284 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in broxton_dmic_startup()
319 SNDRV_PCM_HW_PARAM_RATE, &constraints_rates); in bxt_fe_startup()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/amd/vangogh/
H A Dacp5x-mach.c156 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in acp5x_8821_startup()
209 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in acp5x_cs35l41_startup()
346 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in acp5x_max98388_startup()
/openbmc/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()
/openbmc/linux/sound/soc/sh/rcar/
H A Dcore.c928 struct snd_interval *ir = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in rsnd_soc_hw_rule_rate()
951 struct snd_interval *ir = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in rsnd_soc_hw_rule_channels()
1025 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in rsnd_soc_dai_startup()
1032 SNDRV_PCM_HW_PARAM_RATE, -1); in rsnd_soc_dai_startup()
1655 hw_param_interval(hw_params, SNDRV_PCM_HW_PARAM_RATE)->min = in rsnd_hw_params()
1657 hw_param_interval(hw_params, SNDRV_PCM_HW_PARAM_RATE)->max = in rsnd_hw_params()
1659 hw_params->cmask |= SNDRV_PCM_HW_PARAM_RATE; in rsnd_hw_params()
1661 hw_param_interval(hw_params, SNDRV_PCM_HW_PARAM_RATE)->min = in rsnd_hw_params()
1663 hw_param_interval(hw_params, SNDRV_PCM_HW_PARAM_RATE)->max = in rsnd_hw_params()
1665 hw_params->cmask |= SNDRV_PCM_HW_PARAM_RATE; in rsnd_hw_params()

12345678