Commit | Line | Data |
---|---|---|
02e75636 KM |
1 | /* SPDX-License-Identifier: GPL-2.0 |
2 | * | |
3 | * soc-link.h | |
4 | * | |
5 | * Copyright (C) 2019 Renesas Electronics Corp. | |
6 | * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | |
7 | */ | |
8 | #ifndef __SOC_LINK_H | |
9 | #define __SOC_LINK_H | |
10 | ||
11 | int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd); | |
21a00fb3 | 12 | void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd); |
0cbbf8a0 KM |
13 | int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, |
14 | struct snd_pcm_hw_params *params); | |
15 | ||
7cf3c5b4 | 16 | int snd_soc_link_startup(struct snd_pcm_substream *substream); |
6064ed73 KM |
17 | void snd_soc_link_shutdown(struct snd_pcm_substream *substream, |
18 | int rollback); | |
7cf3c5b4 KM |
19 | int snd_soc_link_prepare(struct snd_pcm_substream *substream); |
20 | int snd_soc_link_hw_params(struct snd_pcm_substream *substream, | |
a5e6c109 | 21 | struct snd_pcm_hw_params *params); |
918ad772 KM |
22 | void snd_soc_link_hw_free(struct snd_pcm_substream *substream, |
23 | int rollback); | |
02e75636 | 24 | |
6374f493 KM |
25 | int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd, |
26 | int rollback); | |
9ab711cb | 27 | int snd_soc_link_compr_startup(struct snd_compr_stream *cstream); |
cd7c7d10 KM |
28 | void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream, |
29 | int rollback); | |
eab810f3 | 30 | int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream); |
9ab711cb | 31 | |
02e75636 | 32 | #endif /* __SOC_LINK_H */ |