Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/sound/
Dasound.h183 typedef int __bitwise snd_pcm_format_t; typedef
184 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
185 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
186 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
187 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
188 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
189 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
190 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
191 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
192 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/linux-4.4.14/sound/core/
Dpcm_misc.c239 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed()
258 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned()
276 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear()
290 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian()
309 int snd_pcm_format_big_endian(snd_pcm_format_t format) in snd_pcm_format_big_endian()
328 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width()
347 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width()
367 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size()
383 const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format) in snd_pcm_format_silence_64()
404 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence()
Dpcm.c226 const char *snd_pcm_format_name(snd_pcm_format_t format) in snd_pcm_format_name()
Dpcm_lib.c1815 snd_pcm_format_t format; in snd_pcm_lib_ioctl_fifo_size()
/linux-4.4.14/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.c269 static int snd_pcm_plug_formats(struct snd_mask *mask, snd_pcm_format_t format) in snd_pcm_plug_formats()
290 static snd_pcm_format_t preferred_formats[] = {
311 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, in snd_pcm_plug_slave_format()
319 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
325 snd_pcm_format_t best_format = (__force snd_pcm_format_t)-1; in snd_pcm_plug_slave_format()
327 snd_pcm_format_t f = preferred_formats[i]; in snd_pcm_plug_slave_format()
346 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
351 snd_pcm_format_t format1 = preferred_formats[i]; in snd_pcm_plug_slave_format()
356 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
650 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.c659 static snd_pcm_format_t snd_pcm_oss_format_from(int format) in snd_pcm_oss_format_from()
683 static int snd_pcm_oss_format_to(snd_pcm_format_t format) in snd_pcm_oss_format_to()
847 snd_pcm_format_t format, sformat; in snd_pcm_oss_change_params()
900 for (sformat = (__force snd_pcm_format_t)0; in snd_pcm_oss_change_params()
902 sformat = (__force snd_pcm_format_t)((__force int)sformat + 1)) { in snd_pcm_oss_change_params()
1604 snd_pcm_format_t format; in snd_pcm_oss_sync()
/linux-4.4.14/include/sound/
Dad1843.h35 snd_pcm_format_t fmt,
41 snd_pcm_format_t fmt,
Dpcm.h356 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
1043 int snd_pcm_format_signed(snd_pcm_format_t format);
1044 int snd_pcm_format_unsigned(snd_pcm_format_t format);
1045 int snd_pcm_format_linear(snd_pcm_format_t format);
1046 int snd_pcm_format_little_endian(snd_pcm_format_t format);
1047 int snd_pcm_format_big_endian(snd_pcm_format_t format);
1056 int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
1063 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
1064 int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
1065 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
[all …]
Dpcm_params.h317 static inline snd_pcm_format_t params_format(const struct snd_pcm_hw_params *p) in params_format()
319 return (__force snd_pcm_format_t)snd_mask_min(hw_param_mask_c(p, in params_format()
370 params_set_format(struct snd_pcm_hw_params *p, snd_pcm_format_t fmt) in params_set_format()
/linux-4.4.14/sound/firewire/
Damdtp-am824.h45 snd_pcm_format_t format);
Damdtp-am824.c253 void amdtp_am824_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format) in amdtp_am824_set_pcm_format()
/linux-4.4.14/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()
Dimx-wm8962.c53 static snd_pcm_format_t sample_format = SNDRV_PCM_FORMAT_S16_LE;
/linux-4.4.14/sound/usb/
Dendpoint.h12 snd_pcm_format_t pcm_format,
Dcard.h116 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()
Dformat.c376 snd_pcm_format_t pcm_format; in parse_audio_format_i()
Dendpoint.c611 snd_pcm_format_t pcm_format, in data_ep_set_params()
846 snd_pcm_format_t pcm_format, in snd_usb_endpoint_set_params()
Dpcm.c567 snd_pcm_format_t pcm_format) in match_endpoint_audioformats()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Di2sbus.h72 snd_pcm_format_t format;
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x.h121 void amdtp_dot_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format);
Damdtp-dot.c335 void amdtp_dot_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format) in amdtp_dot_set_pcm_format()
/linux-4.4.14/sound/firewire/tascam/
Dtascam.h120 void amdtp_tscm_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format);
Damdtp-tascam.c149 void amdtp_tscm_set_pcm_format(struct amdtp_stream *s, snd_pcm_format_t format) in amdtp_tscm_set_pcm_format()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.h141 snd_pcm_format_t format;
Dpcxhr.c956 snd_pcm_format_t format; in pcxhr_hw_params()
/linux-4.4.14/sound/soc/qcom/
Dstorm.c32 snd_pcm_format_t format = params_format(params); in storm_ops_hw_params()
Dlpass-cpu.c91 snd_pcm_format_t format = params_format(params); in lpass_cpu_daiops_hw_params()
Dlpass-platform.c90 snd_pcm_format_t format = params_format(params); in lpass_platform_pcmops_hw_params()
/linux-4.4.14/sound/mips/
Dad1843.c391 snd_pcm_format_t fmt, in ad1843_setup_dac()
450 snd_pcm_format_t fmt, in ad1843_setup_adc()
/linux-4.4.14/sound/soc/sh/
Dsiu.h115 snd_pcm_format_t format;
/linux-4.4.14/sound/usb/usx2y/
Dusbusx2yaudio.c713 static int usX2Y_format_set(struct usX2Ydev *usX2Y, snd_pcm_format_t format) in usX2Y_format_set()
748 snd_pcm_format_t format = params_format(hw_params); in snd_usX2Y_pcm_hw_params()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-i2s.c428 snd_pcm_format_t fmt; in davinci_i2s_hw_params()
/linux-4.4.14/sound/pci/mixart/
Dmixart.c516 static int mixart_set_format(struct mixart_stream *stream, snd_pcm_format_t format) in mixart_set_format()
609 snd_pcm_format_t format; in snd_mixart_hw_params()
/linux-4.4.14/sound/pci/
Drme96.c925 snd_rme96_playback_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_playback_setformat()
942 snd_rme96_capture_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_capture_setformat()
Drme32.c634 static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) in snd_rme32_setformat()
/linux-4.4.14/sound/pci/riptide/
Driptide.c489 snd_pcm_format_t format;
1462 snd_pcm_format_t format; in snd_riptide_prepare()
/linux-4.4.14/sound/pci/asihpi/
Dasihpi.c314 static snd_pcm_format_t hpi_to_alsa_formats[] = {
341 static int snd_card_asihpi_format_alsa2hpi(snd_pcm_format_t alsa_format, in snd_card_asihpi_format_alsa2hpi()
/linux-4.4.14/sound/pci/ctxfi/
Dctatc.c174 static unsigned int convert_format(snd_pcm_format_t snd_format, in convert_format()
/linux-4.4.14/sound/sparc/
Ddbri.c1577 snd_pcm_format_t format, unsigned int channels) in cs4215_prepare()