kbp.h (1027B)
1 /** \file kbp.h 2 * 3 * Functions for handling kbp init sequences. 4 */ 5 /* 6 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 7 * 8 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 9 */ 10 #if defined(INCLUDE_KBP) 11 12 #ifndef _KBP_INCLUDED__ 13 /* 14 * { 15 */ 16 17 #define _KBP_INCLUDED__ 18 19 /************* 20 * INCLUDES * 21 */ 22 /* 23 * { 24 */ 25 26 /* 27 * } 28 */ 29 30 /************* 31 * DEFINES * 32 */ 33 /* 34 * { 35 */ 36 37 /* 38 * } 39 */ 40 /************* 41 * MACROS * 42 */ 43 /* 44 * { 45 */ 46 /* 47 * } 48 */ 49 50 /************* 51 * ENUMS * 52 */ 53 /* 54 * { 55 */ 56 57 /* 58 * } 59 */ 60 61 /************* 62 * TYPE DEFS * 63 */ 64 /* 65 * { 66 */ 67 68 /* 69 * } 70 */ 71 72 /************* 73 * GLOBALS * 74 */ 75 /* 76 * { 77 */ 78 /* 79 * } 80 */ 81 /************* 82 * FUNCTIONS * 83 */ 84 /* 85 * { 86 */ 87 shr_error_e dnx_kbp_init( 88 int unit); 89 90 shr_error_e dnx_kbp_deinit( 91 int unit); 92 93 shr_error_e dnx_kbp_info_get( 94 int unit, 95 int kbp_inst, 96 bcm_switch_kbp_info_t * kbp_info); 97 98 /* 99 * } 100 */ 101 #endif /* __KBP_INCLUDED__ */ 102 #endif /* defined(INCLUDE_KBP) */