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 
7 int snd_pcm_create_iec958_consumer_default(u8 *cs, size_t len);
8 
9 int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
10 				 size_t len);
11 
12 int snd_pcm_fill_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
13 					   u8 *cs, size_t len);
14 
15 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
16 	size_t len);
17 
18 int snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
19 					     u8 *cs, size_t len);
20 #endif
21