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

tefmod_sc_defines.h (3539B)


      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-2019 Broadcom Inc. All rights reserved.
      6  *
      7  * $Copyright: (c) 2014 Broadcom Corporation All Rights Reserved.$
      8  *  Broadcom Corporation
      9  *  Proprietary and Confidential information
     10  *  All rights reserved
     11  *  This source file is the property of Broadcom Corporation, and
     12  *  may not be copied or distributed in any isomorphic form without the
     13  *  prior written consent of Broadcom Corporation.
     14  *----------------------------------------------------------------------
     15  *  Description: define enumerators  
     16  *----------------------------------------------------------------------*/
     17 #ifndef tefmod_sc_defines_H_
     18 #define tefmod_sc_defines_H_
     19 
     20 
     21 #define T_PMA_BITMUX_MODE_1to1   0
     22 #define T_PMA_BITMUX_MODE_2to1   1
     23 #define T_PMA_BITMUX_MODE_5to1   2
     24 
     25 #define T_SCR_MODE_BYPASS        0
     26 #define T_SCR_MODE_CL49          1
     27 #define T_SCR_MODE_40G_2_LANE    2
     28 #define T_SCR_MODE_100G          3
     29 #define T_SCR_MODE_20G           4
     30 #define T_SCR_MODE_40G_4_LANE    5
     31 
     32 #define R_DESCR_MODE_BYPASS      0
     33 #define R_DESCR_MODE_CL49        1
     34 #define R_DESCR_MODE_CL82        2
     35 
     36 #define R_DEC_TL_MODE_BYPASS     0
     37 #define R_DEC_TL_MODE_CL49       1
     38 #define R_DEC_TL_MODE_CL82       2
     39 
     40 #define R_DEC_FSM_MODE_BYPASS    0
     41 #define R_DEC_FSM_MODE_CL49      1
     42 #define R_DEC_FSM_MODE_CL82      2
     43 
     44 #define BS_DIST_MODE_5_LANE_TDM          0
     45 #define BS_DIST_MODE_2_LANE_TDM_2_VLANE  1
     46 #define BS_DIST_MODE_2_LANE_TDM_1_VLANE  2
     47 #define BS_DIST_MODE_NO_TDM              3
     48 
     49 #define BS_BTMX_MODE_1to1        0
     50 #define BS_BTMX_MODE_2to1        1
     51 #define BS_BTMX_MODE_5to1        2
     52 
     53 #define IDLE_DELETION_MODE_BYPASS       0 
     54 #define IDLE_DELETION_MODE_40G          1 
     55 #define IDLE_DELETION_MODE_100G         2
     56 #define IDLE_DELETION_MODE_20G          3
     57 
     58 #define T_FIFO_MODE_BYPASS       0 
     59 #define T_FIFO_MODE_40G          1 
     60 #define T_FIFO_MODE_100G         2
     61 #define T_FIFO_MODE_20G          3
     62 
     63 #define T_ENC_MODE_BYPASS        0
     64 #define T_ENC_MODE_CL49          1
     65 #define T_ENC_MODE_CL82          2
     66 
     67 #define R_DESKEW_MODE_BYPASS     0
     68 #define R_DESKEW_MODE_20G        1
     69 #define R_DESKEW_MODE_40G_4_LANE 2
     70 #define R_DESKEW_MODE_40G_2_LANE 3
     71 #define R_DESKEW_MODE_100G       4
     72 #define R_DESKEW_MODE_CL49       5
     73 #define R_DESKEW_MODE_CL91       6
     74 
     75 #define AM_MODE_20G              1
     76 #define AM_MODE_40G              2
     77 #define AM_MODE_100G             3
     78 
     79 #define NUM_LANES_01                            0
     80 #define NUM_LANES_02                            1
     81 #define NUM_LANES_04                            2
     82 
     83 
     84 #define PORT_MODE_FOUR                          0
     85 #define PORT_MODE_THREE_3_2_COMBO               1
     86 #define PORT_MODE_THREE_1_0_COMBO               2
     87 #define PORT_MODE_TWO                           3
     88 #define PORT_MODE_ONE                           4
     89 
     90 #define OS_MODE_1                               0
     91 #define OS_MODE_2                               1
     92 #define OS_MODE_4                               2
     93 #define OS_MODE_8                               5
     94 #define OS_MODE_16p5                            8
     95 #define OS_MODE_20p625                          12
     96 
     97 #define REG_ACCESS_TYPE_MDIO                    0
     98 #define REG_ACCESS_TYPE_UC                      1
     99 #define REG_ACCESS_TYPE_EXT                     2
    100 
    101 
    102 #define BS_CL82_SYNC_MODE 0
    103 #define BS_CL49_SYNC_MODE 1
    104 #define BLKSIZE           66
    105 #define DSC_DATA_WID      40
    106 
    107 #endif
    108