intr_init.h (924B)
1 /* 2 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 * 4 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 5 */ 6 #ifndef _BCM_DNX_INT_INTR_HEADER_ 7 #define _BCM_DNX_INT_INTR_HEADER_ 8 9 #ifndef BCM_DNX_SUPPORT 10 #error "This file is for use by DNX (JR2) family only!" 11 #endif 12 13 #include <shared/shrextend/shrextend_error.h> 14 15 /************* 16 * FUNCTIONS * 17 */ 18 /** 19 * \brief 20 * Initialize dnx interrupt module. 21 * 22 * \param [in] unit - 23 * The unit number. 24 * \return 25 * \retval See \ref shr_error_e 26 * \remark 27 * * None 28 * \see 29 * * None 30 */ 31 shr_error_e dnx_intr_init( 32 int unit); 33 /** 34 * \brief 35 * Deinitialize dnx interrupt module. 36 * 37 * \param [in] unit - 38 * The unit number. 39 * \return 40 * \retval See \ref shr_error_e 41 * \remark 42 * * None 43 * \see 44 * * None 45 */ 46 47 shr_error_e dnx_intr_deinit( 48 int unit); 49 50 #endif