Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/sound/soc/qcom/sdw.h
50950 views
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_startup(struct snd_pcm_substream *substream);
10
void qcom_snd_sdw_shutdown(struct snd_pcm_substream *substream);
11
int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream,
12
bool *stream_prepared);
13
struct sdw_stream_runtime *qcom_snd_sdw_get_stream(struct snd_pcm_substream *stream);
14
int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream,
15
bool *stream_prepared);
16
#endif
17
18