Home
last modified time | relevance | path

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

12345

/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()
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()
/openbmc/linux/sound/soc/qcom/
H A 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()
H A Dsc8280xp.c57 struct snd_interval *rate = hw_param_interval(params, in sc8280xp_be_hw_params_fixup()
59 struct snd_interval *channels = hw_param_interval(params, in sc8280xp_be_hw_params_fixup()
H A 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()
/openbmc/linux/sound/soc/intel/boards/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/sound/core/
H A 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()
/openbmc/linux/sound/soc/intel/avs/boards/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/sound/soc/codecs/
H A 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()
/openbmc/linux/sound/isa/sb/
H A 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()
/openbmc/linux/sound/pci/ac97/
H A 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