2020-05-24 18:57:14 -06:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
|
|
|
* soc-link.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2019 Renesas Electronics Corp.
|
|
|
|
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
|
|
*/
|
|
|
|
#ifndef __SOC_LINK_H
|
|
|
|
#define __SOC_LINK_H
|
|
|
|
|
|
|
|
int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
|
2020-06-22 09:42:37 -06:00
|
|
|
void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd);
|
2020-05-24 18:57:36 -06:00
|
|
|
int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
|
|
struct snd_pcm_hw_params *params);
|
|
|
|
|
2020-05-24 18:57:31 -06:00
|
|
|
int snd_soc_link_startup(struct snd_pcm_substream *substream);
|
|
|
|
void snd_soc_link_shutdown(struct snd_pcm_substream *substream);
|
|
|
|
int snd_soc_link_prepare(struct snd_pcm_substream *substream);
|
|
|
|
int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
|
2020-05-24 18:57:19 -06:00
|
|
|
struct snd_pcm_hw_params *params);
|
2020-05-24 18:57:31 -06:00
|
|
|
void snd_soc_link_hw_free(struct snd_pcm_substream *substream);
|
|
|
|
int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd);
|
2020-05-24 18:57:14 -06:00
|
|
|
|
2020-05-24 18:57:41 -06:00
|
|
|
int snd_soc_link_compr_startup(struct snd_compr_stream *cstream);
|
2020-05-24 18:57:45 -06:00
|
|
|
void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream);
|
2020-05-24 18:57:50 -06:00
|
|
|
int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream);
|
2020-05-24 18:57:41 -06:00
|
|
|
|
2020-05-24 18:57:14 -06:00
|
|
|
#endif /* __SOC_LINK_H */
|