sdw.h 676 B

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