xref: /linux/sound/soc/qcom/sdw.h (revision 69bfec7548f4c1595bac0e3ddfc0458a5af31f4c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (c) 2018, The Linux Foundation. All rights reserved.
3 
4 #ifndef __QCOM_SND_SDW_H__
5 #define __QCOM_SND_SDW_H__
6 
7 #include <linux/soundwire/sdw.h>
8 
9 int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream,
10 			 struct sdw_stream_runtime *runtime,
11 			 bool *stream_prepared);
12 int qcom_snd_sdw_hw_params(struct snd_pcm_substream *substream,
13 			   struct snd_pcm_hw_params *params,
14 			   struct sdw_stream_runtime **psruntime);
15 int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream,
16 			 struct sdw_stream_runtime *sruntime,
17 			 bool *stream_prepared);
18 #endif
19