Searched refs:constrs (Results 1 - 3 of 3) sorted by relevance
/linux-master/sound/core/ |
H A D | pcm_lib.c | 1150 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local 1155 if (constrs->rules_num >= constrs->rules_all) { 1157 unsigned int new_rules = constrs->rules_all + 16; 1158 new = krealloc_array(constrs->rules, new_rules, 1164 constrs->rules = new; 1165 constrs->rules_all = new_rules; 1167 c = &constrs->rules[constrs->rules_num]; 1183 constrs 1202 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local 1224 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local 1247 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local 1267 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local [all...] |
H A D | pcm_native.c | 286 struct snd_pcm_hw_constraints *constrs = local 305 changed = snd_mask_refine(m, constrs_mask(constrs, k)); 322 struct snd_pcm_hw_constraints *constrs = local 341 changed = snd_interval_refine(i, constrs_interval(constrs, k)); 358 struct snd_pcm_hw_constraints *constrs = local 377 rstamps = kcalloc(constrs->rules_num, sizeof(unsigned int), GFP_KERNEL); 398 for (k = 0; k < constrs->rules_num; k++) { 399 r = &constrs->rules[k]; 2487 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local 2491 snd_mask_any(constrs_mask(constrs, [all...] |
/linux-master/include/sound/ |
H A D | pcm.h | 256 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, argument 259 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; 262 static inline struct snd_interval *constrs_interval(struct snd_pcm_hw_constraints *constrs, argument 265 return &constrs->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL];
|
Completed in 142 milliseconds