Home
last modified time | relevance | path

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

123456

/openbmc/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()
/openbmc/linux/sound/core/
H A Dpcm_drm_eld.c102 c = hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in eld_limit_rates()
153 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_pcm_hw_constraint_eld()
157 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraint_eld()
/openbmc/linux/sound/soc/amd/
H A Dacp-da7219-max98357a.c257 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_da7219_play_startup()
278 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_da7219_cap_startup()
300 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_max_startup()
321 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_dmic0_startup()
342 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_dmic1_startup()
369 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_play_startup()
390 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_cap_startup()
412 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_max_startup()
433 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_dmic0_startup()
454 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in cz_rt5682_dmic1_startup()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/intel/boards/
H A Dkbl_da7219_max98357a.c165 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_ssp_fixup()
311 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kbl_fe_startup()
331 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_dmic_fixup()
350 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_dmic_startup()
383 SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_refcap_startup()
H A Dskl_nau88l25_max98357a.c154 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_ssp_fixup()
291 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skl_fe_startup()
331 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_dmic_fixup()
366 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skylake_dmic_startup()
399 SNDRV_PCM_HW_PARAM_CHANNELS, in skylake_refcap_startup()
H A Dskl_rt286.c193 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skl_fe_startup()
215 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_ssp0_fixup()
251 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_dmic_fixup()
275 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skylake_dmic_startup()
H A Dskl_nau88l25_ssm4567.c311 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skl_fe_startup()
333 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_ssp_fixup()
350 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_dmic_fixup()
404 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in skylake_dmic_startup()
437 SNDRV_PCM_HW_PARAM_CHANNELS, in skylake_refcap_startup()
H A Dbxt_rt298.c210 SNDRV_PCM_HW_PARAM_CHANNELS); in broxton_ssp5_fixup()
259 SNDRV_PCM_HW_PARAM_CHANNELS); in broxton_dmic_fixup()
280 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in broxton_dmic_startup()
313 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in bxt_fe_startup()
H A Dbxt_da7219_max98357a.c212 SNDRV_PCM_HW_PARAM_CHANNELS); in broxton_ssp_fixup()
346 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in bxt_fe_startup()
366 SNDRV_PCM_HW_PARAM_CHANNELS); in broxton_dmic_fixup()
380 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in broxton_dmic_startup()
413 SNDRV_PCM_HW_PARAM_CHANNELS, in broxton_refcap_startup()
H A Dbdw-rt5650.c89 SNDRV_PCM_HW_PARAM_CHANNELS); in broadwell_ssp0_fixup()
158 SNDRV_PCM_HW_PARAM_CHANNELS, in bdw_rt5650_fe_startup()
H A Dkbl_rt5663_max98927.c399 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kbl_fe_startup()
421 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_ssp_fixup()
500 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_dmic_fixup()
571 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_dmic_startup()
604 SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_refcap_startup()
H A Dkbl_da7219_max98927.c302 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_ssp_fixup()
492 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kbl_fe_startup()
512 SNDRV_PCM_HW_PARAM_CHANNELS); in kabylake_dmic_fixup()
531 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_dmic_startup()
563 SNDRV_PCM_HW_PARAM_CHANNELS, in kabylake_refcap_startup()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/amd/vangogh/
H A Dacp5x-mach.c154 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp5x_8821_startup()
207 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp5x_cs35l41_startup()
344 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in acp5x_max98388_startup()
/openbmc/linux/sound/pci/echoaudio/
H A Dechoaudio.c110 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_format_by_channels()
138 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_channels_by_format()
172 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_format_by_channels()
207 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_channels_by_format()
305 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_open()
370 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_in_open()
378 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_analog_in_open()
401 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_out_open()
411 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_analog_out_open()
440 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_digital_in_open()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/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 …]
/openbmc/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()

123456