blob: 64e84441cde1db0a6fb9ac9c43e47c4956cac0b4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Russell King9203dd02015-05-09 11:26:47 +01002#ifndef __SOUND_PCM_IEC958_H
3#define __SOUND_PCM_IEC958_H
4
5#include <linux/types.h>
6
Maxime Ripard9eafc11f2021-05-25 15:23:44 +02007int 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
Russell King9203dd02015-05-09 11:26:47 +010015int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
16 size_t len);
17
Jyri Sarha4a443652016-03-31 16:35:58 +030018int snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
19 u8 *cs, size_t len);
Russell King9203dd02015-05-09 11:26:47 +010020#endif