Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-152/include/linux/soc/mediatek/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 MediaTek Inc. */ #ifndef __MTK_SIP_SVC_H #define __MTK_SIP_SVC_H /* Error Code */ #define SIP_SVC_E_SUCCESS 0 #define SIP_SVC_E_NOT_SUPPORTED -1 #define SIP_SVC_E_INVALID_PARAMS -2 #define SIP_SVC_E_INVALID_RANGE -3 #define SIP_SVC_E_PERMISSION_DENIED -4 #ifdef CONFIG_ARM64 #define MTK_SIP_SMC_CONVENTION ARM_SMCCC_SMC_64 #else #define MTK_SIP_SMC_CONVENTION ARM_SMCCC_SMC_32 #endif #define MTK_SIP_SMC_CMD(fn_id) \ ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, MTK_SIP_SMC_CONVENTION, \ ARM_SMCCC_OWNER_SIP, fn_id) #endif