/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()
|
/linux/sound/core/ |
H A D | pcm_drm_eld.c | 103 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 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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/linux/sound/pci/echoaudio/ |
H A D | echoaudio.c | 99 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 D | framer-codec.c | 73 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 D | lochnagar-sc.c | 106 SNDRV_PCM_HW_PARAM_CHANNELS, in lochnagar_sc_line_startup()
|
/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()
|
/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()
|
/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 …]
|
H A D | hdsp.c | 4308 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 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()
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm-lpass-dais.c | 103 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 D | pcm.c | 729 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 D | apq8096.c | 22 SNDRV_PCM_HW_PARAM_CHANNELS); in apq8096_be_hw_params_fixup()
|
H A D | sc7280.c | 217 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 D | sm8250.c | 41 SNDRV_PCM_HW_PARAM_CHANNELS); in sm8250_be_hw_params_fixup()
|
/linux/sound/xen/ |
H A D | xen_snd_front_alsa.c | 261 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 D | acp-mach-common.c | 199 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 D | bytcht_cx2072x.c | 111 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in byt_cht_cx2072x_fixup()
|