Home
last modified time | relevance | path

Searched refs:snd_pcm_hw_rule_add (Results 1 – 25 of 32) sorted by relevance

12

/sound/core/
Dpcm_drm_eld.c84 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pcm_hw_constraint_eld()
90 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraint_eld()
Dpcm_native.c2299 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2304 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_SAMPLE_BITS, in snd_pcm_hw_constraints_init()
2310 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_SAMPLE_BITS, in snd_pcm_hw_constraints_init()
2315 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, in snd_pcm_hw_constraints_init()
2320 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, in snd_pcm_hw_constraints_init()
2325 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FRAME_BITS, in snd_pcm_hw_constraints_init()
2330 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraints_init()
2335 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pcm_hw_constraints_init()
2340 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pcm_hw_constraints_init()
2345 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIODS, in snd_pcm_hw_constraints_init()
[all …]
Dpcm_lib.c1109 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add() function
1151 EXPORT_SYMBOL(snd_pcm_hw_rule_add);
1265 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_list()
1296 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ranges()
1331 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ratnums()
1365 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ratdens()
1410 return snd_pcm_hw_rule_add(runtime, cond, -1, in snd_pcm_hw_constraint_msbits()
1438 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_step()
1468 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_pow2()
1494 return snd_pcm_hw_rule_add(runtime, SNDRV_PCM_HW_PARAMS_NORESAMPLE, in snd_pcm_hw_rule_noresample()
/sound/xen/
Dxen_snd_front_alsa.c388 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in alsa_open()
396 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in alsa_open()
404 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in alsa_open()
412 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, in alsa_open()
420 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, in alsa_open()
/sound/soc/sti/
Duniperif_reader.c369 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in uni_reader_startup()
377 return snd_pcm_hw_rule_add(substream->runtime, 0, in uni_reader_startup()
Duniperif_player.c709 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in uni_player_startup()
717 return snd_pcm_hw_rule_add(substream->runtime, 0, in uni_player_startup()
/sound/firewire/digi00x/
Ddigi00x-pcm.c83 err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_init_hw_params()
90 err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_init_hw_params()
/sound/firewire/fireworks/
Dfireworks_pcm.c156 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
162 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/sound/firewire/bebob/
Dbebob_pcm.c115 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
121 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/sound/firewire/motu/
Dmotu-pcm.c119 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_info()
124 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_info()
/sound/firewire/fireface/
Dff-pcm.c124 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
130 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in pcm_init_hw_params()
/sound/pci/echoaudio/
Dechoaudio.c319 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_open()
346 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_analog_in_open()
351 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_analog_in_open()
379 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_analog_out_open()
385 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_analog_out_open()
421 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_digital_in_open()
426 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_digital_in_open()
462 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_digital_out_open()
468 if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_digital_out_open()
/sound/firewire/dice/
Ddice-pcm.c150 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_info()
155 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_info()
/sound/firewire/oxfw/
Doxfw-pcm.c129 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_params()
135 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in init_hw_params()
/sound/soc/codecs/
Dlochnagar-sc.c82 return snd_pcm_hw_rule_add(substream->runtime, 0, in lochnagar_sc_startup()
/sound/pci/ac97/
Dac97_pcm.c726 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_ac97_pcm_double_rate_rules()
731 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_ac97_pcm_double_rate_rules()
/sound/isa/sb/
Dsb8_main.c507 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_sb8_open()
511 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_sb8_open()
/sound/pci/rme9652/
Drme9652.c2307 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2310 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2313 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_rme9652_playback_open()
2367 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
2370 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
2373 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_rme9652_capture_open()
Dhdsp.c4469 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4472 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4475 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_hdsp_playback_open()
4541 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_capture_open()
4544 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_capture_open()
4547 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_hdsp_capture_open()
/sound/soc/ti/
Ddavinci-mcasp.c1499 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in davinci_mcasp_startup()
1509 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in davinci_mcasp_startup()
1523 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in davinci_mcasp_startup()
1530 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in davinci_mcasp_startup()
1539 snd_pcm_hw_rule_add(substream->runtime, 0, in davinci_mcasp_startup()
/sound/drivers/
Daloop.c709 err = snd_pcm_hw_rule_add(runtime, 0, in loopback_open()
715 err = snd_pcm_hw_rule_add(runtime, 0, in loopback_open()
721 err = snd_pcm_hw_rule_add(runtime, 0, in loopback_open()
/sound/usb/
Dpcm.c1453 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in setup_hw_info()
1461 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1469 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1478 err = snd_pcm_hw_rule_add(runtime, 0, in setup_hw_info()
/sound/firewire/
Damdtp-stream.c229 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, in amdtp_stream_add_pcm_hw_constraints()
235 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, in amdtp_stream_add_pcm_hw_constraints()
/sound/ppc/
Dpmac.c607 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_pmac_pcm_open()
609 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pmac_pcm_open()
/sound/soc/sh/rcar/
Dcore.c1014 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, in rsnd_soc_dai_startup()
1018 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in rsnd_soc_dai_startup()

12