Home
last modified time | relevance | path

Searched refs:hw_param_mask (Results 1 – 25 of 26) sorted by relevance

12

/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()
H A Dsoc-dapm.c3955 snd_mask_set(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), fmt); in snd_soc_dai_link_event_pre_pmu()
/linux/drivers/usb/gadget/function/
H A Du_uac1_legacy.c45 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
55 hw_param_mask(params, var), val); in _snd_pcm_hw_param_set()
/linux/sound/core/
H A Dpcm_native.c294 m = hw_param_mask(params, k); in constrain_mask_params()
429 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules()
449 hw_param_mask(params, r->var)); in constrain_params_by_rules()
498 m_rw = hw_param_mask(params, SNDRV_PCM_HW_PARAM_SUBFORMAT); in fixup_unreferenced_params()
679 old_mask = *hw_param_mask(params, *v); in snd_pcm_hw_params_choose()
697 hw_param_mask(params, *v)); 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()
2464 struct snd_mask *sfmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_SUBFORMAT); in snd_pcm_hw_rule_subformats()
2465 struct snd_mask *fmask = hw_param_mask(param in snd_pcm_hw_rule_subformats()
[all...]
H A Dpcm_lib.c1562 snd_mask_any(hw_param_mask(params, var)); in _snd_pcm_hw_param_any()
1624 snd_mask_none(hw_param_mask(params, var)); in _snd_pcm_hw_param_setempty()
1642 changed = snd_mask_refine_first(hw_param_mask(params, var)); in _snd_pcm_hw_param_first()
1688 changed = snd_mask_refine_last(hw_param_mask(params, var)); in _snd_pcm_hw_param_last()
/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/include/sound/
H A Dpcm_params.h370 snd_mask_set_format(hw_param_mask(p, SNDRV_PCM_HW_PARAM_FORMAT), fmt); in params_set_format()
H A Dpcm.h978 static inline struct snd_mask *hw_param_mask(struct snd_pcm_hw_params *params, in hw_param_mask() function
/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()
/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()
/linux/sound/core/oss/
H A Dpcm_oss.c173 changed = snd_mask_refine(hw_param_mask(params, var), val); in _snd_pcm_hw_param_mask()
214 changed = snd_mask_refine_min(hw_param_mask(params, var), in _snd_pcm_hw_param_min()
272 snd_mask_none(hw_param_mask(params, var)); in _snd_pcm_hw_param_max()
275 changed = snd_mask_refine_max(hw_param_mask(params, var), in _snd_pcm_hw_param_max()
444 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
453 changed = snd_mask_refine_set(hw_param_mask(params, var), val); in _snd_pcm_hw_param_set()
/linux/sound/soc/sti/
H A Dsti_uniperif.c183 struct snd_mask *maskp = hw_param_mask(params, rule->var); in sti_uniperiph_fix_tdm_format()
/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/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()
/linux/sound/hda/
H A Dhdac_device.c771 snd_mask_set(hw_param_mask(&params, SNDRV_PCM_HW_PARAM_SUBFORMAT), in snd_hdac_stream_format_bits()
/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()
/linux/sound/xen/
H A Dxen_snd_front_alsa.c257 hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in alsa_hw_rule()
/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/sound/soc/mediatek/mt8192/
H A Dmt8192-mt6359-rt1015-rt5682.c384 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8192_i2s_hw_params_fixup()
/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-mt6359.c575 snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT), in mt8188_dptx_hw_params_fixup()
/linux/sound/ppc/
H A Dpmac.c543 return snd_mask_refine_set(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT),
/linux/sound/drivers/
H A Daloop.c986 return snd_mask_refine(hw_param_mask(params, rule->var), &m); in rule_format()

12