Debian Codegraph @

plat/mediatek/drivers/spm/version/notifier/inc/mt_spm_notifier.h

raw symbols SCIP
1 /*
2 * Copyright (c) 2023, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #ifndef MT_SPM_NOTIFIER_H
8 #define MT_SPM_NOTIFIER_H
9
10 enum mt_spm_sspm_notify_id {
11 MT_SPM_NOTIFY_LP_ENTER = 0,
12 MT_SPM_NOTIFY_LP_LEAVE,
13 MT_SPM_NOTIFY_SUSPEND_VCORE_VOLTAGE,
14 };
15
16 #ifdef MTK_PLAT_SPM_SSPM_NOTIFIER_UNSUPPORT
17 static inline int mt_spm_sspm_notify_u32(int type, unsigned int val)
18 {
19 (void)type;
20 (void)val;
21 return 0;
22 }
23 #else
24 int mt_spm_sspm_notify_u32(int type, unsigned int val);
25 #endif
26
27 #endif /* MT_SPM_NOTIFIER_H */