android_kernel_xiaomi_sm7250/techpack/audio/include/dsp/msm_mdf.h
UtsavBalar1231 7c1ce85ea5 Add 'techpack/audio/' from commit 'bc8dfdee2a69d88b5be2200658a5cba7850b2d7f'
git-subtree-dir: techpack/audio
git-subtree-mainline: ced58f75fa
git-subtree-split: bc8dfdee2a
2022-02-05 15:40:41 +01:00

37 lines
621 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
*/
#ifndef _LINUX_MSM_MDF_H
#define _LINUX_MSM_MDF_H
#ifdef CONFIG_MSM_MDF
/**
* msm_mdf_mem_init - allocate and map memory to ADSP be shared
* across multiple remote DSPs.
*/
int msm_mdf_mem_init(void);
/**
* msm_mdf_mem_init - unmap and free memory to ADSP.
*/
int msm_mdf_mem_deinit(void);
#else
static inline int msm_mdf_mem_init(void)
{
return 0;
}
static inline int msm_mdf_mem_deinit(void)
{
return 0;
}
#endif /* CONFIG_MSM_MDF */
#endif /* _LINUX_MSM_MDF_H */