/openbmc/linux/sound/core/ |
H A D | pcm_drm_eld.c | 102 c = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in eld_limit_rates() 134 r = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in eld_limit_channels()
|
H A D | pcm_native.c | 485 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS); in fixup_unreferenced_params() 491 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in fixup_unreferenced_params() 500 i = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in fixup_unreferenced_params() 2370 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul() 2371 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul() 2379 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div() 2380 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div() 2388 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk() 2389 hw_param_interval_c(params, rule->deps[1]), in snd_pcm_hw_rule_muldivk() 2398 snd_interval_mulkdiv(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mulkdiv() [all …]
|
H A D | pcm_lib.c | 1414 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS); in snd_pcm_hw_rule_msbits() 1589 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value()
|
/openbmc/linux/include/sound/ |
H A D | pcm.h | 964 static inline const struct snd_interval *hw_param_interval_c(const struct snd_pcm_hw_params *params, in hw_param_interval_c() function 978 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_CHANNELS)->min; in params_channels() 989 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_RATE)->min; in params_rate() 1000 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_SIZE)->min; in params_period_size() 1011 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIODS)->min; in params_periods() 1022 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_SIZE)->min; in params_buffer_size() 1033 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_BYTES)->min; in params_buffer_bytes()
|
H A D | pcm_params.h | 337 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_BYTES)->min; in params_period_bytes()
|
/openbmc/linux/sound/firewire/digi00x/ |
H A D | digi00x-pcm.c | 16 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()
|
/openbmc/linux/sound/firewire/fireworks/ |
H A D | fireworks_pcm.c | 70 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()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-pcm.c | 17 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()
|
/openbmc/linux/sound/firewire/fireface/ |
H A D | ff-pcm.c | 17 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()
|
/openbmc/linux/sound/firewire/bebob/ |
H A D | bebob_pcm.c | 17 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()
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 17 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()
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-pcm.c | 19 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()
|
/openbmc/linux/sound/core/oss/ |
H A D | pcm_oss.c | 134 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()
|
/openbmc/linux/sound/firewire/ |
H A D | amdtp-stream.c | 165 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE); in apply_constraint_to_size()
|