Home
last modified time | relevance | path

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

1234

/linux/tools/include/uapi/sound/
H A Dasound.h
/linux/include/uapi/sound/
H A Dasound.h180 typedef int __bitwise snd_pcm_format_t; typedef
181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
186 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
187 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
188 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
189 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h180 typedef int __bitwise snd_pcm_format_t; typedef
181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
186 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
187 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
188 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
189 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
[all …]
/linux/sound/core/
H A Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format()
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed()
283 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned()
300 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear()
313 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian()
332 int snd_pcm_format_big_endian(snd_pcm_format_t format) in snd_pcm_format_big_endian()
350 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width()
369 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width()
389 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size()
404 const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format) in snd_pcm_format_silence_64()
[all …]
H A Dsound_kunit.c20 #define WRONG_FORMAT_1 (__force snd_pcm_format_t)((__force int)SNDRV_PCM_FORMAT_LAST + 1)
21 #define WRONG_FORMAT_2 (__force snd_pcm_format_t)-1
32 snd_pcm_format_t format;
/linux/sound/core/oss/
H A Dpcm_plugin.h34 snd_pcm_format_t format;
112 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
134 size_t samples, snd_pcm_format_t format);
139 size_t samples, snd_pcm_format_t format);
H A Dpcm_plugin.c278 snd_pcm_format_t format) in snd_pcm_plug_formats()
299 static const snd_pcm_format_t preferred_formats[] = {
320 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, in snd_pcm_plug_slave_format()
328 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
334 snd_pcm_format_t best_format = (__force snd_pcm_format_t)-1; in snd_pcm_plug_slave_format()
336 snd_pcm_format_t f = preferred_formats[i]; in snd_pcm_plug_slave_format()
355 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
360 snd_pcm_format_t format1 = preferred_formats[i]; in snd_pcm_plug_slave_format()
366 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
673 size_t samples, snd_pcm_format_t format) in snd_pcm_area_silence()
[all …]
H A 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()
H A Dlinear.c117 snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in init_data()
/linux/include/sound/
H A Dpcm.h380 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
1138 int snd_pcm_format_signed(snd_pcm_format_t format);
1139 int snd_pcm_format_unsigned(snd_pcm_format_t format);
1140 int snd_pcm_format_linear(snd_pcm_format_t format);
1141 int snd_pcm_format_little_endian(snd_pcm_format_t format);
1142 int snd_pcm_format_big_endian(snd_pcm_format_t format);
1151 int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
1158 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
1159 int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
1160 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
[all …]
H A Dpcm_params.h72 snd_pcm_format_t format) in snd_mask_set_format()
133 snd_pcm_format_t format) in snd_mask_test_format()
313 static inline snd_pcm_format_t params_format(const struct snd_pcm_hw_params *p) in params_format()
315 return (__force snd_pcm_format_t)snd_mask_min(hw_param_mask_c(p, in params_format()
368 params_set_format(struct snd_pcm_hw_params *p, snd_pcm_format_t fmt) in params_set_format()
H A Dad1843.h35 snd_pcm_format_t fmt,
41 snd_pcm_format_t fmt,
H A Dsb16_csp.h35 int (*csp_autoload) (struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode);
H A Dhdmi-codec.h40 snd_pcm_format_t bit_fmt;
/linux/sound/soc/
H A Dsoc-utils-test.c14 snd_pcm_format_t fmt;
119 unsigned int rate, snd_pcm_format_t fmt, in test_tdm_params_to_bclk_one()
174 unsigned int rate, snd_pcm_format_t fmt, in test_snd_soc_params_to_bclk_one()
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c72 static unsigned int get_hdmi_wlen(snd_pcm_format_t format) in get_hdmi_wlen()
78 static unsigned int get_tdm_wlen(snd_pcm_format_t format) in get_tdm_wlen()
84 static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) in get_tdm_channel_bck()
90 static unsigned int get_tdm_lrck_width(snd_pcm_format_t format) in get_tdm_lrck_width()
477 snd_pcm_format_t format = params_format(params); in mtk_dai_tdm_hw_params()
/linux/sound/soc/codecs/
H A Dframer-codec.c74 snd_pcm_format_t format = params_format(params); in framer_dai_hw_rule_channels_by_format()
116 snd_pcm_format_t format; in framer_dai_hw_rule_format_by_channels()
159 snd_pcm_format_t format; in framer_formats()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c70 static unsigned int get_tdm_wlen(snd_pcm_format_t format) in get_tdm_wlen()
76 static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) in get_tdm_channel_bck()
82 static unsigned int get_tdm_lrck_width(snd_pcm_format_t format) in get_tdm_lrck_width()
526 snd_pcm_format_t format = params_format(params); in mtk_dai_tdm_hw_params()
/linux/sound/soc/fsl/
H A Dfsl_asrc_common.h93 snd_pcm_format_t asrc_format;
/linux/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.h50 int id, snd_pcm_format_t format);
/linux/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h70 snd_pcm_format_t format;
/linux/sound/pci/pcxhr/
H A Dpcxhr.h127 snd_pcm_format_t format;
/linux/sound/mips/
H A Dad1843.c377 snd_pcm_format_t fmt, in ad1843_setup_dac()
436 snd_pcm_format_t fmt, in ad1843_setup_adc()
/linux/sound/virtio/
H A Dvirtio_pcm_ops.c41 snd_pcm_format_t alsa_bit;
157 snd_pcm_format_t format, in virtsnd_pcm_dev_set_params()
/linux/sound/soc/qcom/
H A Dstorm.c24 snd_pcm_format_t format = params_format(params); in storm_ops_hw_params()

1234