Lines Matching refs:constrs
1060 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
1065 if (constrs->rules_num >= constrs->rules_all) {
1067 unsigned int new_rules = constrs->rules_all + 16;
1071 if (constrs->rules) {
1072 memcpy(new, constrs->rules,
1073 constrs->rules_num * sizeof(*c));
1074 kfree(constrs->rules);
1076 constrs->rules = new;
1077 constrs->rules_all = new_rules;
1079 c = &constrs->rules[constrs->rules_num];
1093 constrs->rules_num++;
1111 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
1112 struct snd_mask *maskp = constrs_mask(constrs, var);
1131 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
1132 struct snd_mask *maskp = constrs_mask(constrs, var);
1150 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
1151 return snd_interval_setinteger(constrs_interval(constrs, var));
1168 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints;
1174 return snd_interval_refine(constrs_interval(constrs, var), &t);