1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (C) 2022, Microchip 4 */ 5 6 #ifndef SAM_SECURE_H 7 #define SAM_SECURE_H 8 9 #include <linux/arm-smccc.h> 10 11 /* Secure Monitor mode APIs */ 12 #define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400 13 #define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401 14 15 void __init sam_secure_init(void); 16 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1); 17 bool sam_linux_is_optee_available(void); 18 19 #endif /* SAM_SECURE_H */ 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.