/sound/firewire/fireworks/ |
D | fireworks_pcm.c | 65 hw_rule_rate(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 67 unsigned int *pcm_channels = rule->private; in hw_rule_rate() 90 hw_rule_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 92 unsigned int *pcm_channels = rule->private; in hw_rule_channels()
|
/sound/firewire/bebob/ |
D | bebob_pcm.c | 12 hw_rule_rate(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 14 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_rate() 40 hw_rule_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 42 struct snd_bebob_stream_formation *formations = rule->private; in hw_rule_channels()
|
/sound/core/ |
D | pcm_lib.c | 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() [all …]
|
D | pcm_native.c | 1870 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_mul() argument 1873 snd_interval_mul(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_mul() 1874 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_mul() 1875 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_mul() 1879 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_div() argument 1882 snd_interval_div(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_div() 1883 hw_param_interval_c(params, rule->deps[1]), &t); in snd_pcm_hw_rule_div() 1884 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in snd_pcm_hw_rule_div() 1888 struct snd_pcm_hw_rule *rule) in snd_pcm_hw_rule_muldivk() argument 1891 snd_interval_muldivk(hw_param_interval_c(params, rule->deps[0]), in snd_pcm_hw_rule_muldivk() [all …]
|
/sound/drivers/ |
D | aloop.c | 606 struct snd_pcm_hw_rule *rule) in rule_format() argument 608 struct loopback_pcm *dpcm = rule->private; in rule_format() 617 return snd_mask_refine(hw_param_mask(params, rule->var), &m); in rule_format() 621 struct snd_pcm_hw_rule *rule) in rule_rate() argument 623 struct loopback_pcm *dpcm = rule->private; in rule_rate() 633 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_rate() 637 struct snd_pcm_hw_rule *rule) in rule_channels() argument 639 struct loopback_pcm *dpcm = rule->private; in rule_channels() 649 return snd_interval_refine(hw_param_interval(params, rule->var), &t); in rule_channels()
|
/sound/ppc/ |
D | pmac.c | 554 struct snd_pcm_hw_rule *rule) 556 struct snd_pmac *chip = rule->private; 557 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]); 568 return snd_interval_list(hw_param_interval(params, rule->var), 573 struct snd_pcm_hw_rule *rule) 575 struct snd_pmac *chip = rule->private; 576 struct pmac_stream *rec = snd_pmac_get_stream(chip, rule->deps[0]);
|
/sound/usb/ |
D | pcm.c | 884 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 886 struct snd_usb_substream *subs = rule->private; in hw_rule_rate() 936 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 938 struct snd_usb_substream *subs = rule->private; in hw_rule_channels() 987 struct snd_pcm_hw_rule *rule) in hw_rule_format() argument 989 struct snd_usb_substream *subs = rule->private; in hw_rule_format() 1018 struct snd_pcm_hw_rule *rule) in hw_rule_period_time() argument 1020 struct snd_usb_substream *subs = rule->private; in hw_rule_period_time()
|
/sound/arm/ |
D | aaci.c | 384 struct snd_pcm_hw_rule *rule) in aaci_rule_channels() argument 387 struct aaci *aaci = rule->private; in aaci_rule_channels() 398 return snd_interval_list(hw_param_interval(p, rule->var), in aaci_rule_channels()
|
/sound/isa/sb/ |
D | sb8_main.c | 77 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_rate_channels() argument 94 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_channels_rate() argument
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 699 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_rate() argument 714 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_channels() argument
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 117 struct snd_pcm_hw_rule *rule) in hw_rule_capture_format_by_channels() argument 145 struct snd_pcm_hw_rule *rule) in hw_rule_capture_channels_by_format() argument 179 struct snd_pcm_hw_rule *rule) in hw_rule_playback_format_by_channels() argument 214 struct snd_pcm_hw_rule *rule) in hw_rule_playback_channels_by_format() argument 252 struct snd_pcm_hw_rule *rule) in hw_rule_sample_rate() argument 256 struct echoaudio *chip = rule->private; in hw_rule_sample_rate()
|
/sound/firewire/ |
D | dice.c | 318 struct snd_pcm_hw_rule *rule) in dice_rate_constraint() argument 320 struct dice *dice = rule->private; in dice_rate_constraint() 345 struct snd_pcm_hw_rule *rule) in dice_channels_constraint() argument 347 struct dice *dice = rule->private; in dice_channels_constraint()
|
D | speakers.c | 66 struct snd_pcm_hw_rule *rule) in firewave_rate_constraint() argument 81 struct snd_pcm_hw_rule *rule) in firewave_channels_constraint() argument
|
/sound/soc/omap/ |
D | omap-mcbsp.c | 93 struct snd_pcm_hw_rule *rule) in omap_mcbsp_hwrule_min_buffersize() argument 99 struct omap_mcbsp *mcbsp = rule->private; in omap_mcbsp_hwrule_min_buffersize()
|
D | Kconfig | 53 a simple rule like this one should do the trick (it does for me):
|
/sound/pci/rme9652/ |
D | rme9652.c | 2228 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels() argument 2230 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels() 2237 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_channels_rate() argument 2239 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_channels_rate() 2261 struct snd_pcm_hw_rule *rule) in snd_rme9652_hw_rule_rate_channels() argument 2263 struct snd_rme9652 *rme9652 = rule->private; in snd_rme9652_hw_rule_rate_channels()
|
D | hdsp.c | 4323 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels() argument 4325 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels() 4342 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels() argument 4345 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels() 4360 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_in_channels_rate() argument 4362 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_in_channels_rate() 4391 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_out_channels_rate() argument 4393 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_out_channels_rate() 4422 struct snd_pcm_hw_rule *rule) in snd_hdsp_hw_rule_rate_out_channels() argument 4424 struct hdsp *hdsp = rule->private; in snd_hdsp_hw_rule_rate_out_channels() [all …]
|
D | hdspm.c | 5908 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_in_channels_rate() argument 5910 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_in_channels_rate() 5943 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_out_channels_rate() argument 5945 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_out_channels_rate() 5978 struct snd_pcm_hw_rule * rule) in snd_hdspm_hw_rule_rate_in_channels() argument 5980 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_rate_in_channels() 6012 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_rate_out_channels() argument 6014 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_rate_out_channels() 6047 struct snd_pcm_hw_rule *rule) in snd_hdspm_hw_rule_in_channels() argument 6050 struct hdspm *hdspm = rule->private; in snd_hdspm_hw_rule_in_channels() [all …]
|
/sound/sparc/ |
D | dbri.c | 1999 struct snd_pcm_hw_rule *rule) in snd_hw_rule_format() argument 2015 struct snd_pcm_hw_rule *rule) in snd_hw_rule_channels() argument
|
/sound/pci/ |
D | sonicvibes.c | 559 struct snd_pcm_hw_rule *rule) in snd_sonicvibes_hw_constraint_dac_rate() argument
|