Home
last modified time | relevance | path

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

123

/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()
/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.c101 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels()
129 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format()
163 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels()
198 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_channels_by_format()
362 SNDRV_PCM_HW_PARAM_FORMAT, -1); in pcm_analog_in_open()
366 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_in_open()
394 SNDRV_PCM_HW_PARAM_FORMAT, -1); in pcm_analog_out_open()
398 SNDRV_PCM_HW_PARAM_FORMAT, in pcm_analog_out_open()
432 SNDRV_PCM_HW_PARAM_FORMAT, -1); in pcm_digital_in_open()
436 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()
/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/soc/intel/avs/boards/
H A Dpcm3168a.c48 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_pcm3168a_be_fixup()
H A Dmax98357a.c37 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98357a_be_fixup()
H A Drt5514.c52 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt5514_be_fixup()
H A Dssm4567.c72 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_ssm4567_be_fixup()
H A Dmax98927.c55 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98927_be_fixup()
H A Dmax98373.c55 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98373_be_fixup()
H A Drt5640.c85 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt5640_be_fixup()
H A Drt286.c87 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt286_be_fixup()
H A Dda7219.c156 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_da7219_be_fixup()
/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/usb/
H A Dpcm.c763 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
959 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format()
1167 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1177 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1183 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1185 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
1196 SNDRV_PCM_HW_PARAM_FORMAT, in setup_hw_info()
/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()
387 dev_err(dev, "Failed to add HW rule for SNDRV_PCM_HW_PARAM_FORMAT\n"); in alsa_open()
/linux/sound/soc/intel/boards/
H A Dbdw-rt5650.c97 snd_mask_set_format(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in broadwell_ssp0_fixup()
H A Dcht_bsw_nau8824.c136 hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in cht_codec_fixup()
/linux/sound/soc/qcom/
H A Dsm8250.c66 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sm8250_be_hw_params_fixup()
/linux/sound/core/
H A Dpcm_native.c485 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
493 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
517 m = hw_param_mask_c(params, SNDRV_PCM_HW_PARAM_FORMAT); in fixup_unreferenced_params()
662 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_params_choose()
2392 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
2419 if (!snd_mask_test_format(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), k)) in snd_pcm_hw_rule_sample_bits()
2477 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_subformats()
2505 SNDRV_PCM_HW_PARAM_FORMAT, -1); in snd_pcm_hw_constraint_subformats()
2528 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2535 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.c284 snd_pcm_hw_constraint_mask64(substream->runtime, SNDRV_PCM_HW_PARAM_FORMAT, in hda_dsp_pcm_open()
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-mt6358-ts3a227-max98357.c101 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8183_i2s_hw_params_fixup()
114 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8183_rt1015_i2s_hw_params_fixup()
H A Dmt8183-da7219-max98357.c174 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8183_i2s_hw_params_fixup()
186 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8183_rt1015_i2s_hw_params_fixup()

123