Home
last modified time | relevance | path

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

/linux/sound/usb/
H A Dformat.c36 u64 pcm_formats = 0; in parse_audio_format_i_type() local
61 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
78 pcm_formats |= SNDRV_PCM_FMTBIT_SPECIAL; in parse_audio_format_i_type()
91 if ((pcm_formats == 0) && in parse_audio_format_i_type()
113 pcm_formats |= SNDRV_PCM_FMTBIT_S8; in parse_audio_format_i_type()
117 pcm_formats |= SNDRV_PCM_FMTBIT_S16_BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
119 pcm_formats |= SNDRV_PCM_FMTBIT_S16_LE; in parse_audio_format_i_type()
123 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3BE; /* grrr, big endian!! */ in parse_audio_format_i_type()
125 pcm_formats |= SNDRV_PCM_FMTBIT_S24_3LE; in parse_audio_format_i_type()
128 pcm_formats | in parse_audio_format_i_type()
[all...]
/linux/sound/core/
H A Dpcm_misc.c35 static const struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { variable
254 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
303 val = pcm_formats[(INT)format].le; in snd_pcm_format_little_endian()
340 val = pcm_formats[(INT)format].width; in snd_pcm_format_width()
359 val = pcm_formats[(INT)format].phys; in snd_pcm_format_physical_width()
393 if (! pcm_formats[(INT)format].phys) in snd_pcm_format_silence_64()
395 return pcm_formats[(INT)format].silence; in snd_pcm_format_silence_64()
419 width = pcm_formats[(INT)format].phys; /* physical width */ in snd_pcm_format_set_silence()
422 pat = pcm_formats[(INT)format].silence; in snd_pcm_format_set_silence()
424 if (pcm_formats[(INT)format].signd == 1 || width <= 8) { in snd_pcm_format_set_silence()
/linux/sound/soc/sunxi/
H A Dsun4i-i2s.c179 u64 pcm_formats; member
1106 i2s->variant->pcm_formats); in sun4i_i2s_dai_startup()
1364 .pcm_formats = SUN4I_FORMATS_A10,
1383 .pcm_formats = SUN4I_FORMATS_A10,
1407 .pcm_formats = SUN4I_FORMATS_A10,
1426 .pcm_formats = SUN4I_FORMATS_H3,
1445 .pcm_formats = SUN4I_FORMATS_H3,
1464 .pcm_formats = SUN4I_FORMATS_H3,
1483 .pcm_formats = SUN4I_FORMATS_H3,
/linux/sound/hda/core/
H A Dsysfs.c273 static WIDGET_ATTR_RO(pcm_formats);
/linux/sound/soc/fsl/
H A Dfsl_asrc_m2m.c604 codec->descriptor[j].pcm_formats = cap.fmt_out; in fsl_asrc_m2m_fill_codec_caps()