msm-dts-srs-tm-config.h 941 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2012-2014, 2017-2018, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _MSM_DTS_SRS_TM_CONFIG_H_
  6. #define _MSM_DTS_SRS_TM_CONFIG_H_
  7. #include <sound/soc.h>
  8. #include <dsp/apr_audio-v2.h>
  9. struct param_outband;
  10. #ifdef CONFIG_DTS_SRS_TM
  11. union srs_trumedia_params_u {
  12. struct srs_trumedia_params srs_params;
  13. __u16 raw_params[1];
  14. };
  15. void msm_dts_srs_tm_ion_memmap(struct param_outband *po_);
  16. void msm_dts_srs_tm_init(int port_id, int copp_idx);
  17. void msm_dts_srs_tm_deinit(int port_id);
  18. void msm_dts_srs_tm_add_controls(struct snd_soc_component *component);
  19. #else
  20. static inline void msm_dts_srs_tm_ion_memmap(struct param_outband *po_) { }
  21. static inline void msm_dts_srs_tm_init(int port_id, int copp_idx) { }
  22. static inline void msm_dts_srs_tm_deinit(int port_id) { }
  23. static inline void msm_dts_srs_tm_add_controls(
  24. struct snd_soc_component *component) { }
  25. #endif
  26. #endif