Home
last modified time | relevance | path

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

123

/Linux-v5.10/sound/core/
Dpcm_drm_eld.c28 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates()
56 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels()
Dpcm_lib.c1255 …return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask… in snd_pcm_hw_rule_list()
1285 return snd_interval_ranges(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ranges()
1318 err = snd_interval_ratnum(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratnums()
1352 int err = snd_interval_ratden(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratdens()
1431 return snd_interval_step(hw_param_interval(params, rule->var), step); in snd_pcm_hw_rule_step()
1462 return snd_interval_list(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_pow2()
1490 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_pcm_hw_rule_noresample_func()
1522 snd_interval_any(hw_param_interval(params, var)); in _snd_pcm_hw_param_any()
1582 snd_interval_none(hw_param_interval(params, var)); in _snd_pcm_hw_param_setempty()
1598 changed = snd_interval_refine_first(hw_param_interval(params, var)); in _snd_pcm_hw_param_first()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/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()
Dhaswell.c38 struct snd_interval *rate = hw_param_interval(params, in haswell_ssp0_fixup()
40 struct snd_interval *channels = hw_param_interval(params, in haswell_ssp0_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()
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()
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()
Dbroadwell.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()
Dcht_bsw_nau8824.c138 struct snd_interval *rate = hw_param_interval(params, in cht_codec_fixup()
140 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()
Dglk_rt5682_max98357a.c119 struct snd_interval *rate = hw_param_interval(params, in geminilake_ssp_fixup()
121 struct snd_interval *chan = hw_param_interval(params, in geminilake_ssp_fixup()
265 struct snd_interval *chan = hw_param_interval(params, in geminilake_dmic_fixup()
Dkbl_da7219_max98357a.c142 struct snd_interval *rate = hw_param_interval(params, in kabylake_ssp_fixup()
144 struct snd_interval *chan = hw_param_interval(params, in kabylake_ssp_fixup()
308 struct snd_interval *chan = hw_param_interval(params, in kabylake_dmic_fixup()
Dskl_nau88l25_max98357a.c140 struct snd_interval *rate = hw_param_interval(params, in skylake_ssp_fixup()
142 struct snd_interval *chan = hw_param_interval(params, in skylake_ssp_fixup()
318 struct snd_interval *chan = hw_param_interval(params, in skylake_dmic_fixup()
Dbdw-rt5677.c139 struct snd_interval *rate = hw_param_interval(params, in broadwell_ssp0_fixup()
141 struct snd_interval *chan = hw_param_interval(params, in broadwell_ssp0_fixup()
Dskl_nau88l25_ssm4567.c318 struct snd_interval *rate = hw_param_interval(params, in skylake_ssp_fixup()
320 struct snd_interval *chan = hw_param_interval(params, in skylake_ssp_fixup()
337 struct snd_interval *chan = hw_param_interval(params, in skylake_dmic_fixup()
Dcht_bsw_rt5672.c242 struct snd_interval *rate = hw_param_interval(params, in cht_codec_fixup()
244 struct snd_interval *channels = hw_param_interval(params, in cht_codec_fixup()
/Linux-v5.10/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-v5.10/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-v5.10/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()
/Linux-v5.10/sound/firewire/digi00x/
Ddigi00x-pcm.c14 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
38 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
/Linux-v5.10/sound/xen/
Dxen_snd_front_alsa.c264 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in alsa_hw_rule()
266 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in alsa_hw_rule()
268 hw_param_interval(params, in alsa_hw_rule()
271 hw_param_interval(params, in alsa_hw_rule()
/Linux-v5.10/sound/firewire/motu/
Dmotu-pcm.c19 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in motu_rate_constraint()
48 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in motu_channels_constraint()
/Linux-v5.10/sound/firewire/bebob/
Dbebob_pcm.c15 hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate()
43 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()

123