Home
last modified time | relevance | path

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

/sound/core/
Dpcm_lib.c1148 int var, in snd_pcm_hw_rule_add() argument
1176 c->var = var; in snd_pcm_hw_rule_add()
1206 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask() argument
1210 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask()
1228 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64() argument
1232 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64()
1252 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) in snd_pcm_hw_constraint_integer() argument
1255 return snd_interval_setinteger(constrs_interval(constrs, var)); in snd_pcm_hw_constraint_integer()
1272 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_minmax() argument
1281 return snd_interval_refine(constrs_interval(constrs, var), &t); in snd_pcm_hw_constraint_minmax()
[all …]
Dpcm_drm_eld.c31 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates()
59 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels()
Dpcm_native.c372 if (r->var >= 0) { in snd_pcm_hw_refine()
373 pr_cont("%s = ", snd_pcm_hw_param_names[r->var]); in snd_pcm_hw_refine()
374 if (hw_is_mask(r->var)) { in snd_pcm_hw_refine()
375 m = hw_param_mask(params, r->var); in snd_pcm_hw_refine()
378 i = hw_param_interval(params, r->var); in snd_pcm_hw_refine()
390 if (r->var >= 0) { in snd_pcm_hw_refine()
392 if (hw_is_mask(r->var)) in snd_pcm_hw_refine()
406 if (changed && r->var >= 0) { in snd_pcm_hw_refine()
407 params->cmask |= (1 << r->var); in snd_pcm_hw_refine()
408 vstamps[r->var] = stamp; in snd_pcm_hw_refine()
[all …]
/sound/core/oss/
Dpcm_oss.c151 snd_pcm_hw_param_t var, int *dir) in snd_pcm_hw_param_value_min() argument
153 if (hw_is_mask(var)) { in snd_pcm_hw_param_value_min()
156 return snd_mask_min(hw_param_mask_c(params, var)); in snd_pcm_hw_param_value_min()
158 if (hw_is_interval(var)) { in snd_pcm_hw_param_value_min()
159 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_min()
177 snd_pcm_hw_param_t var, int *dir) in snd_pcm_hw_param_value_max() argument
179 if (hw_is_mask(var)) { in snd_pcm_hw_param_value_max()
182 return snd_mask_max(hw_param_mask_c(params, var)); in snd_pcm_hw_param_value_max()
184 if (hw_is_interval(var)) { in snd_pcm_hw_param_value_max()
185 const struct snd_interval *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_value_max()
[all …]
/sound/pci/au88x0/
Dau88x0_a3d.c489 int i, var, var2; in a3dsrc_ZeroStateA3D() local
500 var = a->slice; in a3dsrc_ZeroStateA3D()
508 a->slice = var; in a3dsrc_ZeroStateA3D()
/sound/soc/atmel/
Datmel_ssc_dai.c212 struct snd_interval *i = hw_param_interval(params, rule->var); in atmel_ssc_hw_rule_rate()
256 if (ret >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in atmel_ssc_hw_rule_rate()
/sound/drivers/
Daloop.c627 return snd_mask_refine(hw_param_mask(params, rule->var), &m); in rule_format()
643 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_rate()
659 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_channels()
/sound/arm/
Daaci.c398 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
/sound/ppc/
Dpmac.c568 return snd_interval_list(hw_param_interval(params, rule->var),
/sound/soc/codecs/
Dpcm512x.c521 return snd_interval_ranges(hw_param_interval(params, rule->var), in pcm512x_hw_rule_rate()
/sound/pci/emu10k1/
Demufx.c1294 #define A_ADD_VOLUME_IN(var,vol,input) \ in _snd_emu10k1_audigy_init_efx() argument
1295 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/davinci/
Ddavinci-mcasp.c1197 return snd_interval_refine(hw_param_interval(params, rule->var), in davinci_mcasp_hw_rule_rate()