Searched refs:pcm_formats (Results 1 – 3 of 3) sorted by relevance
37 u64 pcm_formats = 0; in parse_audio_format_i_type() local55 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()70 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()79 if ((pcm_formats == 0) && in parse_audio_format_i_type()101 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()105 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ in parse_audio_format_i_type()107 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; in parse_audio_format_i_type()111 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ in parse_audio_format_i_type()113 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; in parse_audio_format_i_type()116 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()[all …]
45 static struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { variable264 if ((val = pcm_formats[(INT)format].signd) < 0) in snd_pcm_format_signed()312 if ((val = pcm_formats[(INT)format].le) < 0) in snd_pcm_format_little_endian()348 if ((val = pcm_formats[(INT)format].width) == 0) in snd_pcm_format_width()366 if ((val = pcm_formats[(INT)format].phys) == 0) in snd_pcm_format_physical_width()399 if (! pcm_formats[(INT)format].phys) in snd_pcm_format_silence_64()401 return pcm_formats[(INT)format].silence; in snd_pcm_format_silence_64()424 width = pcm_formats[(INT)format].phys; /* physical width */ in snd_pcm_format_set_silence()425 pat = pcm_formats[(INT)format].silence; in snd_pcm_format_set_silence()429 if (pcm_formats[(INT)format].signd == 1 || width <= 8) { in snd_pcm_format_set_silence()
273 static WIDGET_ATTR_RO(pcm_formats);