• Home
  • Raw
  • Download

Lines Matching refs:rule

1291 				struct snd_pcm_hw_rule *rule)  in snd_pcm_hw_rule_list()  argument
1293 struct snd_pcm_hw_constraint_list *list = rule->private; in snd_pcm_hw_rule_list()
1294 …return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask… in snd_pcm_hw_rule_list()
1322 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratnums() argument
1324 struct snd_pcm_hw_constraint_ratnums *r = rule->private; in snd_pcm_hw_rule_ratnums()
1327 err = snd_interval_ratnum(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratnums()
1329 if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in snd_pcm_hw_rule_ratnums()
1358 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratdens() argument
1360 struct snd_pcm_hw_constraint_ratdens *r = rule->private; in snd_pcm_hw_rule_ratdens()
1362 int err = snd_interval_ratden(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratdens()
1364 if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in snd_pcm_hw_rule_ratdens()
1393 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_msbits() argument
1395 unsigned int l = (unsigned long) rule->private; in snd_pcm_hw_rule_msbits()
1428 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_step() argument
1430 unsigned long step = (unsigned long) rule->private; in snd_pcm_hw_rule_step()
1431 return snd_interval_step(hw_param_interval(params, rule->var), step); in snd_pcm_hw_rule_step()
1455 static int snd_pcm_hw_rule_pow2(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_pow2() argument
1463 return snd_interval_list(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_pow2()
1487 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_noresample_func() argument
1489 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func()