Home
last modified time | relevance | path

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

/linux-4.4.14/include/sound/
Dpcm_params.h43 return sizeof(struct snd_mask); in snd_mask_sizeof()
46 static inline void snd_mask_none(struct snd_mask *mask) in snd_mask_none()
51 static inline void snd_mask_any(struct snd_mask *mask) in snd_mask_any()
56 static inline int snd_mask_empty(const struct snd_mask *mask) in snd_mask_empty()
65 static inline unsigned int snd_mask_min(const struct snd_mask *mask) in snd_mask_min()
75 static inline unsigned int snd_mask_max(const struct snd_mask *mask) in snd_mask_max()
85 static inline void snd_mask_set(struct snd_mask *mask, unsigned int val) in snd_mask_set()
90 static inline void snd_mask_reset(struct snd_mask *mask, unsigned int val) in snd_mask_reset()
95 static inline void snd_mask_set_range(struct snd_mask *mask, in snd_mask_set_range()
103 static inline void snd_mask_reset_range(struct snd_mask *mask, in snd_mask_reset_range()
[all …]
Dpcm.h235 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
244 static inline struct snd_mask *constrs_mask(struct snd_pcm_hw_constraints *constrs, in constrs_mask()
883 static inline struct snd_mask *hw_param_mask(struct snd_pcm_hw_params *params, in hw_param_mask()
895 static inline const struct snd_mask *hw_param_mask_c(const struct snd_pcm_hw_params *params, in hw_param_mask_c()
/linux-4.4.14/sound/core/oss/
Dpcm_plugin.h129 struct snd_mask *format_mask);
175 static inline int snd_pcm_plug_slave_format(int format, struct snd_mask *format_mask) { return form… in snd_pcm_plug_slave_format()
Dpcm_plugin.c269 static int snd_pcm_plug_formats(struct snd_mask *mask, snd_pcm_format_t format) in snd_pcm_plug_formats()
271 struct snd_mask formats = *mask; in snd_pcm_plug_formats()
312 struct snd_mask *format_mask) in snd_pcm_plug_slave_format()
Dpcm_oss.c195 const struct snd_mask *val) in _snd_pcm_hw_param_mask()
209 const struct snd_mask *val) in snd_pcm_hw_param_mask()
478 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
849 struct snd_mask sformat_mask; in snd_pcm_oss_change_params()
850 struct snd_mask mask; in snd_pcm_oss_change_params()
1782 struct snd_mask format_mask; in snd_pcm_oss_get_formats()
/linux-4.4.14/include/uapi/sound/
Dasound.h372 struct snd_mask { struct
378 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - argument
380 struct snd_mask mres[5]; /* reserved masks */
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c123 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels()
124 struct snd_mask fmt; in hw_rule_capture_format_by_channels()
151 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format()
185 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels()
186 struct snd_mask fmt; in hw_rule_playback_format_by_channels()
220 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_channels_by_format()
/linux-4.4.14/drivers/usb/gadget/function/
Du_uac1.c48 struct snd_mask *m = hw_param_mask(params, var); in _snd_pcm_hw_param_set()
/linux-4.4.14/sound/core/
Dpcm_compat.c79 …struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; /* this m…
80 struct snd_mask mres[5]; /* reserved masks */
Dpcm_lib.c1202 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask()
1224 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64()
1588 const struct snd_mask *mask = hw_param_mask_c(params, var); in snd_pcm_hw_param_value()
Dpcm_native.c286 struct snd_mask *m = NULL; in snd_pcm_hw_refine()
1943 struct snd_mask m; in snd_pcm_hw_rule_format()
1944 struct snd_mask *mask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
/linux-4.4.14/sound/usb/
Dpcm.c870 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format()
872 struct snd_mask check_fmts; in hw_check_valid_format()
1017 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_format()
/linux-4.4.14/sound/soc/fsl/
Dfsl-asoc-card.c179 struct snd_mask *mask; in be_hw_params_fixup()
/linux-4.4.14/sound/sparc/
Ddbri.c2003 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_format()
2004 struct snd_mask fmt; in snd_hw_rule_format()
2019 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_channels()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c1182 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in davinci_mcasp_hw_rule_format()
1183 struct snd_mask nfmt; in davinci_mcasp_hw_rule_format()
/linux-4.4.14/sound/drivers/
Daloop.c625 struct snd_mask *maskp = hw_param_mask(params, rule->var); in rule_format()