Home
last modified time | relevance | path

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

/linux-6.1.9/sound/usb/
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()
106 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
108 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; in parse_audio_format_i_type()
112 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
114 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; in parse_audio_format_i_type()
117 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()
[all …]
/linux-6.1.9/sound/core/
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.1.9/sound/hda/
Dhdac_sysfs.c273 static WIDGET_ATTR_RO(pcm_formats);