openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

sec_init.h (1226B)


      1 /** \file bcm_int/dnx/sec/sec_init.h
      2  *
      3  * Internal DNX SEC INIT/DEINIT APIs to be used in init
      4  * sequence
      5  */
      6 
      7 /*
      8  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      9  * 
     10  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
     11  */
     12 
     13 #ifndef _BCMINT_DNX_SEC_SECINIT_H_INCLUDED
     14 /*
     15  * {
     16  */
     17 #define _BCMINT_DNX_SEC_SECINIT_H_INCLUDED
     18 
     19 /**
     20  * \brief This file is only used by DNX (JR2 family). Including it by
     21  * software that is not specific to DNX is an error.
     22  */
     23 #ifndef BCM_DNX_SUPPORT
     24 #error "This file is for use by DNX (JR2) family only!"
     25 #endif
     26 
     27 #include <shared/shrextend/shrextend_debug.h>
     28 
     29 /**
     30  * \brief - initialize sec module, to be called from init
     31  *        sequence.
     32  *
     33  * \param [in] unit - unit number
     34  *
     35  * \return
     36  *   shr_error_e
     37  *
     38  * \remark
     39  *   * None
     40  * \see
     41  *   * None
     42  */
     43 shr_error_e dnx_sec_init(
     44     int unit);
     45 
     46 /**
     47  * \brief - de-init sec module, to be called from init
     48  *        sequence.
     49  *
     50  * \param [in] unit - unit number
     51  *
     52  * \return
     53  *   shr_error_e
     54  *
     55  * \remark
     56  *   * None
     57  * \see
     58  *   * None
     59  */
     60 shr_error_e dnx_sec_deinit(
     61     int unit);
     62 
     63 /*
     64  * }
     65  */
     66 #endif /* _BCMINT_DNX_SEC_SECINIT_H_INCLUDED */