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