Lines Matching refs:constrs
170 struct snd_pcm_hw_constraints *constrs = &substream->runtime->hw_constraints;
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;
1775 snd_mask_any(constrs_mask(constrs, k));
1779 snd_interval_any(constrs_interval(constrs, k));
1782 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_CHANNELS));
1783 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_BUFFER_SIZE));
1784 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_BUFFER_BYTES));
1785 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_SAMPLE_BITS));
1786 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_FRAME_BITS));