/sound/core/ |
D | pcm_lib.c | 990 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_list() argument 992 struct snd_pcm_hw_constraint_list *list = rule->private; in snd_pcm_hw_rule_list() 993 …return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask… in snd_pcm_hw_rule_list() 1019 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratnums() argument 1021 struct snd_pcm_hw_constraint_ratnums *r = rule->private; in snd_pcm_hw_rule_ratnums() 1024 err = snd_interval_ratnum(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratnums() 1026 if (err >= 0 && den && rule->var == SNDRV_PCM_HW_PARAM_RATE) { in snd_pcm_hw_rule_ratnums() 1053 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_ratdens() argument 1055 struct snd_pcm_hw_constraint_ratdens *r = rule->private; in snd_pcm_hw_rule_ratdens() 1057 int err = snd_interval_ratden(hw_param_interval(params, rule->var), in snd_pcm_hw_rule_ratdens() [all …]
|
D | pcm_native.c | 1662 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_mul() argument 1665 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul() 1666 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul() 1667 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_mul() 1671 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_div() argument 1674 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div() 1675 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div() 1676 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_div() 1680 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_muldivk() argument 1683 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk() [all …]
|
/sound/arm/ |
D | aaci.c | 374 aaci_rule_rate_by_channels(struct snd_pcm_hw_params *p, struct snd_pcm_hw_rule *rule) in aaci_rule_rate_by_channels() argument 376 struct aaci *aaci = rule->private; in aaci_rule_rate_by_channels() 389 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_rate_by_channels() 581 aaci_rule_channels(struct snd_pcm_hw_params *p, struct snd_pcm_hw_rule *rule) in aaci_rule_channels() argument 583 struct aaci *aaci = rule->private; in aaci_rule_channels() 596 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
|
/sound/ppc/ |
D | pmac.c | 552 struct snd_pcm_hw_rule *rule) 554 struct snd_pmac *chip = rule->private; 555 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]); 566 return snd_interval_list(hw_param_interval(params, rule->var), 571 struct snd_pcm_hw_rule *rule) 573 struct snd_pmac *chip = rule->private; 574 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]);
|
/sound/isa/sb/ |
D | sb8_main.c | 76 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_rate_channels() argument 93 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_channels_rate() argument
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 75 struct snd_pcm_hw_rule *rule) in hw_rule_capture_format_by_channels() argument 103 struct snd_pcm_hw_rule *rule) in hw_rule_capture_channels_by_format() argument 137 struct snd_pcm_hw_rule *rule) in hw_rule_playback_format_by_channels() argument 172 struct snd_pcm_hw_rule *rule) in hw_rule_playback_channels_by_format() argument 210 struct snd_pcm_hw_rule *rule) in hw_rule_sample_rate() argument 214 struct echoaudio *chip = rule->private; in hw_rule_sample_rate()
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 685 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_rate() argument 700 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_channels() argument
|
/sound/pci/rme9652/ |
D | hdsp.c | 4125 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels() argument 4127 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels() 4144 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels() argument 4147 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels() 4162 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels_rate() argument 4164 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels_rate() 4193 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels_rate() argument 4195 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels_rate() 4224 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_rate_out_channels() argument 4226 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_rate_out_channels() [all …]
|
D | rme9652.c | 2229 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels() argument 2231 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels() 2238 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels_rate() argument 2240 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels_rate() 2262 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_rate_channels() argument 2264 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_rate_channels()
|
D | hdspm.c | 3908 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_channels_rate() argument 3910 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_channels_rate() 3935 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_rate_channels() argument 3937 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_rate_channels() 3963 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_channels() argument 3966 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_channels()
|
/sound/usb/ |
D | usbaudio.c | 1613 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 1615 struct snd_usb_substream *subs = rule->private; in hw_rule_rate() 1667 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 1669 struct snd_usb_substream *subs = rule->private; in hw_rule_channels() 1720 struct snd_pcm_hw_rule *rule) in hw_rule_format() argument 1722 struct snd_usb_substream *subs = rule->private; in hw_rule_format()
|
/sound/sparc/ |
D | dbri.c | 1996 struct snd_pcm_hw_rule *rule) in snd_hw_rule_format() argument 2012 struct snd_pcm_hw_rule *rule) in snd_hw_rule_channels() argument
|
/sound/pci/ |
D | sonicvibes.c | 522 struct snd_pcm_hw_rule *rule) in snd_sonicvibes_hw_constraint_dac_rate() argument
|