Files
Michael Bestas f4f695d298 Add 'techpack/audio/' from tag 'LA.UM.9.12.r1-14900-SMxx50.QSSI13.0'
git-subtree-dir: techpack/audio
git-subtree-mainline: c4ac9f41f5
git-subtree-split: d4a1fdac7b
Change-Id: I9f1af2abd41942d29296c963aac75ed023624164
2022-11-20 19:43:50 +02: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 */