/openbmc/linux/sound/soc/ |
H A D | soc-utils-test.c | 132 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_tdm_params_to_bclk_one() 133 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_tdm_params_to_bclk_one() 185 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_snd_soc_params_to_bclk_one() 186 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_snd_soc_params_to_bclk_one()
|
/openbmc/linux/sound/core/ |
H A D | pcm_drm_eld.c | 102 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 D | acp-da7219-max98357a.c | 257 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 D | digi00x-pcm.c | 16 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 D | fireworks_pcm.c | 70 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 D | ff-pcm.c | 17 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 D | motu-pcm.c | 17 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 D | bebob_pcm.c | 17 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 D | kbl_da7219_max98357a.c | 165 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 D | skl_nau88l25_max98357a.c | 154 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 D | skl_rt286.c | 193 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 D | skl_nau88l25_ssm4567.c | 311 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 D | bxt_rt298.c | 210 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 D | bxt_da7219_max98357a.c | 212 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 D | bdw-rt5650.c | 89 SNDRV_PCM_HW_PARAM_CHANNELS); in broadwell_ssp0_fixup() 158 SNDRV_PCM_HW_PARAM_CHANNELS, in bdw_rt5650_fe_startup()
|
H A D | kbl_rt5663_max98927.c | 399 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 D | kbl_da7219_max98927.c | 302 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 D | dice-pcm.c | 19 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 D | oxfw-pcm.c | 17 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 D | acp5x-mach.c | 154 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 D | echoaudio.c | 110 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 D | sb8_main.c | 65 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 D | ac97_pcm.c | 686 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 D | rme9652.c | 2172 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 D | uniperif_reader.c | 370 SNDRV_PCM_HW_PARAM_CHANNELS, in uni_reader_startup() 372 reader, SNDRV_PCM_HW_PARAM_CHANNELS, in uni_reader_startup()
|