Home
last modified time | relevance | path

Searched refs:snd_mask (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.15/include/sound/
Dpcm_params.h26 static inline void snd_mask_none(struct snd_mask *mask) in snd_mask_none()
31 static inline void snd_mask_any(struct snd_mask *mask) in snd_mask_any()
36 static inline int snd_mask_empty(const struct snd_mask *mask) in snd_mask_empty()
45 static inline unsigned int snd_mask_min(const struct snd_mask *mask) in snd_mask_min()
55 static inline unsigned int snd_mask_max(const struct snd_mask *mask) in snd_mask_max()
65 static inline void snd_mask_set(struct snd_mask *mask, unsigned int val) in snd_mask_set()
71 static inline void snd_mask_set_format(struct snd_mask *mask, in snd_mask_set_format()
77 static inline void snd_mask_reset(struct snd_mask *mask, unsigned int val) in snd_mask_reset()
82 static inline void snd_mask_set_range(struct snd_mask *mask, in snd_mask_set_range()
90 static inline void snd_mask_reset_range(struct snd_mask *mask, in snd_mask_reset_range()
[all …]
Dpcm.h239 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
248 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, in constrs_mask()
890 static inline struct snd_mask *hw_param_mask(struct snd_pcm_hw_params *params, in hw_param_mask()
902 static inline const struct snd_mask *hw_param_mask_c(const struct snd_pcm_hw_params *params, in hw_param_mask_c()
/Linux-v5.15/sound/core/oss/
Dpcm_plugin.h114 const struct snd_mask *format_mask);
158 static inline int snd_pcm_plug_slave_format(int format, const struct snd_mask *format_mask) { retur… in snd_pcm_plug_slave_format()
Dpcm_plugin.c274 static int snd_pcm_plug_formats(const struct snd_mask *mask, in snd_pcm_plug_formats()
277 struct snd_mask formats = *mask; in snd_pcm_plug_formats()
318 const struct snd_mask *format_mask) in snd_pcm_plug_slave_format()
Dpcm_oss.c170 const struct snd_mask *val) in _snd_pcm_hw_param_mask()
184 const struct snd_mask *val) in snd_pcm_hw_param_mask()
452 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
846 const struct snd_mask *sformat_mask; in snd_pcm_oss_change_params_locked()
847 struct snd_mask mask; in snd_pcm_oss_change_params_locked()
1827 const struct snd_mask *format_mask; in snd_pcm_oss_get_formats()
/Linux-v5.15/sound/core/
Dpcm_param_trace.h29 …bstream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *c…
Dpcm_compat.c56 …struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; /* this m…
57 struct snd_mask mres[5]; /* reserved masks */
Dpcm_native.c276 struct snd_mask *m; in constrain_mask_params()
278 struct snd_mask old_mask; in constrain_mask_params()
354 struct snd_mask old_mask; in constrain_params_by_rules()
468 const struct snd_mask *m; in fixup_unreferenced_params()
638 struct snd_mask old_mask; in snd_pcm_hw_params_choose()
2340 struct snd_mask m; in snd_pcm_hw_rule_format()
2341 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
/Linux-v5.15/include/uapi/sound/
Dasound.h406 struct snd_mask { struct
412 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - argument
414 struct snd_mask mres[5]; /* reserved masks */
/Linux-v5.15/tools/include/uapi/sound/
Dasound.h406 struct snd_mask { struct
412 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - argument
414 struct snd_mask mres[5]; /* reserved masks */
/Linux-v5.15/sound/usb/
Dpcm.c664 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
666 struct snd_mask check_fmts; in hw_check_valid_format()
787 static int apply_hw_params_format_bits(struct snd_mask *fmt, u64 fbits) in apply_hw_params_format_bits()
810 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format()
884 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format_implicit_fb()
/Linux-v5.15/sound/pci/echoaudio/
Dechoaudio.c111 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels()
112 struct snd_mask fmt; in hw_rule_capture_format_by_channels()
139 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format()
173 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels()
174 struct snd_mask fmt; in hw_rule_playback_format_by_channels()
208 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_channels_by_format()
/Linux-v5.15/sound/soc/intel/boards/
Dcht_bsw_nau8824.c135 struct snd_mask *fmt = in cht_codec_fixup()
Dskl_rt286.c216 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in skylake_ssp0_fixup()
Dkbl_rt5660.c143 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in kabylake_ssp0_fixup()
Dglk_rt5682_max98357a.c123 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in geminilake_ssp_fixup()
Dbxt_rt298.c211 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in broxton_ssp5_fixup()
Dkbl_da7219_max98357a.c149 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in kabylake_ssp_fixup()
Dskl_nau88l25_max98357a.c144 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in skylake_ssp_fixup()
Dskl_nau88l25_ssm4567.c322 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in skylake_ssp_fixup()
/Linux-v5.15/drivers/usb/gadget/function/
Du_uac1_legacy.c45 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
/Linux-v5.15/sound/soc/ti/
Ddavinci-mcasp.c1330 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_slot_width()
1331 struct snd_mask nfmt; in davinci_mcasp_hw_rule_slot_width()
1352 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format_width()
1353 struct snd_mask nfmt; in davinci_mcasp_hw_rule_format_width()
1431 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format()
1432 struct snd_mask nfmt; in davinci_mcasp_hw_rule_format()
/Linux-v5.15/sound/xen/
Dxen_snd_front_alsa.c261 struct snd_mask *formats = in alsa_hw_rule()
276 struct snd_mask mask; in alsa_hw_rule()
/Linux-v5.15/sound/soc/sti/
Dsti_uniperif.c183 struct snd_mask *maskp = hw_param_mask(params, rule->var); in sti_uniperiph_fix_tdm_format()
/Linux-v5.15/sound/soc/qcom/
Dsdm845.c517 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in sdm845_be_hw_params_fixup()

12