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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dpcm.h221 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, argument
224 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK];
227 static inline struct snd_interval *constrs_interval(struct snd_pcm_hw_constraints *constrs, argument
230 return &constrs->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm_lib.c867 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
872 if (constrs->rules_num >= constrs->rules_all) {
874 unsigned int new_rules = constrs->rules_all + 16;
878 if (constrs->rules) {
879 memcpy(new, constrs->rules,
880 constrs->rules_num * sizeof(*c));
881 kfree(constrs->rules);
883 constrs->rules = new;
884 constrs
917 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
937 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
956 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
974 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
[all...]
H A Dpcm_native.c167 struct snd_pcm_hw_constraints *constrs = &substream->runtime->hw_constraints; local
168 unsigned int rstamps[constrs->rules_num];
192 changed = snd_mask_refine(m, constrs_mask(constrs, k));
218 changed = snd_interval_refine(i, constrs_interval(constrs, k));
233 for (k = 0; k < constrs->rules_num; k++)
239 for (k = 0; k < constrs->rules_num; k++) {
240 struct snd_pcm_hw_rule *r = &constrs->rules[k];
1812 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; local
1816 snd_mask_any(constrs_mask(constrs, k));
1820 snd_interval_any(constrs_interval(constrs,
[all...]

Completed in 168 milliseconds