Symbol: snd_pcm_format_t
include/sound/ad1843.h
35
snd_pcm_format_t fmt,
include/sound/ad1843.h
41
snd_pcm_format_t fmt,
include/sound/hdaudio.h
144
unsigned int snd_hdac_stream_format_bits(snd_pcm_format_t format, snd_pcm_subformat_t subformat,
include/sound/hdmi-codec.h
40
snd_pcm_format_t bit_fmt;
include/sound/pcm.h
1142
int snd_pcm_format_signed(snd_pcm_format_t format);
include/sound/pcm.h
1143
int snd_pcm_format_unsigned(snd_pcm_format_t format);
include/sound/pcm.h
1144
int snd_pcm_format_linear(snd_pcm_format_t format);
include/sound/pcm.h
1145
int snd_pcm_format_little_endian(snd_pcm_format_t format);
include/sound/pcm.h
1146
int snd_pcm_format_big_endian(snd_pcm_format_t format);
include/sound/pcm.h
1155
int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
include/sound/pcm.h
1162
int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
include/sound/pcm.h
1163
int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
include/sound/pcm.h
1164
ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
include/sound/pcm.h
1165
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
include/sound/pcm.h
1166
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
include/sound/pcm.h
1430
const char *snd_pcm_format_name(snd_pcm_format_t format);
include/sound/pcm.h
1516
static inline u64 pcm_format_to_bits(snd_pcm_format_t pcm_format)
include/sound/pcm.h
1528
(f) = (__force snd_pcm_format_t)((__force int)(f) + 1))
include/sound/pcm.h
380
snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
include/sound/pcm_params.h
133
snd_pcm_format_t format)
include/sound/pcm_params.h
313
static inline snd_pcm_format_t params_format(const struct snd_pcm_hw_params *p)
include/sound/pcm_params.h
315
return (__force snd_pcm_format_t)snd_mask_min(hw_param_mask_c(p,
include/sound/pcm_params.h
368
params_set_format(struct snd_pcm_hw_params *p, snd_pcm_format_t fmt)
include/sound/pcm_params.h
72
snd_pcm_format_t format)
include/sound/sb16_csp.h
35
int (*csp_autoload) (struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode);
include/uapi/sound/asound.h
181
#define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
include/uapi/sound/asound.h
182
#define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
include/uapi/sound/asound.h
183
#define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
include/uapi/sound/asound.h
184
#define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
include/uapi/sound/asound.h
185
#define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
include/uapi/sound/asound.h
186
#define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
include/uapi/sound/asound.h
187
#define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
include/uapi/sound/asound.h
188
#define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
include/uapi/sound/asound.h
189
#define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
include/uapi/sound/asound.h
190
#define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */
include/uapi/sound/asound.h
196
#define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
include/uapi/sound/asound.h
197
#define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
include/uapi/sound/asound.h
198
#define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12)
include/uapi/sound/asound.h
199
#define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13)
include/uapi/sound/asound.h
200
#define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
include/uapi/sound/asound.h
201
#define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
include/uapi/sound/asound.h
202
#define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
include/uapi/sound/asound.h
203
#define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
include/uapi/sound/asound.h
204
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18) /* IEC-958 subframe, Little Endian */
include/uapi/sound/asound.h
205
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19) /* IEC-958 subframe, Big Endian */
include/uapi/sound/asound.h
206
#define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20)
include/uapi/sound/asound.h
207
#define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21)
include/uapi/sound/asound.h
208
#define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22)
include/uapi/sound/asound.h
209
#define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
include/uapi/sound/asound.h
210
#define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24)
include/uapi/sound/asound.h
211
#define SNDRV_PCM_FORMAT_S20_LE ((__force snd_pcm_format_t) 25) /* in four bytes, LSB justified */
include/uapi/sound/asound.h
212
#define SNDRV_PCM_FORMAT_S20_BE ((__force snd_pcm_format_t) 26) /* in four bytes, LSB justified */
include/uapi/sound/asound.h
213
#define SNDRV_PCM_FORMAT_U20_LE ((__force snd_pcm_format_t) 27) /* in four bytes, LSB justified */
include/uapi/sound/asound.h
214
#define SNDRV_PCM_FORMAT_U20_BE ((__force snd_pcm_format_t) 28) /* in four bytes, LSB justified */
include/uapi/sound/asound.h
216
#define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31)
include/uapi/sound/asound.h
217
#define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) /* in three bytes */
include/uapi/sound/asound.h
218
#define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) /* in three bytes */
include/uapi/sound/asound.h
219
#define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) /* in three bytes */
include/uapi/sound/asound.h
220
#define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) /* in three bytes */
include/uapi/sound/asound.h
221
#define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) /* in three bytes */
include/uapi/sound/asound.h
222
#define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37) /* in three bytes */
include/uapi/sound/asound.h
223
#define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38) /* in three bytes */
include/uapi/sound/asound.h
224
#define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39) /* in three bytes */
include/uapi/sound/asound.h
225
#define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40) /* in three bytes */
include/uapi/sound/asound.h
226
#define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41) /* in three bytes */
include/uapi/sound/asound.h
227
#define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42) /* in three bytes */
include/uapi/sound/asound.h
228
#define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43) /* in three bytes */
include/uapi/sound/asound.h
229
#define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44) /* 8 samples in 3 bytes */
include/uapi/sound/asound.h
230
#define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45) /* 1 sample in 1 byte */
include/uapi/sound/asound.h
231
#define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46) /* 8 Samples in 5 bytes */
include/uapi/sound/asound.h
232
#define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47) /* 1 sample in 1 byte */
include/uapi/sound/asound.h
233
#define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48) /* DSD, 1-byte samples DSD (x8) */
include/uapi/sound/asound.h
234
#define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49) /* DSD, 2-byte samples DSD (x16), little endian */
include/uapi/sound/asound.h
235
#define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50) /* DSD, 4-byte samples DSD (x32), little endian */
include/uapi/sound/asound.h
236
#define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51) /* DSD, 2-byte samples DSD (x16), big endian */
include/uapi/sound/asound.h
237
#define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52) /* DSD, 4-byte samples DSD (x32), big endian */
sound/aoa/soundbus/i2sbus/i2sbus.h
70
snd_pcm_format_t format;
sound/core/oss/linear.c
102
snd_pcm_format_t src_format, snd_pcm_format_t dst_format)
sound/core/oss/mulaw.c
265
static void init_data(struct mulaw_priv *data, snd_pcm_format_t format)
sound/core/oss/pcm_oss.c
1663
snd_pcm_format_t format;
sound/core/oss/pcm_oss.c
1878
int f = snd_pcm_oss_format_to((__force snd_pcm_format_t)fmt);
sound/core/oss/pcm_oss.c
627
static snd_pcm_format_t snd_pcm_oss_format_from(int format)
sound/core/oss/pcm_oss.c
651
static int snd_pcm_oss_format_to(snd_pcm_format_t format)
sound/core/oss/pcm_oss.c
857
snd_pcm_format_t format, sformat;
sound/core/oss/pcm_plugin.c
263
snd_pcm_format_t format)
sound/core/oss/pcm_plugin.c
284
static const snd_pcm_format_t preferred_formats[] = {
sound/core/oss/pcm_plugin.c
305
snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
sound/core/oss/pcm_plugin.c
313
return (__force snd_pcm_format_t)-EINVAL;
sound/core/oss/pcm_plugin.c
319
snd_pcm_format_t best_format = (__force snd_pcm_format_t)-1;
sound/core/oss/pcm_plugin.c
321
snd_pcm_format_t f = preferred_formats[i];
sound/core/oss/pcm_plugin.c
340
return (__force snd_pcm_format_t)-EINVAL;
sound/core/oss/pcm_plugin.c
345
snd_pcm_format_t format1 = preferred_formats[i];
sound/core/oss/pcm_plugin.c
351
return (__force snd_pcm_format_t)-EINVAL;
sound/core/oss/pcm_plugin.c
658
size_t samples, snd_pcm_format_t format)
sound/core/oss/pcm_plugin.c
705
size_t samples, snd_pcm_format_t format)
sound/core/oss/pcm_plugin.h
112
snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
sound/core/oss/pcm_plugin.h
134
size_t samples, snd_pcm_format_t format);
sound/core/oss/pcm_plugin.h
139
size_t samples, snd_pcm_format_t format);
sound/core/oss/pcm_plugin.h
34
snd_pcm_format_t format;
sound/core/oss/route.c
13
snd_pcm_uframes_t frames, snd_pcm_format_t format)
sound/core/oss/route.c
26
snd_pcm_uframes_t frames, snd_pcm_format_t format)
sound/core/oss/route.c
39
snd_pcm_format_t format;
sound/core/pcm.c
212
const char *snd_pcm_format_name(snd_pcm_format_t format)
sound/core/pcm_dmaengine.c
415
snd_pcm_format_t i;
sound/core/pcm_lib.c
1739
snd_pcm_format_t format = params_format(p);
sound/core/pcm_lib.c
1818
snd_pcm_format_t format;
sound/core/pcm_misc.c
249
int snd_pcm_format_signed(snd_pcm_format_t format)
sound/core/pcm_misc.c
268
int snd_pcm_format_unsigned(snd_pcm_format_t format)
sound/core/pcm_misc.c
285
int snd_pcm_format_linear(snd_pcm_format_t format)
sound/core/pcm_misc.c
298
int snd_pcm_format_little_endian(snd_pcm_format_t format)
sound/core/pcm_misc.c
30
static bool valid_format(snd_pcm_format_t format)
sound/core/pcm_misc.c
317
int snd_pcm_format_big_endian(snd_pcm_format_t format)
sound/core/pcm_misc.c
335
int snd_pcm_format_width(snd_pcm_format_t format)
sound/core/pcm_misc.c
354
int snd_pcm_format_physical_width(snd_pcm_format_t format)
sound/core/pcm_misc.c
374
ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples)
sound/core/pcm_misc.c
389
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format)
sound/core/pcm_misc.c
409
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples)
sound/core/pcm_native.c
2450
snd_pcm_format_t k;
sound/core/pcm_native.c
2473
snd_pcm_format_t k;
sound/core/pcm_native.c
2541
snd_pcm_format_t f;
sound/core/pcm_native.c
492
snd_pcm_format_t format = (__force snd_pcm_format_t)snd_mask_min(m);
sound/core/pcm_native.c
500
snd_pcm_format_t format = (__force snd_pcm_format_t)snd_mask_min(m);
sound/core/sound_kunit.c
20
#define WRONG_FORMAT_1 (__force snd_pcm_format_t)((__force int)SNDRV_PCM_FORMAT_LAST + 1)
sound/core/sound_kunit.c
21
#define WRONG_FORMAT_2 (__force snd_pcm_format_t)-1
sound/core/sound_kunit.c
32
snd_pcm_format_t format;
sound/drivers/aloop.c
123
snd_pcm_format_t format;
sound/drivers/dummy.c
895
snd_pcm_format_t i;
sound/hda/core/device.c
726
static snd_pcm_format_t snd_hdac_format_normalize(snd_pcm_format_t format)
sound/hda/core/device.c
758
unsigned int snd_hdac_stream_format_bits(snd_pcm_format_t format, snd_pcm_subformat_t subformat,
sound/isa/ad1816a/ad1816a_lib.c
76
snd_pcm_format_t format,
sound/isa/sb/sb16_csp.c
706
static int snd_sb_csp_autoload(struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode)
sound/isa/sb/sb16_csp.c
83
static int snd_sb_csp_autoload(struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode);
sound/isa/wss/wss_lib.c
529
snd_pcm_format_t format,
sound/mips/ad1843.c
377
snd_pcm_format_t fmt,
sound/mips/ad1843.c
436
snd_pcm_format_t fmt,
sound/pci/asihpi/asihpi.c
283
#define INVALID_FORMAT (__force snd_pcm_format_t)(-1)
sound/pci/asihpi/asihpi.c
285
static const snd_pcm_format_t hpi_to_alsa_formats[] = {
sound/pci/asihpi/asihpi.c
313
snd_pcm_format_t alsa_format,
sound/pci/au88x0/au88x0.h
232
static int vortex_alsafmt_aspfmt(snd_pcm_format_t alsafmt, vortex_t *v);
sound/pci/au88x0/au88x0_core.c
2768
static int vortex_alsafmt_aspfmt(snd_pcm_format_t alsafmt, vortex_t *v)
sound/pci/ctxfi/ctatc.c
176
static unsigned int convert_format(snd_pcm_format_t snd_format,
sound/pci/mixart/mixart.c
503
static int mixart_set_format(struct mixart_stream *stream, snd_pcm_format_t format)
sound/pci/mixart/mixart.c
596
snd_pcm_format_t format;
sound/pci/pcxhr/pcxhr.h
127
snd_pcm_format_t format;
sound/pci/riptide/riptide.c
1004
unsigned char channels, snd_pcm_format_t format)
sound/pci/riptide/riptide.c
1449
snd_pcm_format_t format;
sound/pci/riptide/riptide.c
473
snd_pcm_format_t format;
sound/pci/rme32.c
618
static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format)
sound/pci/rme96.c
901
snd_rme96_playback_setformat(struct rme96 *rme96, snd_pcm_format_t format)
sound/pci/rme96.c
918
snd_rme96_capture_setformat(struct rme96 *rme96, snd_pcm_format_t format)
sound/soc/codecs/framer-codec.c
116
snd_pcm_format_t format;
sound/soc/codecs/framer-codec.c
159
snd_pcm_format_t format;
sound/soc/codecs/framer-codec.c
74
snd_pcm_format_t format = params_format(params);
sound/soc/codecs/pcm186x.c
267
snd_pcm_format_t format = params_format(params);
sound/soc/codecs/tscs42xx.c
812
snd_pcm_format_t format)
sound/soc/codecs/tscs454.c
3113
snd_pcm_format_t format,
sound/soc/fsl/fsl-asoc-card.c
1121
priv->asrc_format = (__force snd_pcm_format_t)asrc_fmt;
sound/soc/fsl/fsl-asoc-card.c
145
snd_pcm_format_t sample_format;
sound/soc/fsl/fsl-asoc-card.c
147
snd_pcm_format_t asrc_format;
sound/soc/fsl/fsl_asrc.c
1361
asrc->asrc_format = (__force snd_pcm_format_t)asrc_fmt;
sound/soc/fsl/fsl_asrc.h
401
snd_pcm_format_t input_format;
sound/soc/fsl/fsl_asrc.h
402
snd_pcm_format_t output_format;
sound/soc/fsl/fsl_asrc_common.h
146
snd_pcm_format_t asrc_format;
sound/soc/fsl/fsl_asrc_common.h
83
snd_pcm_format_t sample_format[2];
sound/soc/fsl/fsl_asrc_m2m.c
370
if (pcm_format_to_bits((__force snd_pcm_format_t)params->codec.format) & cap.fmt_in)
sound/soc/fsl/fsl_asrc_m2m.c
371
pair->sample_format[IN] = (__force snd_pcm_format_t)params->codec.format;
sound/soc/fsl/fsl_asrc_m2m.c
375
if (pcm_format_to_bits((__force snd_pcm_format_t)params->codec.pcm_format) & cap.fmt_out)
sound/soc/fsl/fsl_asrc_m2m.c
376
pair->sample_format[OUT] = (__force snd_pcm_format_t)params->codec.pcm_format;
sound/soc/fsl/fsl_asrc_m2m.c
588
snd_pcm_format_t k;
sound/soc/fsl/fsl_easrc.c
1103
snd_pcm_format_t raw_fmt)
sound/soc/fsl/fsl_easrc.c
1185
snd_pcm_format_t *in_raw_format,
sound/soc/fsl/fsl_easrc.c
1186
snd_pcm_format_t *out_raw_format)
sound/soc/fsl/fsl_easrc.c
1508
snd_pcm_format_t format = params_format(params);
sound/soc/fsl/fsl_easrc.c
2230
easrc->asrc_format = (__force snd_pcm_format_t)asrc_fmt;
sound/soc/fsl/fsl_easrc.c
539
snd_pcm_format_t in_s_fmt, out_s_fmt;
sound/soc/fsl/fsl_easrc.h
572
snd_pcm_format_t sample_format;
sound/soc/fsl/fsl_micfil.c
972
snd_pcm_format_t format = params_format(params);
sound/soc/fsl/fsl_qmc_audio.c
375
snd_pcm_format_t format = params_format(params);
sound/soc/fsl/fsl_qmc_audio.c
425
snd_pcm_format_t format;
sound/soc/fsl/fsl_qmc_audio.c
703
snd_pcm_format_t format;
sound/soc/fsl/imx-card.c
122
snd_pcm_format_t asrc_format;
sound/soc/fsl/imx-card.c
246
snd_pcm_format_t format = params_format(params);
sound/soc/fsl/imx-card.c
687
data->asrc_format = (__force snd_pcm_format_t)asrc_fmt;
sound/soc/fsl/imx-rpmsg.c
41
snd_pcm_format_t format = params_format(params);
sound/soc/img/img-i2s-in.c
223
snd_pcm_format_t format;
sound/soc/img/img-i2s-out.c
221
snd_pcm_format_t format;
sound/soc/img/img-spdif-in.c
634
snd_pcm_format_t format;
sound/soc/img/img-spdif-out.c
231
snd_pcm_format_t format;
sound/soc/intel/avs/probes.c
147
bps = snd_pcm_format_physical_width((__force snd_pcm_format_t)params->codec.format);
sound/soc/intel/boards/bytcr_rt5651.c
366
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/common/mtk-afe-fe-dai.c
130
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/common/mtk-afe-fe-dai.c
525
int id, snd_pcm_format_t format)
sound/soc/mediatek/common/mtk-afe-fe-dai.h
48
int id, snd_pcm_format_t format);
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
55
static unsigned int get_i2s_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
706
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
477
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
72
static unsigned int get_hdmi_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
78
static unsigned int get_tdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
84
static unsigned int get_tdm_channel_bck(snd_pcm_format_t format)
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
90
static unsigned int get_tdm_lrck_width(snd_pcm_format_t format)
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
54
static unsigned int get_i2s_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
934
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8186/mt8186-dai-pcm.c
227
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
375
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
59
static unsigned int get_tdm_lrck_width(snd_pcm_format_t format,
sound/soc/mediatek/mt8186/mt8186-mt6366.c
377
snd_pcm_format_t fmt)
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
2407
static unsigned int mtk_dai_get_dptx_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
2422
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
140
static unsigned int get_etdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
146
static unsigned int get_etdm_lrck_width(snd_pcm_format_t format)
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
955
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
141
static unsigned int get_dptx_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
407
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
78
static unsigned int get_tdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
84
static unsigned int get_tdm_channel_bck(snd_pcm_format_t format)
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
90
static unsigned int get_tdm_lrck_width(snd_pcm_format_t format)
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
1672
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
55
static unsigned int get_i2s_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
526
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
70
static unsigned int get_tdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
76
static unsigned int get_tdm_channel_bck(snd_pcm_format_t format)
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
82
static unsigned int get_tdm_lrck_width(snd_pcm_format_t format)
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
2340
static unsigned int mtk_dai_get_dptx_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
2355
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8196/mt8196-dai-i2s.c
128
static unsigned int get_etdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-i2s.c
134
static unsigned int get_etdm_lrck_width(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-i2s.c
1992
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8196/mt8196-dai-i2s.c
511
static unsigned int get_i2s_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
131
static unsigned int get_dptx_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
403
snd_pcm_format_t format = params_format(params);
sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
68
static unsigned int get_tdm_wlen(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
73
static unsigned int get_tdm_channel_bck(snd_pcm_format_t format)
sound/soc/mediatek/mt8196/mt8196-dai-tdm.c
79
static unsigned int get_tdm_lrck_width(snd_pcm_format_t format)
sound/soc/qcom/lpass-cpu.c
140
snd_pcm_format_t format = params_format(params);
sound/soc/qcom/lpass-hdmi.c
23
snd_pcm_format_t format = params_format(params);
sound/soc/qcom/lpass-platform.c
425
snd_pcm_format_t format = params_format(params);
sound/soc/qcom/storm.c
23
snd_pcm_format_t format = params_format(params);
sound/soc/renesas/siu.h
101
snd_pcm_format_t format;
sound/soc/soc-utils-test.c
119
unsigned int rate, snd_pcm_format_t fmt,
sound/soc/soc-utils-test.c
14
snd_pcm_format_t fmt;
sound/soc/soc-utils-test.c
174
unsigned int rate, snd_pcm_format_t fmt,
sound/soc/sof/intel/hda-dai-ops.c
247
snd_pcm_format_t format;
sound/soc/sof/ipc4-topology.c
1412
snd_pcm_format_t snd_fmt;
sound/soc/stm/stm32_adfsdm.c
173
snd_pcm_format_t format = priv->substream->runtime->format;
sound/soc/tegra/tegra210_adx.c
146
snd_pcm_format_t format,
sound/soc/tegra/tegra210_i2s.c
623
snd_pcm_format_t sample_format;
sound/soc/tegra/tegra210_i2s.c
658
sample_format = (snd_pcm_format_t)i2s->client_sample_format;
sound/soc/ti/davinci-i2s.c
468
snd_pcm_format_t fmt;
sound/soc/ti/davinci-mcasp.c
1601
snd_pcm_format_t i;
sound/soc/ti/davinci-mcasp.c
1624
snd_pcm_format_t i;
sound/soc/ti/davinci-mcasp.c
1710
snd_pcm_format_t i;
sound/sparc/dbri.c
1582
snd_pcm_format_t format, unsigned int channels)
sound/usb/card.h
140
snd_pcm_format_t cur_format;
sound/usb/format.c
730
snd_pcm_format_t pcm_format;
sound/usb/implicit.c
408
snd_pcm_format_t pcm_format)
sound/usb/pcm.c
152
snd_usb_find_format(struct list_head *fmt_list_head, snd_pcm_format_t format,
sound/usb/pcm.c
91
find_format(struct list_head *fmt_list_head, snd_pcm_format_t format,
sound/usb/pcm.h
19
snd_usb_find_format(struct list_head *fmt_list_head, snd_pcm_format_t format,
sound/usb/proc.c
100
snd_pcm_format_t fmt;
sound/usb/qcom/qc_audio_offload.c
292
static snd_pcm_format_t map_pcm_format(enum usb_qmi_audio_format fmt_received)
sound/usb/qcom/qc_audio_offload.c
959
snd_pcm_format_t pcm_format,
sound/usb/usx2y/usbusx2yaudio.c
716
static int usx2y_format_set(struct usx2ydev *usx2y, snd_pcm_format_t format)
sound/usb/usx2y/usbusx2yaudio.c
753
snd_pcm_format_t format = params_format(hw_params);
sound/virtio/virtio_pcm.c
133
snd_pcm_format_t alsa_fmt = g_v2a_format_map[i];
sound/virtio/virtio_pcm.c
32
static const snd_pcm_format_t g_v2a_format_map[] = {
sound/virtio/virtio_pcm_ops.c
158
snd_pcm_format_t format,
sound/virtio/virtio_pcm_ops.c
41
snd_pcm_format_t alsa_bit;
sound/xen/xen_snd_front_alsa.c
175
static int to_sndif_format(snd_pcm_format_t format)
sound/xen/xen_snd_front_alsa.c
69
snd_pcm_format_t alsa;
tools/perf/trace/beauty/include/uapi/sound/asound.h
181
#define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
tools/perf/trace/beauty/include/uapi/sound/asound.h
182
#define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
tools/perf/trace/beauty/include/uapi/sound/asound.h
183
#define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
tools/perf/trace/beauty/include/uapi/sound/asound.h
184
#define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
tools/perf/trace/beauty/include/uapi/sound/asound.h
185
#define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
tools/perf/trace/beauty/include/uapi/sound/asound.h
186
#define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
tools/perf/trace/beauty/include/uapi/sound/asound.h
187
#define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
188
#define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
189
#define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
190
#define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
196
#define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
tools/perf/trace/beauty/include/uapi/sound/asound.h
197
#define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
tools/perf/trace/beauty/include/uapi/sound/asound.h
198
#define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12)
tools/perf/trace/beauty/include/uapi/sound/asound.h
199
#define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13)
tools/perf/trace/beauty/include/uapi/sound/asound.h
200
#define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
tools/perf/trace/beauty/include/uapi/sound/asound.h
201
#define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
tools/perf/trace/beauty/include/uapi/sound/asound.h
202
#define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
tools/perf/trace/beauty/include/uapi/sound/asound.h
203
#define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
tools/perf/trace/beauty/include/uapi/sound/asound.h
204
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18) /* IEC-958 subframe, Little Endian */
tools/perf/trace/beauty/include/uapi/sound/asound.h
205
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19) /* IEC-958 subframe, Big Endian */
tools/perf/trace/beauty/include/uapi/sound/asound.h
206
#define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20)
tools/perf/trace/beauty/include/uapi/sound/asound.h
207
#define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21)
tools/perf/trace/beauty/include/uapi/sound/asound.h
208
#define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22)
tools/perf/trace/beauty/include/uapi/sound/asound.h
209
#define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
tools/perf/trace/beauty/include/uapi/sound/asound.h
210
#define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24)
tools/perf/trace/beauty/include/uapi/sound/asound.h
211
#define SNDRV_PCM_FORMAT_S20_LE ((__force snd_pcm_format_t) 25) /* in four bytes, LSB justified */
tools/perf/trace/beauty/include/uapi/sound/asound.h
212
#define SNDRV_PCM_FORMAT_S20_BE ((__force snd_pcm_format_t) 26) /* in four bytes, LSB justified */
tools/perf/trace/beauty/include/uapi/sound/asound.h
213
#define SNDRV_PCM_FORMAT_U20_LE ((__force snd_pcm_format_t) 27) /* in four bytes, LSB justified */
tools/perf/trace/beauty/include/uapi/sound/asound.h
214
#define SNDRV_PCM_FORMAT_U20_BE ((__force snd_pcm_format_t) 28) /* in four bytes, LSB justified */
tools/perf/trace/beauty/include/uapi/sound/asound.h
216
#define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31)
tools/perf/trace/beauty/include/uapi/sound/asound.h
217
#define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
218
#define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
219
#define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
220
#define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
221
#define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
222
#define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
223
#define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
224
#define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
225
#define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
226
#define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
227
#define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
228
#define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43) /* in three bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
229
#define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44) /* 8 samples in 3 bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
230
#define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45) /* 1 sample in 1 byte */
tools/perf/trace/beauty/include/uapi/sound/asound.h
231
#define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46) /* 8 Samples in 5 bytes */
tools/perf/trace/beauty/include/uapi/sound/asound.h
232
#define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47) /* 1 sample in 1 byte */
tools/perf/trace/beauty/include/uapi/sound/asound.h
233
#define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48) /* DSD, 1-byte samples DSD (x8) */
tools/perf/trace/beauty/include/uapi/sound/asound.h
234
#define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49) /* DSD, 2-byte samples DSD (x16), little endian */
tools/perf/trace/beauty/include/uapi/sound/asound.h
235
#define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50) /* DSD, 4-byte samples DSD (x32), little endian */
tools/perf/trace/beauty/include/uapi/sound/asound.h
236
#define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51) /* DSD, 2-byte samples DSD (x16), big endian */
tools/perf/trace/beauty/include/uapi/sound/asound.h
237
#define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52) /* DSD, 4-byte samples DSD (x32), big endian */
tools/testing/selftests/alsa/pcm-test.c
294
snd_pcm_format_t format, old_format;
tools/testing/selftests/alsa/test-pcmtest-driver.c
30
snd_pcm_format_t format;
tools/testing/selftests/alsa/test-pcmtest-driver.c
78
static size_t get_sec_buf_len(unsigned int rate, unsigned long channels, snd_pcm_format_t format)