sat.h (1030B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 6 * 7 * Common internal definitions for BCM sat module 8 */ 9 10 #ifndef _BCM_INT_SAT_H_ 11 #define _BCM_INT_SAT_H_ 12 13 #include <sal/types.h> 14 #include <soc/defs.h> 15 #include <sal/core/sync.h> 16 17 #define _BCM_SAT_GTF_OBJ_COMMON -1 18 #define _BCM_SAT_GTF_OBJ_CIR 0 19 #define _BCM_SAT_GTF_OBJ_EIR 1 20 21 extern int bcm_common_sat_init(int unit); 22 23 extern int bcm_common_sat_detach(int unit); 24 extern int bcm_common_oamp_port_enable_get(int unit, bcm_port_t port); 25 extern int bcm_common_sat_gtf_inuse(int unit); 26 extern int bcm_common_sat_ctf_inuse(int unit); 27 extern int bcm_common_sat_session_inuse( int unit,int session_id); 28 extern int bcm_common_sat_trap_idx_get(int unit, uint32 trap_id,int *trap_idx); 29 30 #ifdef BCM_WARM_BOOT_SUPPORT 31 int bcm_common_sat_wb_sync(int unit, int sync); 32 #endif 33 34 #endif /* _BCM_INT_SAT_H_ */