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

/linux-4.1.27/sound/usb/
H A Dformat.c49 u64 pcm_formats = 0; parse_audio_format_i_type() local
67 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; parse_audio_format_i_type()
74 if ((pcm_formats == 0) && parse_audio_format_i_type()
96 pcm_formats |= SNDRV_PCM_FMTBIT_S8; parse_audio_format_i_type()
100 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ parse_audio_format_i_type()
102 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; parse_audio_format_i_type()
106 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ parse_audio_format_i_type()
108 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; parse_audio_format_i_type()
111 pcm_formats |= SNDRV_PCM_FMTBIT_S32_LE; parse_audio_format_i_type()
125 pcm_formats |= SNDRV_PCM_FMTBIT_S8; parse_audio_format_i_type()
127 pcm_formats |= SNDRV_PCM_FMTBIT_U8; parse_audio_format_i_type()
130 pcm_formats |= SNDRV_PCM_FMTBIT_FLOAT_LE; parse_audio_format_i_type()
133 pcm_formats |= SNDRV_PCM_FMTBIT_A_LAW; parse_audio_format_i_type()
136 pcm_formats |= SNDRV_PCM_FMTBIT_MU_LAW; parse_audio_format_i_type()
144 pcm_formats |= snd_usb_interface_dsd_format_quirks(chip, fp, sample_bytes); parse_audio_format_i_type()
146 return pcm_formats; parse_audio_format_i_type()
/linux-4.1.27/sound/core/
H A Dpcm_misc.c42 static struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { variable in typeref:struct:pcm_format_data
244 if ((val = pcm_formats[(INT)format].signd) < 0) snd_pcm_format_signed()
295 if ((val = pcm_formats[(INT)format].le) < 0) snd_pcm_format_little_endian()
333 if ((val = pcm_formats[(INT)format].width) == 0) snd_pcm_format_width()
352 if ((val = pcm_formats[(INT)format].phys) == 0) snd_pcm_format_physical_width()
387 if (! pcm_formats[(INT)format].phys) snd_pcm_format_silence_64()
389 return pcm_formats[(INT)format].silence; snd_pcm_format_silence_64()
413 width = pcm_formats[(INT)format].phys; /* physical width */ snd_pcm_format_set_silence()
414 pat = pcm_formats[(INT)format].silence; snd_pcm_format_set_silence()
418 if (pcm_formats[(INT)format].signd == 1 || width <= 8) { snd_pcm_format_set_silence()
/linux-4.1.27/sound/hda/
H A Dhdac_sysfs.c264 static WIDGET_ATTR_RO(pcm_formats);

Completed in 265 milliseconds