Home
last modified time | relevance | path

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

12

/linux/include/sound/
H A 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 …]
H A Dpcm.h257 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
266 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, in constrs_mask()
978 static inline struct snd_mask *hw_param_mask(struct snd_pcm_hw_params *params, in hw_param_mask()
990 static inline const struct snd_mask *hw_param_mask_c(const struct snd_pcm_hw_params *params, in hw_param_mask_c()
/linux/sound/core/oss/
H A Dpcm_plugin.h113 const struct snd_mask *format_mask);
145 static inline int snd_pcm_plug_slave_format(int format, const struct snd_mask *format_mask) { retur… in snd_pcm_plug_slave_format()
H A Dpcm_plugin.c277 static int snd_pcm_plug_formats(const struct snd_mask *mask, in snd_pcm_plug_formats()
280 struct snd_mask formats = *mask; in snd_pcm_plug_formats()
321 const struct snd_mask *format_mask) in snd_pcm_plug_slave_format()
H A 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()
444 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
857 const struct snd_mask *sformat_mask; in snd_pcm_oss_change_params_locked()
858 struct snd_mask mask; in snd_pcm_oss_change_params_locked()
1840 const struct snd_mask *format_mask; in snd_pcm_oss_get_formats()
/linux/sound/core/
H A Dpcm_param_trace.h29 …bstream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *c…
H A Dpcm_native.c288 struct snd_mask *m; in constrain_mask_params()
290 struct snd_mask old_mask __maybe_unused; in constrain_mask_params()
366 struct snd_mask old_mask __maybe_unused; in constrain_params_by_rules()
476 const struct snd_mask *m; in fixup_unreferenced_params()
477 struct snd_mask *m_rw; in fixup_unreferenced_params()
671 struct snd_mask old_mask __maybe_unused; in snd_pcm_hw_params_choose()
2379 struct snd_mask m; in snd_pcm_hw_rule_format()
2380 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
2464 struct snd_mask *sfmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_SUBFORMAT); in snd_pcm_hw_rule_subformats()
2465 struct snd_mask *fmas in snd_pcm_hw_rule_subformats()
[all...]
H A 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 */
H A Dpcm_lib.c1223 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask()
1245 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64()
1601 const struct snd_mask *mask = hw_param_mask_c(params, var); in snd_pcm_hw_param_value()
/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()
117 struct snd_mask f_new; in framer_dai_hw_rule_format_by_channels()
/linux/tools/include/uapi/sound/
H A Dasound.h
/linux/include/uapi/sound/
H A Dasound.h404 struct snd_mask { struct
410 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - argument
412 struct snd_mask mres[5]; /* reserved masks */
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h404 struct snd_mask { struct
410 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - argument
412 struct snd_mask mres[5]; /* reserved masks */
/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()
101 struct snd_mask fmt; 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()
163 struct snd_mask fmt; 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/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()
1328 struct snd_mask nfmt; 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()
1351 struct snd_mask nfmt; 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()
1431 struct snd_mask nfmt; in davinci_mcasp_hw_rule_format()
/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()
/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/sound/usb/
H A Dpcm.c730 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
732 struct snd_mask check_fmts; in hw_check_valid_format()
901 static int apply_hw_params_format_bits(struct snd_mask *fmt, u64 fbits) in apply_hw_params_format_bits()
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.c256 struct snd_mask *formats = in alsa_hw_rule()
271 struct snd_mask mask; in alsa_hw_rule()
/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/Documentation/sound/designs/
H A Dtracepoints.rst50 struct snd_mask and represent mask values. As of PCM protocol

12