Home
last modified time | relevance | path

Searched refs:snd_pcm_format_t (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v4.19/tools/include/uapi/sound/
Dasound.h191 typedef int __bitwise snd_pcm_format_t; typedef
192 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
193 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
194 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
195 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
196 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
197 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
198 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
199 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
200 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/Linux-v4.19/include/uapi/sound/
Dasound.h191 typedef int __bitwise snd_pcm_format_t; typedef
192 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
193 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
194 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
195 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
196 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
197 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
198 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
199 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
200 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/Linux-v4.19/sound/core/
Dpcm_misc.c259 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed()
277 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned()
294 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear()
307 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian()
325 int snd_pcm_format_big_endian(snd_pcm_format_t format) in snd_pcm_format_big_endian()
343 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width()
361 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width()
380 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size()
395 const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format) in snd_pcm_format_silence_64()
415 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence()
/Linux-v4.19/sound/core/oss/
Dpcm_plugin.h49 snd_pcm_format_t format;
128 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
150 size_t samples, snd_pcm_format_t format);
155 size_t samples, snd_pcm_format_t format);
Dpcm_plugin.c270 snd_pcm_format_t format) in snd_pcm_plug_formats()
291 static snd_pcm_format_t preferred_formats[] = {
312 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, in snd_pcm_plug_slave_format()
320 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
326 snd_pcm_format_t best_format = (__force snd_pcm_format_t)-1; in snd_pcm_plug_slave_format()
328 snd_pcm_format_t f = preferred_formats[i]; in snd_pcm_plug_slave_format()
347 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
352 snd_pcm_format_t format1 = preferred_formats[i]; in snd_pcm_plug_slave_format()
358 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
660 size_t samples, snd_pcm_format_t format) in snd_pcm_area_silence()
[all …]
Droute.c28 snd_pcm_uframes_t frames, snd_pcm_format_t format) in zero_areas()
41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area()
54 snd_pcm_format_t format; in route_transfer()
Dlinear.c115 snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in init_data()
Dmulaw.c277 static void init_data(struct mulaw_priv *data, snd_pcm_format_t format) in init_data()
Dpcm_oss.c648 static snd_pcm_format_t snd_pcm_oss_format_from(int format) in snd_pcm_oss_format_from()
672 static int snd_pcm_oss_format_to(snd_pcm_format_t format) in snd_pcm_oss_format_to()
853 snd_pcm_format_t format, sformat; in snd_pcm_oss_change_params_locked()
903 for (sformat = (__force snd_pcm_format_t)0; in snd_pcm_oss_change_params_locked()
905 sformat = (__force snd_pcm_format_t)((__force int)sformat + 1)) { in snd_pcm_oss_change_params_locked()
1646 snd_pcm_format_t format; in snd_pcm_oss_sync()
1854 int f = snd_pcm_oss_format_to((__force snd_pcm_format_t)fmt); in snd_pcm_oss_get_formats()
/Linux-v4.19/include/sound/
Dad1843.h35 snd_pcm_format_t fmt,
41 snd_pcm_format_t fmt,
Dpcm.h367 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
1053 int snd_pcm_format_signed(snd_pcm_format_t format);
1054 int snd_pcm_format_unsigned(snd_pcm_format_t format);
1055 int snd_pcm_format_linear(snd_pcm_format_t format);
1056 int snd_pcm_format_little_endian(snd_pcm_format_t format);
1057 int snd_pcm_format_big_endian(snd_pcm_format_t format);
1066 int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
1073 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
1074 int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
1075 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
[all …]
Dpcm_params.h92 snd_pcm_format_t format) in snd_mask_set_format()
324 static inline snd_pcm_format_t params_format(const struct snd_pcm_hw_params *p) in params_format()
326 return (__force snd_pcm_format_t)snd_mask_min(hw_param_mask_c(p, in params_format()
377 params_set_format(struct snd_pcm_hw_params *p, snd_pcm_format_t fmt) in params_set_format()
Dsb16_csp.h49 int (*csp_autoload) (struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode);
/Linux-v4.19/sound/soc/fsl/
Dwm1133-ev1.c35 snd_pcm_format_t format;
87 snd_pcm_format_t format = params_format(params); in wm1133_ev1_hw_params()
Dfsl-asoc-card.c90 snd_pcm_format_t sample_format;
92 snd_pcm_format_t asrc_format;
/Linux-v4.19/sound/usb/
Dendpoint.h13 snd_pcm_format_t pcm_format,
Dcard.h120 snd_pcm_format_t pcm_format; /* current audio format (for hw_params callback) */
Dproc.c82 snd_pcm_format_t fmt; in proc_dump_substream_formats()
/Linux-v4.19/sound/aoa/soundbus/i2sbus/
Di2sbus.h72 snd_pcm_format_t format;
/Linux-v4.19/sound/pci/pcxhr/
Dpcxhr.h140 snd_pcm_format_t format;
/Linux-v4.19/sound/soc/qcom/
Dstorm.c32 snd_pcm_format_t format = params_format(params); in storm_ops_hw_params()
/Linux-v4.19/sound/mips/
Dad1843.c391 snd_pcm_format_t fmt, in ad1843_setup_dac()
450 snd_pcm_format_t fmt, in ad1843_setup_adc()
/Linux-v4.19/sound/soc/sh/
Dsiu.h101 snd_pcm_format_t format;
/Linux-v4.19/sound/pci/au88x0/
Dau88x0.h244 static int vortex_alsafmt_aspfmt(snd_pcm_format_t alsafmt, vortex_t *v);
/Linux-v4.19/sound/xen/
Dxen_snd_front_alsa.c62 snd_pcm_format_t alsa;
173 static int to_sndif_format(snd_pcm_format_t format) in to_sndif_format()

123