Home
last modified time | relevance | path

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

/sound/usb/
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()
75 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
84 if ((pcm_formats == 0) && in parse_audio_format_i_type()
106 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
110 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
112 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; in parse_audio_format_i_type()
116 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
118 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; in parse_audio_format_i_type()
121 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()
[all …]
/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()
/sound/hda/
Dhdac_sysfs.c273 static WIDGET_ATTR_RO(pcm_formats);