Home
last modified time | relevance | path

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

123

/linux-6.15/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-6.15/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-6.15/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()
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()
470 NULL, SNDRV_PCM_HW_PARAM_FORMAT, in pcm_digital_out_open()
[all …]
/linux-6.15/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-6.15/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-6.15/sound/soc/intel/avs/boards/
H A Dpcm3168a.c46 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 Drt286.c87 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt286_be_fixup()
H A Drt5663.c102 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt5663_be_fixup()
H A Drt298.c98 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt298_be_fixup()
H A Drt274.c137 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt274_be_fixup()
/linux-6.15/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-6.15/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-6.15/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-6.15/sound/soc/qcom/
H A Dsm8250.c43 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sm8250_be_hw_params_fixup()
/linux-6.15/sound/soc/fsl/
H A Dfsl_qmc_audio.c469 struct snd_mask *f_old = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in qmc_dai_hw_rule_format_by_channels()
531 SNDRV_PCM_HW_PARAM_FORMAT, -1); in qmc_dai_constraints_interleaved()
537 ret = snd_pcm_hw_rule_add(substream->runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in qmc_dai_constraints_interleaved()
/linux-6.15/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-6.15/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()
2391 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
2418 if (!snd_mask_test_format(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), k)) in snd_pcm_hw_rule_sample_bits()
2476 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_subformats()
2504 SNDRV_PCM_HW_PARAM_FORMAT, -1); in snd_pcm_hw_constraint_subformats()
2527 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
2534 SNDRV_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constraints_init()
[all …]
/linux-6.15/sound/soc/sof/
H A Dipc4-topology.c1236 if (param_to_update & BIT(SNDRV_PCM_HW_PARAM_FORMAT)) { in sof_ipc4_update_hw_params()
1256 m = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sof_ipc4_update_hw_params()
1654 m = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_sof_get_nhlt_endpoint_data()
1709 BIT(SNDRV_PCM_HW_PARAM_FORMAT); in sof_ipc4_adjust_params_to_dai_format()
1735 if (params_mask & BIT(SNDRV_PCM_HW_PARAM_FORMAT)) { in sof_ipc4_adjust_params_to_dai_format()
1738 params_mask &= ~BIT(SNDRV_PCM_HW_PARAM_FORMAT); in sof_ipc4_adjust_params_to_dai_format()
2151 BIT(SNDRV_PCM_HW_PARAM_FORMAT) | in sof_ipc4_prepare_copier_module()
2399 BIT(SNDRV_PCM_HW_PARAM_FORMAT) | in sof_ipc4_prepare_src_module()
2535 BIT(SNDRV_PCM_HW_PARAM_FORMAT) | in sof_ipc4_prepare_process_module()
/linux-6.15/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()

123