Home
last modified time | relevance | path

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

/sound/core/
Dpcm_lib.c1120 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 …]
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.c429 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 …]
Dpcm_local.h24 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.c176 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/
Dlochnagar-sc.c65 return snd_interval_refine(hw_param_interval(params, rule->var), in lochnagar_sc_hw_rule_rate()
Dcs4234.c460 return snd_interval_ranges(hw_param_interval(params, rule->var), in cs4234_dai_rule_rate()
Dpcm512x.c577 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.c940 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/
Dimx-card.c403 return snd_interval_refine(hw_param_interval(p, r->var), &t); in ak5558_hw_rule_rate()
/sound/arm/
Daaci.c395 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
/sound/soc/ti/
Dj721e-evm.c249 return snd_interval_refine(hw_param_interval(params, rule->var), t); in j721e_rule_rate()
Ddavinci-mcasp.c1423 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()
/sound/pci/emu10k1/
Demufx.c1332 #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/
Dpmac.c536 return snd_interval_list(hw_param_interval(params, rule->var),
/sound/firewire/
Damdtp-stream.c160 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size()