Lines Matching refs:constrs
284 struct snd_pcm_hw_constraints *constrs = &substream->runtime->hw_constraints; in snd_pcm_hw_refine() local
285 unsigned int rstamps[constrs->rules_num]; in snd_pcm_hw_refine()
309 changed = snd_mask_refine(m, constrs_mask(constrs, k)); in snd_pcm_hw_refine()
335 changed = snd_interval_refine(i, constrs_interval(constrs, k)); in snd_pcm_hw_refine()
350 for (k = 0; k < constrs->rules_num; k++) in snd_pcm_hw_refine()
356 for (k = 0; k < constrs->rules_num; k++) { in snd_pcm_hw_refine()
357 struct snd_pcm_hw_rule *r = &constrs->rules[k]; in snd_pcm_hw_refine()
2042 struct snd_pcm_hw_constraints *constrs = &runtime->hw_constraints; in snd_pcm_hw_constraints_init() local
2046 snd_mask_any(constrs_mask(constrs, k)); in snd_pcm_hw_constraints_init()
2050 snd_interval_any(constrs_interval(constrs, k)); in snd_pcm_hw_constraints_init()
2053 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_CHANNELS)); in snd_pcm_hw_constraints_init()
2054 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_BUFFER_SIZE)); in snd_pcm_hw_constraints_init()
2055 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_BUFFER_BYTES)); in snd_pcm_hw_constraints_init()
2056 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)); in snd_pcm_hw_constraints_init()
2057 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_FRAME_BITS)); in snd_pcm_hw_constraints_init()