Home
last modified time | relevance | path

Searched refs:hw_param_interval (Results 1 – 25 of 103) sorted by relevance

12345

/Linux-v6.6/sound/soc/
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()
132 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_tdm_params_to_bclk_one()
133 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; 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()
185 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_snd_soc_params_to_bclk_one()
186 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_snd_soc_params_to_bclk_one()
/Linux-v6.6/sound/soc/qcom/
Dapq8096.c19 struct snd_interval *rate = hw_param_interval(params, in apq8096_be_hw_params_fixup()
21 struct snd_interval *channels = hw_param_interval(params, in apq8096_be_hw_params_fixup()
Dsc8280xp.c38 struct snd_interval *rate = hw_param_interval(params, in sc8280xp_be_hw_params_fixup()
40 struct snd_interval *channels = hw_param_interval(params, in sc8280xp_be_hw_params_fixup()
Dsm8250.c38 struct snd_interval *rate = hw_param_interval(params, in sm8250_be_hw_params_fixup()
40 struct snd_interval *channels = hw_param_interval(params, in sm8250_be_hw_params_fixup()
/Linux-v6.6/sound/soc/intel/boards/
Dbytcht_nocodec.c43 struct snd_interval *rate = hw_param_interval(params, in codec_fixup()
45 struct snd_interval *channels = hw_param_interval(params, in codec_fixup()
Dhsw_rt5640.c35 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in codec_link_hw_params_fixup()
36 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in codec_link_hw_params_fixup()
Dbdw-rt5650.c86 struct snd_interval *rate = hw_param_interval(params, in broadwell_ssp0_fixup()
88 struct snd_interval *chan = hw_param_interval(params, in broadwell_ssp0_fixup()
Dbdw_rt286.c86 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in codec_link_hw_params_fixup()
87 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in codec_link_hw_params_fixup()
Dbytcht_cx2072x.c109 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in byt_cht_cx2072x_fixup()
111 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in byt_cht_cx2072x_fixup()
Dbytcht_da7213.c64 struct snd_interval *rate = hw_param_interval(params, in codec_fixup()
66 struct snd_interval *channels = hw_param_interval(params, in codec_fixup()
Dskl_rt286.c212 struct snd_interval *rate = hw_param_interval(params, in skylake_ssp0_fixup()
214 struct snd_interval *chan = hw_param_interval(params, in skylake_ssp0_fixup()
250 struct snd_interval *chan = hw_param_interval(params, in skylake_dmic_fixup()
Dcht_bsw_nau8824.c131 struct snd_interval *rate = hw_param_interval(params, in cht_codec_fixup()
133 struct snd_interval *channels = hw_param_interval(params, in cht_codec_fixup()
Dbxt_rt298.c207 struct snd_interval *rate = hw_param_interval(params, in broxton_ssp5_fixup()
209 struct snd_interval *chan = hw_param_interval(params, in broxton_ssp5_fixup()
258 struct snd_interval *chan = hw_param_interval(params, in broxton_dmic_fixup()
/Linux-v6.6/sound/core/
Dpcm_drm_eld.c95 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates()
123 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels()
/Linux-v6.6/sound/soc/intel/avs/boards/
Dmax98357a.c34 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_max98357a_be_fixup()
35 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_max98357a_be_fixup()
Dssm4567.c71 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_ssm4567_be_fixup()
72 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_ssm4567_be_fixup()
Dmax98927.c52 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_max98927_be_fixup()
53 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_max98927_be_fixup()
Dmax98373.c52 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_max98373_be_fixup()
53 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_max98373_be_fixup()
Drt298.c94 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_rt298_be_fixup()
95 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_rt298_be_fixup()
Drt286.c83 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_rt286_be_fixup()
84 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_rt286_be_fixup()
Drt5663.c98 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_rt5663_be_fixup()
99 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_rt5663_be_fixup()
Drt274.c132 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_rt274_be_fixup()
133 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_rt274_be_fixup()
/Linux-v6.6/sound/soc/codecs/
Dlochnagar-sc.c62 .max = 24576000 / hw_param_interval(params, rule->deps[0])->max, in lochnagar_sc_hw_rule_rate()
65 return snd_interval_refine(hw_param_interval(params, rule->var), in lochnagar_sc_hw_rule_rate()
/Linux-v6.6/sound/isa/sb/
Dsb8_main.c65 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_sb8_hw_constraint_rate_channels()
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()
85 return snd_interval_refine(hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS), &t); in snd_sb8_hw_constraint_channels_rate()
/Linux-v6.6/sound/pci/ac97/
Dac97_pcm.c686 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_rate()
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()
707 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_channels()

12345