Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* Copyright (C) 2013 Broadcom Corporation */
0003 
0004 #ifndef BCM_KONA_SMC_H
0005 #define BCM_KONA_SMC_H
0006 
0007 #include <linux/types.h>
0008 
0009 /* Broadcom Secure Service API service IDs, return codes, and exit codes */
0010 #define SSAPI_ENABLE_L2_CACHE       0x01000002
0011 #define SEC_ROM_RET_OK          0x00000001
0012 #define SEC_EXIT_NORMAL         0x1
0013 
0014 extern int __init bcm_kona_smc_init(void);
0015 
0016 extern unsigned bcm_kona_smc(unsigned service_id,
0017                  unsigned arg0,
0018                  unsigned arg1,
0019                  unsigned arg2,
0020                  unsigned arg3);
0021 
0022 #endif /* BCM_KONA_SMC_H */