Home
last modified time | relevance | path

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

/linux-4.4.14/sound/core/
Dpcm_drm_eld.c38 c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in eld_limit_rates()
89 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_pcm_hw_constraint_eld()
93 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraint_eld()
Dpcm_native.c443 i = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_pcm_hw_refine()
2032 snd_interval_setinteger(constrs_interval(constrs, SNDRV_PCM_HW_PARAM_CHANNELS)); in snd_pcm_hw_constraints_init()
2051 SNDRV_PCM_HW_PARAM_FRAME_BITS, SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_pcm_hw_constraints_init()
2056 SNDRV_PCM_HW_PARAM_SAMPLE_BITS, SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_pcm_hw_constraints_init()
2069 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraints_init()
2173 err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_constraints_complete()
Dpcm_lib.c1739 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_hw_params_choose()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-pcm.c17 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
39 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
97 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
106 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_pcm.c71 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
94 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
178 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
186 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_pcm.c18 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_rate()
44 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
137 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_init_hw_params()
145 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm_init_hw_params()
/linux-4.4.14/sound/firewire/dice/
Ddice-pcm.c19 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_CHANNELS); in dice_rate_constraint()
56 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in dice_channels_constraint()
150 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in init_hw_info()
153 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_info()
/linux-4.4.14/sound/firewire/oxfw/
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()
149 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in init_hw_params()
157 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in init_hw_params()
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c122 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_format_by_channels()
150 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_capture_channels_by_format()
184 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_format_by_channels()
219 SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_playback_channels_by_format()
310 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_open()
359 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_in_open()
366 SNDRV_PCM_HW_PARAM_CHANNELS, -1)) < 0) in pcm_analog_in_open()
392 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_analog_out_open()
401 SNDRV_PCM_HW_PARAM_CHANNELS, -1)) < 0) in pcm_analog_out_open()
434 SNDRV_PCM_HW_PARAM_CHANNELS, in pcm_digital_in_open()
[all …]
/linux-4.4.14/sound/pci/ac97/
Dac97_pcm.c701 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_rate()
722 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_channels()
743 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_ac97_pcm_double_rate_rules()
746 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_ac97_pcm_double_rate_rules()
/linux-4.4.14/sound/isa/sb/
Dsb8_main.c79 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_sb8_hw_constraint_rate_channels()
99 return snd_interval_refine(hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS), &t); in snd_sb8_hw_constraint_channels_rate()
526 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_sb8_open()
528 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_sb8_open()
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c2208 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_channels()
2217 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_channels_rate()
2241 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_rme9652_hw_rule_rate_channels()
2286 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2288 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_playback_open()
2289 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_playback_open()
2294 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_playback_open()
2346 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
2348 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_rme9652_capture_open()
2349 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_rme9652_capture_open()
[all …]
Dhdsp.c4262 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels()
4282 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels()
4299 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels_rate()
4330 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels_rate()
4361 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_rate_out_channels()
4392 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_rate_in_channels()
4457 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4459 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdsp_playback_open()
4460 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdsp_playback_open()
4465 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdsp_playback_open()
[all …]
Dhdspm.c5880 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_in_channels_rate()
5915 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_out_channels_rate()
5950 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_rate_in_channels()
5984 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_rate_out_channels()
6020 SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_in_channels()
6034 SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdspm_hw_rule_out_channels()
6114 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdspm_open()
6117 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdspm_open()
6120 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in snd_hdspm_open()
6122 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_hdspm_open()
/linux-4.4.14/sound/soc/intel/boards/
Dhaswell.c52 SNDRV_PCM_HW_PARAM_CHANNELS); in haswell_ssp0_fixup()
Dbytcr_rt5640.c109 SNDRV_PCM_HW_PARAM_CHANNELS); in byt_codec_fixup()
Dskl_rt286.c114 SNDRV_PCM_HW_PARAM_CHANNELS); in skylake_ssp0_fixup()
Dbroadwell.c100 SNDRV_PCM_HW_PARAM_CHANNELS); in broadwell_ssp0_fixup()
Dcht_bsw_max98090_ti.c168 SNDRV_PCM_HW_PARAM_CHANNELS); in cht_codec_fixup()
Dcht_bsw_rt5672.c214 SNDRV_PCM_HW_PARAM_CHANNELS); in cht_codec_fixup()
Dcht_bsw_rt5645.c227 SNDRV_PCM_HW_PARAM_CHANNELS); in cht_codec_fixup()
/linux-4.4.14/sound/usb/
Dpcm.c869 struct snd_interval *ct = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_check_valid_format()
966 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels()
1181 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1185 if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1195 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
1204 SNDRV_PCM_HW_PARAM_CHANNELS, in setup_hw_info()
/linux-4.4.14/sound/soc/omap/
Dn810.c102 snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, 2); in n810_startup()
Domap-mcbsp.c98 SNDRV_PCM_HW_PARAM_CHANNELS); in omap_mcbsp_hwrule_min_buffersize()
146 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in omap_mcbsp_dai_startup()
Drx51.c110 snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, 2); in rx51_startup()
/linux-4.4.14/drivers/usb/gadget/function/
Du_uac1.c121 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_CHANNELS, in playback_default_hw_params()
/linux-4.4.14/sound/soc/ux500/
Dux500_msp_dai.c512 SNDRV_PCM_HW_PARAM_CHANNELS, in ux500_msp_dai_hw_params()
526 SNDRV_PCM_HW_PARAM_CHANNELS, in ux500_msp_dai_hw_params()
/linux-4.4.14/sound/soc/codecs/
Dwl1273.c313 SNDRV_PCM_HW_PARAM_CHANNELS, 1); in wl1273_startup()
Dtwl4030.c1624 SNDRV_PCM_HW_PARAM_CHANNELS, in twl4030_constraints()
1670 SNDRV_PCM_HW_PARAM_CHANNELS, in twl4030_startup()
Dpcm512x.c546 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in pcm512x_dai_startup_master()
/linux-4.4.14/sound/arm/
Daaci.c426 SNDRV_PCM_HW_PARAM_CHANNELS, in aaci_pcm_open()
428 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in aaci_pcm_open()
/linux-4.4.14/sound/sparc/
Ddbri.c2002 SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hw_rule_format()
2018 SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hw_rule_channels()
2049 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_dbri_open()
2054 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_dbri_open()
/linux-4.4.14/sound/drivers/
Daloop.c714 SNDRV_PCM_HW_PARAM_CHANNELS, in loopback_open()
716 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in loopback_open()
/linux-4.4.14/include/uapi/sound/
Dasound.h335 #define SNDRV_PCM_HW_PARAM_CHANNELS 10 /* Channels */ macro
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_pcm.c187 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_vortex_pcm_open()
/linux-4.4.14/sound/pci/oxygen/
Doxygen_pcm.c178 SNDRV_PCM_HW_PARAM_CHANNELS, in oxygen_open()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c1263 SNDRV_PCM_HW_PARAM_CHANNELS, in davinci_mcasp_startup()
1267 0, SNDRV_PCM_HW_PARAM_CHANNELS, in davinci_mcasp_startup()
/linux-4.4.14/sound/soc/atmel/
Datmel_ssc_dai.c317 SNDRV_PCM_HW_PARAM_CHANNELS, -1); in atmel_ssc_startup()
/linux-4.4.14/Documentation/sound/alsa/soc/
DDPCM.txt241 SNDRV_PCM_HW_PARAM_CHANNELS);
/linux-4.4.14/sound/pci/
Dintel8x0.c1206 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_intel8x0_playback_open()
1210 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_intel8x0_playback_open()
1214 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_intel8x0_playback_open()
Dcmipci.c1728 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, &hw_constraints_channels_4); in snd_cmipci_playback2_open()
1730 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, &hw_constraints_channels_6); in snd_cmipci_playback2_open()
1732 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, &hw_constraints_channels_8); in snd_cmipci_playback2_open()
Dfm801.c640 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_fm801_playback_open()
Datiixp.c1098 SNDRV_PCM_HW_PARAM_CHANNELS, 2); in snd_atiixp_playback_open()
Dvia82xx.c1303 SNDRV_PCM_HW_PARAM_CHANNELS, in snd_via8233_multi_open()
/linux-4.4.14/sound/pci/hda/
Dpatch_hdmi.c1507 SNDRV_PCM_HW_PARAM_CHANNELS, 2); in hdmi_pcm_open()
2615 SNDRV_PCM_HW_PARAM_CHANNELS, in simple_playback_pcm_open()
2619 SNDRV_PCM_HW_PARAM_CHANNELS, 2); in simple_playback_pcm_open()
Dhda_codec.c3741 SNDRV_PCM_HW_PARAM_CHANNELS, 2); in snd_hda_multi_out_analog_open()
/linux-4.4.14/sound/isa/
Des18xx.c464 _snd_pcm_hw_param_setempty(hw_params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_es18xx_playback_hw_params()
567 _snd_pcm_hw_param_setempty(hw_params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_es18xx_capture_hw_params()
/linux-4.4.14/include/sound/
Dpcm.h913 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_CHANNELS)->min; in params_channels()
/linux-4.4.14/sound/soc/
Dsoc-pcm.c220 SNDRV_PCM_HW_PARAM_CHANNELS, in soc_pcm_apply_symmetry()
805 interval = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in soc_pcm_codec_params_fixup()
Dsoc-dapm.c3497 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS)->min in snd_soc_dai_link_event()
3499 hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS)->max in snd_soc_dai_link_event()
/linux-4.4.14/sound/core/oss/
Dpcm_oss.c888 …snd_pcm_hw_param_near(substream, sparams, SNDRV_PCM_HW_PARAM_CHANNELS, runtime->oss.channels, NULL… in snd_pcm_oss_change_params()
925 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_CHANNELS, in snd_pcm_oss_change_params()
/linux-4.4.14/sound/pci/ice1712/
Dice1724.c1062 snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, 2); in snd_vt1724_playback_pro_open()