Home
last modified time | relevance | path

Searched refs:var (Results 1 – 16 of 16) sorted by relevance

/sound/core/
Dpcm_lib.c1109 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 …]
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_native.c377 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 …]
Dpcm_local.h27 snd_pcm_hw_param_t var, u_int32_t mask);
/sound/core/oss/
Dpcm_oss.c126 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/
Dsti_uniperif.c175 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/
Dlochnagar-sc.c65 return snd_interval_refine(hw_param_interval(params, rule->var), in lochnagar_sc_hw_rule_rate()
Dpcm512x.c575 return snd_interval_ranges(hw_param_interval(params, rule->var), in pcm512x_hw_rule_rate()
/sound/pci/au88x0/
Dau88x0_a3d.c477 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/
Datmel_ssc_dai.c196 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/
Daloop.c615 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/
Daaci.c395 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
/sound/firewire/
Damdtp-stream.c155 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size()
/sound/ppc/
Dpmac.c554 return snd_interval_list(hw_param_interval(params, rule->var),
/sound/pci/emu10k1/
Demufx.c1305 #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/
Ddavinci-mcasp.c1370 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()