Searched refs:pcm_formats (Results 1 – 2 of 2) sorted by relevance
49 u64 pcm_formats = 0; in parse_audio_format_i_type() local67 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()74 if ((pcm_formats == 0) && in parse_audio_format_i_type()93 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()97 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ in parse_audio_format_i_type()99 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; in parse_audio_format_i_type()103 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ in parse_audio_format_i_type()105 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; in parse_audio_format_i_type()108 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()122 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()[all …]
42 static struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { variable244 if ((val = pcm_formats[(INT)format].signd) < 0) in snd_pcm_format_signed()295 if ((val = pcm_formats[(INT)format].le) < 0) in snd_pcm_format_little_endian()333 if ((val = pcm_formats[(INT)format].width) == 0) in snd_pcm_format_width()352 if ((val = pcm_formats[(INT)format].phys) == 0) in snd_pcm_format_physical_width()387 if (! pcm_formats[(INT)format].phys) in snd_pcm_format_silence_64()389 return pcm_formats[(INT)format].silence; in snd_pcm_format_silence_64()413 width = pcm_formats[(INT)format].phys; /* physical width */ in snd_pcm_format_set_silence()414 pat = pcm_formats[(INT)format].silence; in snd_pcm_format_set_silence()418 if (pcm_formats[(INT)format].signd == 1 || width <= 8) { in snd_pcm_format_set_silence()