Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2022, Microchip
0004  */
0005 
0006 #ifndef SAM_SECURE_H
0007 #define SAM_SECURE_H
0008 
0009 #include <linux/arm-smccc.h>
0010 
0011 /* Secure Monitor mode APIs */
0012 #define SAMA5_SMC_SIP_SET_SUSPEND_MODE  0x400
0013 #define SAMA5_SMC_SIP_GET_SUSPEND_MODE  0x401
0014 
0015 void __init sam_secure_init(void);
0016 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
0017 bool sam_linux_is_optee_available(void);
0018 
0019 #endif /* SAM_SECURE_H */