Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_HW_PARAM_CHANNELS (Results 1 – 25 of 86) sorted by relevance

1234

/linux/sound/soc/
H A Dsoc-utils-test.c132 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_tdm_params_to_bclk_one()
133 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_tdm_params_to_bclk_one()
185 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_snd_soc_params_to_bclk_one()
186 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_snd_soc_params_to_bclk_one()
/linux/sound/core/
H A Dpcm_drm_eld.c103 c = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in eld_limit_rates()
154 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_pcm_hw_constraint_eld()
158 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraint_eld()
/linux/sound/firewire/digi00x/
H A Ddigi00x-pcm.c16 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
38 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
84 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
93 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux/sound/firewire/fireface/
H A Dff-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
46 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
124 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
132 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux/sound/firewire/motu/
H A Dmotu-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in motu_rate_constraint()
48 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in motu_channels_constraint()
118 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in init_hw_info()
121 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_info()
/linux/sound/firewire/bebob/
H A Dbebob_pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
43 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
115 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
123 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux/sound/firewire/fireworks/
H A Dfireworks_pcm.c70 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
93 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
156 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
164 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux/sound/firewire/oxfw/
H A Doxfw-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
46 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
129 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_params()
137 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in init_hw_params()
/linux/sound/firewire/dice/
H A Ddice-pcm.c19 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in dice_rate_constraint()
59 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in dice_channels_constraint()
152 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in init_hw_info()
155 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_info()
/linux/sound/pci/echoaudio/
H A Dechoaudio.c99 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_format_by_channels()
127 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_channels_by_format()
161 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_format_by_channels()
196 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_channels_by_format()
294 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_open()
359 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_in_open()
367 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_analog_in_open()
390 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_out_open()
400 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_analog_out_open()
429 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_digital_in_open()
[all …]
/linux/sound/soc/codecs/
H A Dframer-codec.c73 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in framer_dai_hw_rule_channels_by_format()
214 ret = snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in framer_dai_startup()
224 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in framer_dai_startup()
H A Dlochnagar-sc.c106 SNDRV_PCM_HW_PARAM_CHANNELS, in lochnagar_sc_line_startup()
/linux/sound/isa/sb/
H A Dsb8_main.c65 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_sb8_hw_constraint_rate_channels()
85 return snd_interval_refine(hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS), &t); in snd_sb8_hw_constraint_channels_rate()
497 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_sb8_open()
499 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_sb8_open()
/linux/sound/pci/ac97/
H A Dac97_pcm.c686 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_rate()
707 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_channels()
728 SNDRV_PCM_HW_PARAM_CHANNELS, -1); 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()
/linux/sound/pci/rme9652/
H A Drme9652.c2172 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_channels()
2181 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_channels_rate()
2205 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_rate_channels()
2249 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2251 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_playback_open()
2252 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2257 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_playback_open()
2308 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
2310 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_capture_open()
2311 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
[all …]
H A Dhdsp.c4308 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels()
4328 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels()
4345 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels_rate()
4376 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels_rate()
4407 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_rate_out_channels()
4438 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_rate_in_channels()
4503 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4505 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdsp_playback_open()
4506 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4511 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdsp_playback_open()
[all …]
/linux/sound/soc/sti/
H A Duniperif_reader.c370 SNDRV_PCM_HW_PARAM_CHANNELS, in uni_reader_startup()
372 reader, SNDRV_PCM_HW_PARAM_CHANNELS, in uni_reader_startup()
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c103 int channels = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS)->max; in q6hdmi_hw_params()
134 int channels = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS)->max; in q6dma_hw_params()
/linux/sound/usb/
H A Dpcm.c729 struct snd_interval *ct = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_check_valid_format()
885 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
1135 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1141 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1143 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1154 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1164 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
/linux/sound/soc/qcom/
H A Dapq8096.c22 SNDRV_PCM_HW_PARAM_CHANNELS); in apq8096_be_hw_params_fixup()
H A Dsc7280.c217 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, 2, 2); in sc7280_snd_hw_params()
396 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in sc7280_snd_be_hw_params_fixup()
H A Dsm8250.c41 SNDRV_PCM_HW_PARAM_CHANNELS); in sm8250_be_hw_params_fixup()
/linux/sound/xen/
H A Dxen_snd_front_alsa.c261 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in alsa_hw_rule()
399 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in alsa_open()
401 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in alsa_open()
/linux/sound/soc/amd/acp/
H A Dacp-mach-common.c199 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_card_hs_startup()
538 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_card_dmic_startup()
716 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_card_amp_startup()
872 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_card_max98388_startup()
1088 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_nau8825_startup()
1233 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp_8821_startup()
/linux/sound/soc/intel/boards/
H A Dbytcht_cx2072x.c111 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in byt_cht_cx2072x_fixup()

1234