Home
last modified time | relevance | path

Searched refs:pcm_formats (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/sound/usb/
H A Dformat.c36 u64 pcm_formats = 0; in parse_audio_format_i_type() local
60 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
77 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
89 if ((pcm_formats == 0) && in parse_audio_format_i_type()
111 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
126 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()
140 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
142 pcm_formats |= SNDRV_PCM_FMTBIT_U8; in parse_audio_format_i_type()
147 pcm_formats |= SNDRV_PCM_FMTBIT_A_LAW; in parse_audio_format_i_type()
149 pcm_formats |= SNDRV_PCM_FMTBIT_MU_LAW; in parse_audio_format_i_type()
[all …]
/linux-6.15/sound/core/
H A Dpcm_misc.c50 static const struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { variable
269 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
318 val = pcm_formats[(INT)format].le; in snd_pcm_format_little_endian()
355 val = pcm_formats[(INT)format].width; in snd_pcm_format_width()
374 val = pcm_formats[(INT)format].phys; in snd_pcm_format_physical_width()
408 if (! pcm_formats[(INT)format].phys) in snd_pcm_format_silence_64()
410 return pcm_formats[(INT)format].silence; in snd_pcm_format_silence_64()
434 width = pcm_formats[(INT)format].phys; /* physical width */ in snd_pcm_format_set_silence()
437 pat = pcm_formats[(INT)format].silence; in snd_pcm_format_set_silence()
439 if (pcm_formats[(INT)format].signd == 1 || width <= 8) { in snd_pcm_format_set_silence()
/linux-6.15/sound/soc/sunxi/
H A Dsun4i-i2s.c179 u64 pcm_formats; member
1106 i2s->variant->pcm_formats); in sun4i_i2s_dai_startup()
1364 .pcm_formats = SUN4I_FORMATS_A10,
1383 .pcm_formats = SUN4I_FORMATS_A10,
1407 .pcm_formats = SUN4I_FORMATS_A10,
1426 .pcm_formats = SUN4I_FORMATS_H3,
1445 .pcm_formats = SUN4I_FORMATS_H3,
1464 .pcm_formats = SUN4I_FORMATS_H3,
1483 .pcm_formats = SUN4I_FORMATS_H3,
/linux-6.15/include/uapi/sound/
H A Dcompress_params.h384 __u32 pcm_formats; member
/linux-6.15/sound/hda/
H A Dhdac_sysfs.c273 static WIDGET_ATTR_RO(pcm_formats);
/linux-6.15/sound/soc/fsl/
H A Dfsl_asrc_m2m.c598 codec->descriptor[j].pcm_formats = cap.fmt_out; in fsl_asrc_m2m_fill_codec_caps()