Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/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)
196 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
197 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
209 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
[all …]
/openbmc/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)
196 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
197 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
209 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
[all …]
/openbmc/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 …]
/openbmc/linux/sound/core/oss/
H A Dpcm_plugin.h34 snd_pcm_format_t format;
113 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
135 size_t samples, snd_pcm_format_t format);
140 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()
/openbmc/linux/include/sound/
H A Dad1843.h35 snd_pcm_format_t fmt,
41 snd_pcm_format_t fmt,
H A Dpcm.h363 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
1106 int snd_pcm_format_signed(snd_pcm_format_t format);
1107 int snd_pcm_format_unsigned(snd_pcm_format_t format);
1108 int snd_pcm_format_linear(snd_pcm_format_t format);
1109 int snd_pcm_format_little_endian(snd_pcm_format_t format);
1110 int snd_pcm_format_big_endian(snd_pcm_format_t format);
1119 int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
1126 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
1449 const char *snd_pcm_format_name(snd_pcm_format_t format);
1535 static inline u64 pcm_format_to_bits(snd_pcm_format_t pcm_format) in pcm_format_to_bits()
[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()
366 params_set_format(struct snd_pcm_hw_params *p, snd_pcm_format_t fmt) in params_set_format()
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.h41 snd_pcm_format_t bit_fmt;
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/fsl/
H A Dfsl_asrc_common.h93 snd_pcm_format_t asrc_format;
H A Dfsl_qmc_audio.c324 snd_pcm_format_t format = params_format(params); in qmc_dai_hw_rule_channels_by_format()
375 snd_pcm_format_t format; in qmc_dai_hw_rule_format_by_channels()
556 snd_pcm_format_t format; in qmc_audio_formats()
/openbmc/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()
/openbmc/linux/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.h50 int id, snd_pcm_format_t format);
/openbmc/qemu/audio/
H A Dalsaaudio.c63 snd_pcm_format_t fmt;
267 static snd_pcm_format_t aud_to_alsafmt (AudioFormat fmt, int endianness) in aud_to_alsafmt()
320 static int alsa_to_audfmt (snd_pcm_format_t alsafmt, AudioFormat *fmt, in alsa_to_audfmt()
394 snd_pcm_format_t obtfmt, in alsa_dump_info()
451 snd_pcm_format_t obtfmt; in alsa_open()
/openbmc/linux/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h71 snd_pcm_format_t format;
/openbmc/linux/sound/pci/pcxhr/
H A Dpcxhr.h127 snd_pcm_format_t format;
/openbmc/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()
/openbmc/linux/sound/soc/qcom/
H A Dstorm.c24 snd_pcm_format_t format = params_format(params); in storm_ops_hw_params()
/openbmc/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()
/openbmc/linux/sound/usb/
H A Dcard.h139 snd_pcm_format_t cur_format;

1234