/linux/tools/include/uapi/sound/ |
H A D | asound.h |
|
/linux/include/uapi/sound/ |
H A D | asound.h | 180 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 D | asound.h | 180 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 D | pcm_misc.c | 45 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 D | sound_kunit.c | 20 #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 D | pcm_plugin.h | 34 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 D | pcm_plugin.c | 278 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 D | route.c | 28 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 D | linear.c | 117 snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in init_data()
|
/linux/include/sound/ |
H A D | pcm.h | 380 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 D | pcm_params.h | 72 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 D | ad1843.h | 35 snd_pcm_format_t fmt, 41 snd_pcm_format_t fmt,
|
H A D | sb16_csp.h | 35 int (*csp_autoload) (struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode);
|
H A D | hdmi-codec.h | 40 snd_pcm_format_t bit_fmt;
|
/linux/sound/soc/ |
H A D | soc-utils-test.c | 14 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 D | mt8183-dai-tdm.c | 72 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 D | framer-codec.c | 74 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 D | mt8192-dai-tdm.c | 70 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 D | fsl_asrc_common.h | 93 snd_pcm_format_t asrc_format;
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-afe-fe-dai.h | 50 int id, snd_pcm_format_t format);
|
/linux/sound/aoa/soundbus/i2sbus/ |
H A D | i2sbus.h | 70 snd_pcm_format_t format;
|
/linux/sound/pci/pcxhr/ |
H A D | pcxhr.h | 127 snd_pcm_format_t format;
|
/linux/sound/mips/ |
H A D | ad1843.c | 377 snd_pcm_format_t fmt, in ad1843_setup_dac() 436 snd_pcm_format_t fmt, in ad1843_setup_adc()
|
/linux/sound/virtio/ |
H A D | virtio_pcm_ops.c | 41 snd_pcm_format_t alsa_bit; 157 snd_pcm_format_t format, in virtsnd_pcm_dev_set_params()
|
/linux/sound/soc/qcom/ |
H A D | storm.c | 24 snd_pcm_format_t format = params_format(params); in storm_ops_hw_params()
|