/sound/core/ |
D | pcm_lib.c | 1120 int var, in snd_pcm_hw_rule_add() argument 1144 c->var = var; in snd_pcm_hw_rule_add() 1173 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask() argument 1177 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask() 1195 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64() argument 1199 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64() 1219 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) in snd_pcm_hw_constraint_integer() argument 1222 return snd_interval_setinteger(constrs_interval(constrs, var)); in snd_pcm_hw_constraint_integer() 1238 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_minmax() argument 1247 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 | 429 if (hw_is_mask(r->var)) in constrain_params_by_rules() 430 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules() 433 if (hw_is_interval(r->var)) in constrain_params_by_rules() 434 old_interval = *hw_param_interval(params, r->var); in constrain_params_by_rules() 448 if (changed && r->var >= 0) { in constrain_params_by_rules() 449 if (hw_is_mask(r->var)) { in constrain_params_by_rules() 450 trace_hw_mask_param(substream, r->var, in constrain_params_by_rules() 452 hw_param_mask(params, r->var)); in constrain_params_by_rules() 454 if (hw_is_interval(r->var)) { in constrain_params_by_rules() 455 trace_hw_interval_param(substream, r->var, in constrain_params_by_rules() [all …]
|
D | pcm_local.h | 24 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 | 176 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in sti_uniperiph_fix_tdm_chan() 183 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 | cs4234.c | 460 return snd_interval_ranges(hw_param_interval(params, rule->var), in cs4234_dai_rule_rate()
|
D | pcm512x.c | 577 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 | 940 return snd_mask_refine(hw_param_mask(params, rule->var), &m); in rule_format() 956 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_rate() 972 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_channels() 989 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_period_bytes()
|
/sound/soc/fsl/ |
D | imx-card.c | 403 return snd_interval_refine(hw_param_interval(p, r->var), &t); in ak5558_hw_rule_rate()
|
/sound/arm/ |
D | aaci.c | 395 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
|
/sound/soc/ti/ |
D | j721e-evm.c | 249 return snd_interval_refine(hw_param_interval(params, rule->var), t); in j721e_rule_rate()
|
D | davinci-mcasp.c | 1423 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()
|
/sound/pci/emu10k1/ |
D | emufx.c | 1332 #define A_ADD_VOLUME_IN(var,vol,input) \ in _snd_emu10k1_audigy_init_efx() argument 1333 A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input)) in _snd_emu10k1_audigy_init_efx()
|
/sound/ppc/ |
D | pmac.c | 536 return snd_interval_list(hw_param_interval(params, rule->var),
|
/sound/firewire/ |
D | amdtp-stream.c | 160 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size()
|