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