Home
last modified time | relevance | path

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

/openbmc/linux/sound/xen/
H A Dxen_snd_front_alsa.c77 static const struct alsa_sndif_sample_format ALSA_SNDIF_FORMATS[] = { variable
184 for (i = 0; i < ARRAY_SIZE(ALSA_SNDIF_FORMATS); i++) in to_sndif_format()
185 if (ALSA_SNDIF_FORMATS[i].alsa == format) in to_sndif_format()
186 return ALSA_SNDIF_FORMATS[i].sndif; in to_sndif_format()
197 for (i = 0; i < ARRAY_SIZE(ALSA_SNDIF_FORMATS); i++) in to_sndif_formats_mask()
198 if (pcm_format_to_bits(ALSA_SNDIF_FORMATS[i].alsa) & alsa_formats) in to_sndif_formats_mask()
199 mask |= BIT_ULL(ALSA_SNDIF_FORMATS[i].sndif); in to_sndif_formats_mask()
210 for (i = 0; i < ARRAY_SIZE(ALSA_SNDIF_FORMATS); i++) in to_alsa_formats_mask()
211 if (BIT_ULL(ALSA_SNDIF_FORMATS[i].sndif) & sndif_formats) in to_alsa_formats_mask()
212 mask |= pcm_format_to_bits(ALSA_SNDIF_FORMATS[i].alsa); in to_alsa_formats_mask()