1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __SOUND_PCM_IEC958_H
3#define __SOUND_PCM_IEC958_H
4
5#include <linux/types.h>
6
7int snd_pcm_create_iec958_consumer_default(u8 *cs, size_t len);
8
9int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
10 size_t len);
11
12int snd_pcm_fill_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
13 u8 *cs, size_t len);
14
15int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
16 size_t len);
17
18int snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
19 u8 *cs, size_t len);
20#endif
21

source code of linux/include/sound/pcm_iec958.h