Home
last modified time | relevance | path

Searched refs:hw_param_interval_c (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/sound/core/
Dpcm_drm_eld.c35 c = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in eld_limit_rates()
67 r = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in eld_limit_channels()
Dpcm_native.c467 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS); in fixup_unreferenced_params()
473 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in fixup_unreferenced_params()
482 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in fixup_unreferenced_params()
2351 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul()
2352 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul()
2360 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div()
2361 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div()
2369 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk()
2370 hw_param_interval_c(params, rule->deps[1]), in snd_pcm_hw_rule_muldivk()
2379 snd_interval_mulkdiv(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mulkdiv()
[all …]
Dpcm_lib.c1388 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS); in snd_pcm_hw_rule_msbits()
1563 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value()
/kernel/linux/linux-5.10/include/sound/
Dpcm.h910 static inline const struct snd_interval *hw_param_interval_c(const struct snd_pcm_hw_params *params, in hw_param_interval_c() function
922 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_CHANNELS)->min; in params_channels()
931 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_RATE)->min; in params_rate()
940 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_SIZE)->min; in params_period_size()
949 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIODS)->min; in params_periods()
958 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_SIZE)->min; in params_buffer_size()
967 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_BYTES)->min; in params_buffer_bytes()
Dpcm_params.h337 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_BYTES)->min; in params_period_bytes()
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Ddigi00x-pcm.c16 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
40 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
/kernel/linux/linux-5.10/sound/firewire/fireworks/
Dfireworks_pcm.c70 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
95 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
/kernel/linux/linux-5.10/sound/firewire/bebob/
Dbebob_pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
45 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
/kernel/linux/linux-5.10/sound/firewire/fireface/
Dff-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
48 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
/kernel/linux/linux-5.10/sound/firewire/motu/
Dmotu-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in motu_rate_constraint()
46 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in motu_channels_constraint()
/kernel/linux/linux-5.10/sound/firewire/oxfw/
Doxfw-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
48 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_channels()
/kernel/linux/linux-5.10/sound/firewire/dice/
Ddice-pcm.c19 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in dice_rate_constraint()
57 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in dice_channels_constraint()
/kernel/linux/linux-5.10/sound/core/oss/
Dpcm_oss.c134 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_min()
160 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_max()
799 it = hw_param_interval_c(save, SNDRV_PCM_HW_PARAM_RATE); in choose_rate()
/kernel/linux/linux-5.10/sound/firewire/
Damdtp-stream.c156 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in apply_constraint_to_size()