Searched refs:constrs (Results 1 – 2 of 2) sorted by relevance
/sound/core/ |
D | pcm_lib.c | 1114 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; in snd_pcm_hw_rule_add() local 1119 if (constrs->rules_num >= constrs->rules_all) { in snd_pcm_hw_rule_add() 1121 unsigned int new_rules = constrs->rules_all + 16; in snd_pcm_hw_rule_add() 1122 new = krealloc(constrs->rules, new_rules * sizeof(*c), in snd_pcm_hw_rule_add() 1128 constrs->rules = new; in snd_pcm_hw_rule_add() 1129 constrs->rules_all = new_rules; in snd_pcm_hw_rule_add() 1131 c = &constrs->rules[constrs->rules_num]; in snd_pcm_hw_rule_add() 1147 constrs->rules_num++; in snd_pcm_hw_rule_add() 1166 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; in snd_pcm_hw_constraint_mask() local 1167 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask() [all …]
|
D | pcm_native.c | 245 struct snd_pcm_hw_constraints *constrs = in constrain_mask_params() local 264 changed = snd_mask_refine(m, constrs_mask(constrs, k)); in constrain_mask_params() 281 struct snd_pcm_hw_constraints *constrs = in constrain_interval_params() local 300 changed = snd_interval_refine(i, constrs_interval(constrs, k)); in constrain_interval_params() 317 struct snd_pcm_hw_constraints *constrs = in constrain_params_by_rules() local 336 rstamps = kcalloc(constrs->rules_num, sizeof(unsigned int), GFP_KERNEL); in constrain_params_by_rules() 357 for (k = 0; k < constrs->rules_num; k++) { in constrain_params_by_rules() 358 r = &constrs->rules[k]; in constrain_params_by_rules() 2282 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; in snd_pcm_hw_constraints_init() local 2286 snd_mask_any(constrs_mask(constrs, k)); in snd_pcm_hw_constraints_init() [all …]
|