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 |= SNDRV_PCM_FMTBIT_S32_LE; in parse_audio_format_i_type()
[all …]
/linux/sound/core/
H A Dpcm_misc.c32 static const struct pcm_format_data pcm_formats[SNDRV_PCM_FORMAT_LAST+1] = { in valid_format()
251 val = pcm_formats[format].signd; in snd_pcm_format_signed()
300 val = pcm_formats[format].le; in snd_pcm_format_little_endian()
337 val = pcm_formats[format].width; in snd_pcm_format_width()
356 val = pcm_formats[format].phys; in snd_pcm_format_physical_width()
390 if (! pcm_formats[format].phys) in snd_pcm_format_silence_64()
392 return pcm_formats[format].silence; in snd_pcm_format_silence_64()
416 width = pcm_formats[format].phys; /* physical width */ in snd_pcm_format_set_silence()
419 pat = pcm_formats[format].silence; in snd_pcm_format_set_silence()
421 if (pcm_formats[forma in snd_pcm_format_set_silence()
35 static const struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = { global() variable
[all...]
/linux/sound/soc/sunxi/
H A Dsun4i-i2s.c159 * @pcm_formats: available PCM formats.
179 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
[all...]
/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()