| /linux-6.15/sound/soc/codecs/ |
| H A D | framer-codec.c | 113 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 D | soc-utils-test.c | 129 snd_mask_none(hw_param_mask(¶ms, SNDRV_PCM_HW_PARAM_FORMAT)); in test_tdm_params_to_bclk_one() 182 snd_mask_none(hw_param_mask(¶ms, SNDRV_PCM_HW_PARAM_FORMAT)); in test_snd_soc_params_to_bclk_one()
|
| /linux-6.15/sound/pci/echoaudio/ |
| H A D | echoaudio.c | 100 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 D | uniperif_reader.c | 378 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 D | pcm_params.h | 316 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 D | pcm3168a.c | 46 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_pcm3168a_be_fixup()
|
| H A D | max98357a.c | 37 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98357a_be_fixup()
|
| H A D | rt5514.c | 52 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt5514_be_fixup()
|
| H A D | ssm4567.c | 72 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_ssm4567_be_fixup()
|
| H A D | max98927.c | 55 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98927_be_fixup()
|
| H A D | max98373.c | 55 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_max98373_be_fixup()
|
| H A D | rt286.c | 87 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt286_be_fixup()
|
| H A D | rt5663.c | 102 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt5663_be_fixup()
|
| H A D | rt298.c | 98 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt298_be_fixup()
|
| H A D | rt274.c | 137 fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in avs_rt274_be_fixup()
|
| /linux-6.15/sound/usb/ |
| H A D | pcm.c | 730 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 D | davinci-mcasp.c | 1327 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 D | xen_snd_front_alsa.c | 257 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 D | sm8250.c | 43 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 D | fsl_qmc_audio.c | 469 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 D | bdw-rt5650.c | 97 snd_mask_set_format(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in broadwell_ssp0_fixup()
|
| H A D | cht_bsw_nau8824.c | 136 hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in cht_codec_fixup()
|
| /linux-6.15/sound/core/ |
| H A D | pcm_native.c | 484 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 D | ipc4-topology.c | 1236 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 D | u_uac1_legacy.c | 116 _snd_pcm_hw_param_set(params, SNDRV_PCM_HW_PARAM_FORMAT, in playback_default_hw_params()
|