/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2019 MediaTek Inc. */ #ifndef __SMI_HW_H__ #define __SMI_HW_H__ #include #include #define SYS_DIS (SYS_MM0) static const u32 smi_subsys_to_larbs[NR_SYSS] = { [SYS_MM0] = ((1 << 0) | (1 << (SMI_LARB_NUM))), [SYS_VEN] = (1 << 1), [SYS_ISP] = (1 << 2), }; #if IS_ENABLED(CONFIG_MMPROFILE) #include static const char *smi_mmp_name[NR_SYSS] = { [SYS_MM0] = "MM0", [SYS_VEN] = "VEN", [SYS_ISP] = "ISP", }; static mmp_event smi_mmp_event[NR_SYSS]; #endif #endif