Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_HW_PARAM_FORMAT (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c123 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels()
151 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format()
185 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels()
220 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_channels_by_format()
361 SNDRV_PCM_HW_PARAM_FORMAT, -1)) < 0) in pcm_analog_in_open()
364 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_in_open()
395 SNDRV_PCM_HW_PARAM_FORMAT, -1)) < 0) in pcm_analog_out_open()
398 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_out_open()
436 SNDRV_PCM_HW_PARAM_FORMAT, -1)) < 0) in pcm_digital_in_open()
439 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_digital_in_open()
[all …]
/linux-4.4.14/include/sound/
Dpcm_params.h320 SNDRV_PCM_HW_PARAM_FORMAT)); in params_format()
372 snd_mask_set(hw_param_mask(p, SNDRV_PCM_HW_PARAM_FORMAT), in params_set_format()
/linux-4.4.14/sound/usb/
Dpcm.c870 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
1017 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format()
1180 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1187 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1192 if ((err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1203 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
/linux-4.4.14/drivers/usb/gadget/function/
Du_uac1.c119 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_FORMAT, in playback_default_hw_params()
/linux-4.4.14/sound/sparc/
Ddbri.c2003 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_format()
2019 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_channels()
2050 snd_hw_rule_format, NULL, SNDRV_PCM_HW_PARAM_FORMAT, in snd_dbri_open()
2052 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_dbri_open()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c1182 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format()
1288 SNDRV_PCM_HW_PARAM_FORMAT, -1); in davinci_mcasp_startup()
1292 SNDRV_PCM_HW_PARAM_FORMAT, in davinci_mcasp_startup()
/linux-4.4.14/sound/core/
Dpcm_native.c442 m = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_refine()
1944 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
1970 if (! snd_mask_test(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), k)) in snd_pcm_hw_rule_sample_bits()
2038 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2045 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2165 err = snd_pcm_hw_constraint_mask64(runtime, SNDRV_PCM_HW_PARAM_FORMAT, hw->formats); in snd_pcm_hw_constraints_complete()
Dpcm_lib.c1737 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_params_choose()
/linux-4.4.14/sound/ppc/
Dpmac.c580 return snd_mask_refine_set(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT),
623 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pmac_pcm_open()
/linux-4.4.14/sound/drivers/
Daloop.c702 SNDRV_PCM_HW_PARAM_FORMAT, in loopback_open()
704 SNDRV_PCM_HW_PARAM_FORMAT, -1); in loopback_open()
/linux-4.4.14/sound/soc/fsl/
Dfsl-asoc-card.c184 mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in be_hw_params_fixup()
/linux-4.4.14/include/uapi/sound/
Dasound.h328 #define SNDRV_PCM_HW_PARAM_FORMAT 1 /* Format */ macro
/linux-4.4.14/sound/soc/codecs/
Dadau1977.c727 SNDRV_PCM_HW_PARAM_FORMAT, formats); in adau1977_startup()
/linux-4.4.14/sound/core/oss/
Dpcm_oss.c892 sformat_mask = *hw_param_mask(sparams, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_change_params()
913 err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, (__force int)sformat, 0); in snd_pcm_oss_change_params()
923 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_oss_change_params()
1804 format_mask = *hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_get_formats()
/linux-4.4.14/Documentation/sound/alsa/soc/
DDPCM.txt248 snd_mask_set(&params->masks[SNDRV_PCM_HW_PARAM_FORMAT -
/linux-4.4.14/sound/soc/
Dsoc-dapm.c3490 snd_mask_set(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), fmt); in snd_soc_dai_link_event()