q6_init.h 935 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2017, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __Q6_INIT_H__
  6. #define __Q6_INIT_H__
  7. int adsp_err_init(void);
  8. int adm_init(void);
  9. int afe_init(void);
  10. int q6asm_init(void);
  11. int q6lsm_init(void);
  12. int voice_init(void);
  13. int audio_cal_init(void);
  14. int core_init(void);
  15. int rtac_init(void);
  16. int msm_audio_ion_init(void);
  17. int audio_slimslave_init(void);
  18. int avtimer_init(void);
  19. #ifdef CONFIG_MSM_MDF
  20. int msm_mdf_init(void);
  21. void msm_mdf_exit(void);
  22. #else
  23. static inline int msm_mdf_init(void)
  24. {
  25. return 0;
  26. }
  27. static inline void msm_mdf_exit(void)
  28. {
  29. return;
  30. }
  31. #endif
  32. void avtimer_exit(void);
  33. void audio_slimslave_exit(void);
  34. void msm_audio_ion_exit(void);
  35. void rtac_exit(void);
  36. void core_exit(void);
  37. void audio_cal_exit(void);
  38. void voice_exit(void);
  39. void q6lsm_exit(void);
  40. void q6asm_exit(void);
  41. void afe_exit(void);
  42. void adm_exit(void);
  43. void adsp_err_exit(void);
  44. #endif