Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/usb/
A Dformat.c36 u64 pcm_formats = 0; in parse_audio_format_i_type() local
56 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
71 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
80 if ((pcm_formats == 0) && in parse_audio_format_i_type()
102 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
117 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()
131 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
133 pcm_formats |= SNDRV_PCM_FMTBIT_U8; in parse_audio_format_i_type()
139 pcm_formats |= SNDRV_PCM_FMTBIT_A_LAW; in parse_audio_format_i_type()
142 pcm_formats |= SNDRV_PCM_FMTBIT_MU_LAW; in parse_audio_format_i_type()
[all …]
/linux-6.3-rc2/sound/core/
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()
435 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.3-rc2/sound/hda/
A Dhdac_sysfs.c273 static WIDGET_ATTR_RO(pcm_formats);

Completed in 6 milliseconds