tbhmod_sc_defines.h (3012B)
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 */ 8 9 #ifndef tefmod_sc_defines_H_ 10 #define tefmod_sc_defines_H_ 11 12 13 #define T_PMA_BITMUX_MODE_1to1 0 14 #define T_PMA_BITMUX_MODE_2to1 1 15 #define T_PMA_BITMUX_MODE_5to1 2 16 17 #define T_SCR_MODE_BYPASS 0 18 #define T_SCR_MODE_CL49 1 19 #define T_SCR_MODE_40G_2_LANE 2 20 #define T_SCR_MODE_100G 3 21 #define T_SCR_MODE_20G 4 22 #define T_SCR_MODE_40G_4_LANE 5 23 24 #define R_DESCR_MODE_BYPASS 0 25 #define R_DESCR_MODE_CL49 1 26 #define R_DESCR_MODE_CL82 2 27 28 #define R_DEC_TL_MODE_BYPASS 0 29 #define R_DEC_TL_MODE_CL49 1 30 #define R_DEC_TL_MODE_CL82 2 31 32 #define R_DEC_FSM_MODE_BYPASS 0 33 #define R_DEC_FSM_MODE_CL49 1 34 #define R_DEC_FSM_MODE_CL82 2 35 36 #define BS_DIST_MODE_5_LANE_TDM 0 37 #define BS_DIST_MODE_2_LANE_TDM_2_VLANE 1 38 #define BS_DIST_MODE_2_LANE_TDM_1_VLANE 2 39 #define BS_DIST_MODE_NO_TDM 3 40 41 #define BS_BTMX_MODE_1to1 0 42 #define BS_BTMX_MODE_2to1 1 43 #define BS_BTMX_MODE_5to1 2 44 45 #define IDLE_DELETION_MODE_BYPASS 0 46 #define IDLE_DELETION_MODE_40G 1 47 #define IDLE_DELETION_MODE_100G 2 48 #define IDLE_DELETION_MODE_20G 3 49 50 #define T_FIFO_MODE_BYPASS 0 51 #define T_FIFO_MODE_40G 1 52 #define T_FIFO_MODE_100G 2 53 #define T_FIFO_MODE_20G 3 54 55 #define T_ENC_MODE_BYPASS 0 56 #define T_ENC_MODE_CL49 1 57 #define T_ENC_MODE_CL82 2 58 59 #define R_DESKEW_MODE_BYPASS 0 60 #define R_DESKEW_MODE_20G 1 61 #define R_DESKEW_MODE_40G_4_LANE 2 62 #define R_DESKEW_MODE_40G_2_LANE 3 63 #define R_DESKEW_MODE_100G 4 64 #define R_DESKEW_MODE_CL49 5 65 #define R_DESKEW_MODE_CL91 6 66 67 #define AM_MODE_20G 1 68 #define AM_MODE_40G 2 69 #define AM_MODE_100G 3 70 71 #define NUM_LANES_01 0 72 #define NUM_LANES_02 1 73 #define NUM_LANES_04 2 74 75 76 #define PORT_MODE_FOUR 0 77 #define PORT_MODE_THREE_3_2_COMBO 1 78 #define PORT_MODE_THREE_1_0_COMBO 2 79 #define PORT_MODE_TWO 3 80 #define PORT_MODE_ONE 4 81 82 #define OS_MODE_1 0 83 #define OS_MODE_2 1 84 #define OS_MODE_4 2 85 #define OS_MODE_21p25 4 86 #define OS_MODE_16p5 8 87 #define OS_MODE_20p625 12 88 89 #define REG_ACCESS_TYPE_MDIO 0 90 #define REG_ACCESS_TYPE_UC 1 91 #define REG_ACCESS_TYPE_EXT 2 92 93 94 #define BS_CL82_SYNC_MODE 0 95 #define BS_CL49_SYNC_MODE 1 96 #define BLKSIZE 66 97 #define DSC_DATA_WID 40 98 99 #endif 100