soc-link.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * soc-link.h
  4. *
  5. * Copyright (C) 2019 Renesas Electronics Corp.
  6. * Kuninori Morimoto <[email protected]>
  7. */
  8. #ifndef __SOC_LINK_H
  9. #define __SOC_LINK_H
  10. int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
  11. void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd);
  12. int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
  13. struct snd_pcm_hw_params *params);
  14. int snd_soc_link_startup(struct snd_pcm_substream *substream);
  15. void snd_soc_link_shutdown(struct snd_pcm_substream *substream,
  16. int rollback);
  17. int snd_soc_link_prepare(struct snd_pcm_substream *substream);
  18. int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
  19. struct snd_pcm_hw_params *params);
  20. void snd_soc_link_hw_free(struct snd_pcm_substream *substream,
  21. int rollback);
  22. int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
  23. int rollback);
  24. int snd_soc_link_compr_startup(struct snd_compr_stream *cstream);
  25. void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream,
  26. int rollback);
  27. int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream);
  28. #endif /* __SOC_LINK_H */