Home
last modified time | relevance | path

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

12

/linux/sound/soc/codecs/
H A Dframer-codec.c113 struct snd_mask *f_old = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in framer_dai_hw_rule_format_by_channels()
208 SNDRV_PCM_HW_PARAM_FORMAT, format); in framer_dai_startup()
216 SNDRV_PCM_HW_PARAM_FORMAT, -1); in framer_dai_startup()
222 ret = snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in framer_dai_startup()
H A Dadau1977.c724 SNDRV_PCM_HW_PARAM_FORMAT, formats); in adau1977_startup()
H A Dcs4234.c483 SNDRV_PCM_HW_PARAM_FORMAT, in cs4234_dai_startup()
/linux/sound/soc/
H A Dsoc-utils-test.c129 snd_mask_none(hw_param_mask(&params, SNDRV_PCM_HW_PARAM_FORMAT)); in test_tdm_params_to_bclk_one()
182 snd_mask_none(hw_param_mask(&params, SNDRV_PCM_HW_PARAM_FORMAT)); in test_snd_soc_params_to_bclk_one()
/linux/sound/pci/echoaudio/
H A Dechoaudio.c100 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels()
128 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format()
162 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels()
197 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); in pcm_analog_in_open()
365 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_in_open()
393 SNDRV_PCM_HW_PARAM_FORMAT, -1); in pcm_analog_out_open()
397 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_out_open()
431 SNDRV_PCM_HW_PARAM_FORMAT, -1); in pcm_digital_in_open()
435 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_digital_in_open()
[all …]
/linux/sound/soc/sti/
H A Duniperif_reader.c378 SNDRV_PCM_HW_PARAM_FORMAT, in uni_reader_startup()
380 reader, SNDRV_PCM_HW_PARAM_FORMAT, in uni_reader_startup()
H A Duniperif_player.c718 SNDRV_PCM_HW_PARAM_FORMAT, in uni_player_startup()
720 player, SNDRV_PCM_HW_PARAM_FORMAT, in uni_player_startup()
/linux/include/sound/
H A Dpcm_params.h316 SNDRV_PCM_HW_PARAM_FORMAT)); in params_format()
370 snd_mask_set_format(hw_param_mask(p, SNDRV_PCM_HW_PARAM_FORMAT), fmt); in params_set_format()
/linux/sound/usb/
H A Dpcm.c730 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
926 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format()
1134 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1144 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1150 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1152 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1163 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c1327 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_slot_width()
1350 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format_width()
1430 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format()
1555 SNDRV_PCM_HW_PARAM_FORMAT, in davinci_mcasp_startup()
1558 SNDRV_PCM_HW_PARAM_FORMAT, -1); in davinci_mcasp_startup()
1565 SNDRV_PCM_HW_PARAM_FORMAT, in davinci_mcasp_startup()
1568 SNDRV_PCM_HW_PARAM_FORMAT, -1); in davinci_mcasp_startup()
1582 SNDRV_PCM_HW_PARAM_FORMAT, -1); in davinci_mcasp_startup()
1586 SNDRV_PCM_HW_PARAM_FORMAT, in davinci_mcasp_startup()
/linux/sound/xen/
H A Dxen_snd_front_alsa.c257 hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in alsa_hw_rule()
383 ret = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in alsa_open()
385 SNDRV_PCM_HW_PARAM_FORMAT, -1); in alsa_open()
/linux/sound/core/
H A Dpcm_native.c484 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
492 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
516 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
661 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_params_choose()
2380 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
2407 if (!snd_mask_test_format(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), k)) in snd_pcm_hw_rule_sample_bits()
2465 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_subformats()
2493 SNDRV_PCM_HW_PARAM_FORMAT, -1); in snd_pcm_hw_constraint_subformats()
2516 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2523 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
[all...]
/linux/drivers/usb/gadget/function/
H A Du_uac1_legacy.c116 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_FORMAT, in playback_default_hw_params()
/linux/sound/soc/sof/intel/
H A Dhda-pcm.c269 snd_pcm_hw_constraint_mask64(substream->runtime, SNDRV_PCM_HW_PARAM_FORMAT, in hda_dsp_pcm_open()
/linux/sound/soc/qcom/
H A Dapq8016_sbc.c246 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in msm8916_qdsp6_be_hw_params_fixup()
H A Dsc7280.c397 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sc7280_snd_be_hw_params_fixup()
H A Dsdm845.c543 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sdm845_be_hw_params_fixup()
/linux/sound/ppc/
H A Dpmac.c543 return snd_mask_refine_set(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT),
586 snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pmac_pcm_open()
/linux/sound/soc/sof/
H A Dipc3-pcm.c216 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sof_ipc3_pcm_dai_link_fixup()
H A Dpcm.c593 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sof_pcm_dai_link_fixup()
/linux/Documentation/sound/designs/
H A Dtracepoints.rst54 - SNDRV_PCM_HW_PARAM_FORMAT
/linux/sound/core/oss/
H A Dpcm_oss.c904 sformat_mask = hw_param_mask_c(sparams, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_change_params_locked()
922 err = _snd_pcm_hw_param_set(sparams, SNDRV_PCM_HW_PARAM_FORMAT, (__force int)sformat, 0); in snd_pcm_oss_change_params_locked()
932 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_oss_change_params_locked()
1865 format_mask = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_get_formats()
/linux/sound/soc/intel/avs/
H A Dpcm.c506 SNDRV_PCM_HW_PARAM_FORMAT, SNDRV_PCM_HW_PARAM_CHANNELS, in avs_pcm_hw_constraints_init()
509 SNDRV_PCM_HW_PARAM_FORMAT, SNDRV_PCM_HW_PARAM_CHANNELS, in avs_pcm_hw_constraints_init()
/linux/sound/soc/fsl/
H A Dimx-card.c501 mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in be_hw_params_fixup()
/linux/tools/include/uapi/sound/
H A Dasound.h

12