/sound/core/ |
D | pcm_lib.c | 1109 int var, in snd_pcm_hw_rule_add() argument 1133 c->var = var; in snd_pcm_hw_rule_add() 1162 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask() argument 1166 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask() 1184 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64() argument 1188 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64() 1208 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) in snd_pcm_hw_constraint_integer() argument 1211 return snd_interval_setinteger(constrs_interval(constrs, var)); in snd_pcm_hw_constraint_integer() 1227 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_minmax() argument 1236 return snd_interval_refine(constrs_interval(constrs, var), &t); in snd_pcm_hw_constraint_minmax() [all …]
|
D | pcm_drm_eld.c | 28 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()
|
D | pcm_native.c | 377 if (hw_is_mask(r->var)) in constrain_params_by_rules() 378 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules() 381 if (hw_is_interval(r->var)) in constrain_params_by_rules() 382 old_interval = *hw_param_interval(params, r->var); in constrain_params_by_rules() 396 if (changed && r->var >= 0) { in constrain_params_by_rules() 397 if (hw_is_mask(r->var)) { in constrain_params_by_rules() 398 trace_hw_mask_param(substream, r->var, in constrain_params_by_rules() 400 hw_param_mask(params, r->var)); in constrain_params_by_rules() 402 if (hw_is_interval(r->var)) { in constrain_params_by_rules() 403 trace_hw_interval_param(substream, r->var, in constrain_params_by_rules() [all …]
|
D | pcm_local.h | 27 snd_pcm_hw_param_t var, u_int32_t mask);
|
/sound/core/oss/ |
D | pcm_oss.c | 126 snd_pcm_hw_param_t var, int *dir) in snd_pcm_hw_param_value_min() argument 128 if (hw_is_mask(var)) { in snd_pcm_hw_param_value_min() 131 return snd_mask_min(hw_param_mask_c(params, var)); in snd_pcm_hw_param_value_min() 133 if (hw_is_interval(var)) { in snd_pcm_hw_param_value_min() 134 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_min() 152 snd_pcm_hw_param_t var, int *dir) in snd_pcm_hw_param_value_max() argument 154 if (hw_is_mask(var)) { in snd_pcm_hw_param_value_max() 157 return snd_mask_max(hw_param_mask_c(params, var)); in snd_pcm_hw_param_value_max() 159 if (hw_is_interval(var)) { in snd_pcm_hw_param_value_max() 160 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_max() [all …]
|
/sound/soc/sti/ |
D | sti_uniperif.c | 175 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in sti_uniperiph_fix_tdm_chan() 182 struct snd_mask *maskp = hw_param_mask(params, rule->var); in sti_uniperiph_fix_tdm_format()
|
/sound/soc/codecs/ |
D | lochnagar-sc.c | 65 return snd_interval_refine(hw_param_interval(params, rule->var), in lochnagar_sc_hw_rule_rate()
|
D | pcm512x.c | 575 return snd_interval_ranges(hw_param_interval(params, rule->var), in pcm512x_hw_rule_rate()
|
/sound/pci/au88x0/ |
D | au88x0_a3d.c | 477 int i, var, var2; in a3dsrc_ZeroStateA3D() local 488 var = a->slice; in a3dsrc_ZeroStateA3D() 496 a->slice = var; in a3dsrc_ZeroStateA3D()
|
/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 196 struct snd_interval *i = hw_param_interval(params, rule->var); in atmel_ssc_hw_rule_rate() 240 if (ret >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in atmel_ssc_hw_rule_rate()
|
/sound/drivers/ |
D | aloop.c | 615 return snd_mask_refine(hw_param_mask(params, rule->var), &m); in rule_format() 631 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_rate() 647 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_channels()
|
/sound/arm/ |
D | aaci.c | 395 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
|
/sound/firewire/ |
D | amdtp-stream.c | 155 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size()
|
/sound/ppc/ |
D | pmac.c | 554 return snd_interval_list(hw_param_interval(params, rule->var),
|
/sound/pci/emu10k1/ |
D | emufx.c | 1305 #define A_ADD_VOLUME_IN(var,vol,input) \ in _snd_emu10k1_audigy_init_efx() argument 1306 A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input)) in _snd_emu10k1_audigy_init_efx()
|
/sound/soc/ti/ |
D | davinci-mcasp.c | 1370 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()
|