Searched refs:constrs (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/
H A Dpcm_lib.c1060 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
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
1111 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
1131 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
1150 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
1168 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
[all...]
H A Dpcm_native.c170 struct snd_pcm_hw_constraints *constrs = &substream->runtime->hw_constraints; local
171 unsigned int rstamps[constrs->rules_num];
195 changed = snd_mask_refine(m, constrs_mask(constrs, k));
221 changed = snd_interval_refine(i, constrs_interval(constrs, k));
236 for (k = 0; k < constrs->rules_num; k++)
242 for (k = 0; k < constrs->rules_num; k++) {
243 struct snd_pcm_hw_rule *r = &constrs->rules[k];
1771 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
1775 snd_mask_any(constrs_mask(constrs, k));
1779 snd_interval_any(constrs_interval(constrs,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/sound/
H A Dpcm.h232 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, argument
235 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK];
238 static inline struct snd_interval *constrs_interval(struct snd_pcm_hw_constraints *constrs, argument
241 return &constrs->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL];

Completed in 67 milliseconds