developer | 369b039 | 2022-09-20 14:50:36 +0800 | [diff] [blame^] | 1 | /* |
| 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 | |
| 13 | enum 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 | |
| 28 | int32_t set_audio_domain_sidebands(void); |
| 29 | |
| 30 | #endif /* AUDIO_H */ |