blob: 1598a92d23ab734161872f286d501ed4290289b9 [file] [log] [blame]
developer369b0392022-09-20 14:50:36 +08001/*
2 * Copyright (c) 2022, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef AUDIO_H
8#define AUDIO_H
9
10#include <stdint.h>
11#include <lib/mmio.h>
12
13enum mtk_audio_smc_call_op {
14 MTK_AUDIO_SMC_OP_INIT = 0,
15 MTK_AUDIO_SMC_OP_DRAM_REQUEST,
16 MTK_AUDIO_SMC_OP_DRAM_RELEASE,
17 MTK_AUDIO_SMC_OP_SRAM_REQUEST,
18 MTK_AUDIO_SMC_OP_SRAM_RELEASE,
19 MTK_AUDIO_SMC_OP_ADSP_REQUEST,
20 MTK_AUDIO_SMC_OP_ADSP_RELEASE,
21 MTK_AUDIO_SMC_OP_DOMAIN_SIDEBANDS,
22 MTK_AUDIO_SMC_OP_BTCVSD_WRITE,
23 MTK_AUDIO_SMC_OP_BTCVSD_UPDATE_CTRL_CLEAR,
24 MTK_AUDIO_SMC_OP_BTCVSD_UPDATE_CTRL_UNDERFLOW,
25 MTK_AUDIO_SMC_OP_NUM,
26};
27
28int32_t set_audio_domain_sidebands(void);
29
30#endif /* AUDIO_H */