
Add support for MultiDSP framework (MDF) memory share command in q6core driver. Change-Id: Iff0da10fe835f1fce50d2725960ded5c96237955 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
58 lignes
1.3 KiB
C
58 lignes
1.3 KiB
C
/*
|
|
Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2 and
|
|
only version 2 as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __Q6_INIT_H__
|
|
#define __Q6_INIT_H__
|
|
int adsp_err_init(void);
|
|
int adm_init(void);
|
|
int afe_init(void);
|
|
int q6asm_init(void);
|
|
int q6lsm_init(void);
|
|
int voice_init(void);
|
|
int audio_cal_init(void);
|
|
int core_init(void);
|
|
int rtac_init(void);
|
|
int msm_audio_ion_init(void);
|
|
int audio_slimslave_init(void);
|
|
int avtimer_init(void);
|
|
#ifdef CONFIG_MSM_MDF
|
|
int msm_mdf_init(void);
|
|
void msm_mdf_exit(void);
|
|
#else
|
|
static inline int msm_mdf_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void msm_mdf_exit(void)
|
|
{
|
|
return;
|
|
}
|
|
#endif
|
|
|
|
void avtimer_exit(void);
|
|
void audio_slimslave_exit(void);
|
|
void msm_audio_ion_exit(void);
|
|
void rtac_exit(void);
|
|
void core_exit(void);
|
|
void audio_cal_exit(void);
|
|
void voice_exit(void);
|
|
void q6lsm_exit(void);
|
|
void q6asm_exit(void);
|
|
void afe_exit(void);
|
|
void adm_exit(void);
|
|
void adsp_err_exit(void);
|
|
#endif
|
|
|