Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0
0002  *
0003  * soc-link.h
0004  *
0005  * Copyright (C) 2019 Renesas Electronics Corp.
0006  * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
0007  */
0008 #ifndef __SOC_LINK_H
0009 #define __SOC_LINK_H
0010 
0011 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
0012 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd);
0013 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
0014                     struct snd_pcm_hw_params *params);
0015 
0016 int snd_soc_link_startup(struct snd_pcm_substream *substream);
0017 void snd_soc_link_shutdown(struct snd_pcm_substream *substream,
0018                int rollback);
0019 int snd_soc_link_prepare(struct snd_pcm_substream *substream);
0020 int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
0021                struct snd_pcm_hw_params *params);
0022 void snd_soc_link_hw_free(struct snd_pcm_substream *substream,
0023               int rollback);
0024 
0025 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
0026              int rollback);
0027 int snd_soc_link_compr_startup(struct snd_compr_stream *cstream);
0028 void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream,
0029                  int rollback);
0030 int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream);
0031 
0032 #endif /* __SOC_LINK_H */