162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*****************************************************************************
362306a36Sopenharmony_ci *                                                                           *
462306a36Sopenharmony_ci * File: suni1x10gexp_regs.h                                                 *
562306a36Sopenharmony_ci * $Revision: 1.9 $                                                          *
662306a36Sopenharmony_ci * $Date: 2005/06/22 00:17:04 $                                              *
762306a36Sopenharmony_ci * Description:                                                              *
862306a36Sopenharmony_ci *  PMC/SIERRA (pm3393) MAC-PHY functionality.                               *
962306a36Sopenharmony_ci *  part of the Chelsio 10Gb Ethernet Driver.                                *
1062306a36Sopenharmony_ci *                                                                           *
1162306a36Sopenharmony_ci *                                                                           *
1262306a36Sopenharmony_ci * http://www.chelsio.com                                                    *
1362306a36Sopenharmony_ci *                                                                           *
1462306a36Sopenharmony_ci * Maintainers: maintainers@chelsio.com                                      *
1562306a36Sopenharmony_ci *                                                                           *
1662306a36Sopenharmony_ci * Authors: PMC/SIERRA                                                       *
1762306a36Sopenharmony_ci *                                                                           *
1862306a36Sopenharmony_ci * History:                                                                  *
1962306a36Sopenharmony_ci *                                                                           *
2062306a36Sopenharmony_ci ****************************************************************************/
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#ifndef _CXGB_SUNI1x10GEXP_REGS_H_
2362306a36Sopenharmony_ci#define _CXGB_SUNI1x10GEXP_REGS_H_
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci/*
2662306a36Sopenharmony_ci** Space allocated for each Exact Match Filter
2762306a36Sopenharmony_ci**     There are 8 filter configurations
2862306a36Sopenharmony_ci*/
2962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SIZEOF_MAC_FILTER 0x0003
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#define mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId)       ( (filterId) * SUNI1x10GEXP_REG_SIZEOF_MAC_FILTER )
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci/*
3462306a36Sopenharmony_ci** Space allocated for VLAN-Id Filter
3562306a36Sopenharmony_ci**      There are 8 filter configurations
3662306a36Sopenharmony_ci*/
3762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SIZEOF_MAC_VID_FILTER 0x0001
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci#define mSUNI1x10GEXP_MAC_VID_FILTER_OFFSET(filterId)   ( (filterId) * SUNI1x10GEXP_REG_SIZEOF_MAC_VID_FILTER )
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci/*
4262306a36Sopenharmony_ci** Space allocated for each MSTAT Counter
4362306a36Sopenharmony_ci*/
4462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SIZEOF_MSTAT_COUNT 0x0004
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci#define mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId)       ( (countId) * SUNI1x10GEXP_REG_SIZEOF_MSTAT_COUNT )
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci/******************************************************************************/
5062306a36Sopenharmony_ci/** S/UNI-1x10GE-XP REGISTER ADDRESS MAP                                     **/
5162306a36Sopenharmony_ci/******************************************************************************/
5262306a36Sopenharmony_ci/* Refer to the Register Bit Masks bellow for the naming of each register and */
5362306a36Sopenharmony_ci/* to the S/UNI-1x10GE-XP Data Sheet for the signification of each bit        */
5462306a36Sopenharmony_ci/******************************************************************************/
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IDENTIFICATION                                  0x0000
5862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PRODUCT_REVISION                                0x0001
5962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_CONFIG_AND_RESET_CONTROL                        0x0002
6062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_LOOPBACK_MISC_CTRL                              0x0003
6162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_DEVICE_STATUS                                   0x0004
6262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_GLOBAL_PERFORMANCE_MONITOR_UPDATE               0x0005
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MDIO_COMMAND                                    0x0006
6562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MDIO_INTERRUPT_ENABLE                           0x0007
6662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MDIO_INTERRUPT_STATUS                           0x0008
6762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MMD_PHY_ADDRESS                                 0x0009
6862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MMD_CONTROL_ADDRESS_DATA                        0x000A
6962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MDIO_READ_STATUS_DATA                           0x000B
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_OAM_INTF_CTRL                                   0x000C
7262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MASTER_INTERRUPT_STATUS                         0x000D
7362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_GLOBAL_INTERRUPT_ENABLE                         0x000E
7462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_FREE                                            0x000F
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XTEF_MISC_CTRL                                  0x0010
7762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_MISC_CTRL                                   0x0011
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_CONFIG_1                            0x0100
8062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_CONFIG_2                            0x0101
8162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE                    0x0102
8262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_VISIBLE                   0x0103
8362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_STATUS                    0x0104
8462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_SERDES_3125_TEST_CONFIG                         0x0107
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_CONFIG_1                                   0x2040
8762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_CONFIG_2                                   0x2041
8862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_CONFIG_3                                   0x2042
8962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_INTERRUPT                                  0x2043
9062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_MAX_FRAME_LENGTH                           0x2045
9162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_SA_15_0                                    0x2046
9262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_SA_31_16                                   0x2047
9362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_SA_47_32                                   0x2048
9462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_RECEIVE_FIFO_THRESHOLD                     0x2049
9562306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_LOW(filterId) (0x204A + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
9662306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_MID(filterId) (0x204B + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
9762306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_HIGH(filterId)(0x204C + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
9862306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID(filterId)      (0x2062 + mSUNI1x10GEXP_MAC_VID_FILTER_OFFSET(filterId))
9962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_LOW                     0x204A
10062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_MID                     0x204B
10162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_HIGH                    0x204C
10262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW                     0x204D
10362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID                     0x204E
10462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH                    0x204F
10562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_LOW                     0x2050
10662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_MID                     0x2051
10762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_HIGH                    0x2052
10862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_LOW                     0x2053
10962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_MID                     0x2054
11062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_HIGH                    0x2055
11162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_LOW                     0x2056
11262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_MID                     0x2057
11362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_HIGH                    0x2058
11462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_LOW                     0x2059
11562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_MID                     0x205A
11662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_HIGH                    0x205B
11762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_LOW                     0x205C
11862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_MID                     0x205D
11962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_HIGH                    0x205E
12062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_LOW                     0x205F
12162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_MID                     0x2060
12262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_HIGH                    0x2061
12362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_0                          0x2062
12462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_1                          0x2063
12562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_2                          0x2064
12662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_3                          0x2065
12762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_4                          0x2066
12862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_5                          0x2067
12962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_6                          0x2068
13062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_7                          0x2069
13162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_LOW                         0x206A
13262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_MIDLOW                      0x206B
13362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_MIDHIGH                     0x206C
13462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_HIGH                        0x206D
13562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0                   0x206E
13662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_1                   0x206F
13762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2                   0x2070
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_PATTERN_GEN_CTRL                            0x2081
14062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_0                       0x2084
14162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_1                       0x2085
14262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_2                       0x2086
14362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_3                       0x2087
14462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE                            0x2088
14562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_INTERRUPT_STATUS                            0x2089
14662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_ERR_STATUS                                  0x208A
14762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE                       0x208B
14862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_STATUS                       0x208C
14962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XRF_CODE_ERR_THRES                              0x2092
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_CONFIG                                    0x20C0
15262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_1_CONFIG                           0x20C1
15362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_2_CONFIG                           0x20C2
15462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_CONFIG_2                                  0x20C3
15562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_HEC_CONFIG                                0x20C4
15662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_HEC_ERR_THRES                             0x20C5
15762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE                          0x20C7
15862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_INTERRUPT_STATUS                          0x20C8
15962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_STATUS                                    0x20C9
16062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_HEC_ERR_COUNT                             0x20CA
16162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FIFO_OVERFLOW_COUNT                       0x20CB
16262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_COUNT_LSB                 0x20CC
16362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_COUNT_MSB                 0x20CD
16462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_1_MISMATCH_COUNT_LSB               0x20CE
16562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_1_MISMATCH_COUNT_MSB               0x20CF
16662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_2_MISMATCH_COUNT_LSB               0x20D0
16762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_2_MISMATCH_COUNT_MSB               0x20D1
16862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_OAM_EXTRACT_COUNT_LSB                     0x20D2
16962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_OAM_EXTRACT_COUNT_MSB                     0x20D3
17062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_MINI_PACKET_COUNT_LSB                     0x20D4
17162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_MINI_PACKET_COUNT_MSB                     0x20D5
17262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_THRES_LSB                 0x20D6
17362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_THRES_MSB                 0x20D7
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_CONTROL                                   0x2100
17662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0                        0x2101
17762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_1                        0x2102
17862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_2                        0x2103
17962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_3                        0x2104
18062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_0                          0x2105
18162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_1                          0x2106
18262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_2                          0x2107
18362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_3                          0x2108
18462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_ADDRESS                     0x2109
18562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_LOW                    0x210A
18662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_MIDDLE                 0x210B
18762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_HIGH                   0x210C
18862306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_MSTAT_COUNTER_LOW(countId)   (0x2110 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
18962306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_MSTAT_COUNTER_MID(countId)   (0x2111 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
19062306a36Sopenharmony_ci#define mSUNI1x10GEXP_REG_MSTAT_COUNTER_HIGH(countId)  (0x2112 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
19162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_LOW                             0x2110
19262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_MID                             0x2111
19362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_HIGH                            0x2112
19462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_RESVD                           0x2113
19562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW                             0x2114
19662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_MID                             0x2115
19762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_HIGH                            0x2116
19862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_RESVD                           0x2117
19962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_LOW                             0x2118
20062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_MID                             0x2119
20162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_HIGH                            0x211A
20262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_RESVD                           0x211B
20362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_LOW                             0x211C
20462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_MID                             0x211D
20562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_HIGH                            0x211E
20662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_RESVD                           0x211F
20762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_LOW                             0x2120
20862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_MID                             0x2121
20962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_HIGH                            0x2122
21062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_RESVD                           0x2123
21162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_LOW                             0x2124
21262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_MID                             0x2125
21362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_HIGH                            0x2126
21462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_RESVD                           0x2127
21562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_LOW                             0x2128
21662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_MID                             0x2129
21762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_HIGH                            0x212A
21862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_RESVD                           0x212B
21962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_LOW                             0x212C
22062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_MID                             0x212D
22162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_HIGH                            0x212E
22262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_RESVD                           0x212F
22362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_LOW                             0x2130
22462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_MID                             0x2131
22562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_HIGH                            0x2132
22662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_RESVD                           0x2133
22762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_LOW                             0x2134
22862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_MID                             0x2135
22962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_HIGH                            0x2136
23062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_RESVD                           0x2137
23162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_LOW                            0x2138
23262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_MID                            0x2139
23362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_HIGH                           0x213A
23462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_RESVD                          0x213B
23562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_LOW                            0x213C
23662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_MID                            0x213D
23762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_HIGH                           0x213E
23862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_RESVD                          0x213F
23962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_LOW                            0x2140
24062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_MID                            0x2141
24162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_HIGH                           0x2142
24262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_RESVD                          0x2143
24362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_LOW                            0x2144
24462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_MID                            0x2145
24562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_HIGH                           0x2146
24662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_RESVD                          0x2147
24762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_LOW                            0x2148
24862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_MID                            0x2149
24962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_HIGH                           0x214A
25062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_RESVD                          0x214B
25162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_LOW                            0x214C
25262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_MID                            0x214D
25362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_HIGH                           0x214E
25462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_RESVD                          0x214F
25562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_LOW                            0x2150
25662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_MID                            0x2151
25762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_HIGH                           0x2152
25862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_RESVD                          0x2153
25962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_LOW                            0x2154
26062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_MID                            0x2155
26162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_HIGH                           0x2156
26262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_RESVD                          0x2157
26362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_LOW                            0x2158
26462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_MID                            0x2159
26562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_HIGH                           0x215A
26662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_RESVD                          0x215B
26762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_LOW                            0x215C
26862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_MID                            0x215D
26962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_HIGH                           0x215E
27062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_RESVD                          0x215F
27162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_LOW                            0x2160
27262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_MID                            0x2161
27362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_HIGH                           0x2162
27462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_RESVD                          0x2163
27562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_LOW                            0x2164
27662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_MID                            0x2165
27762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_HIGH                           0x2166
27862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_RESVD                          0x2167
27962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_LOW                            0x2168
28062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_MID                            0x2169
28162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_HIGH                           0x216A
28262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_RESVD                          0x216B
28362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_LOW                            0x216C
28462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_MID                            0x216D
28562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_HIGH                           0x216E
28662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_RESVD                          0x216F
28762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_LOW                            0x2170
28862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_MID                            0x2171
28962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_HIGH                           0x2172
29062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_RESVD                          0x2173
29162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_LOW                            0x2174
29262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_MID                            0x2175
29362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_HIGH                           0x2176
29462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_RESVD                          0x2177
29562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_LOW                            0x2178
29662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_MID                            0x2179
29762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_HIGH                           0x217a
29862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_RESVD                          0x217b
29962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_LOW                            0x217c
30062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_MID                            0x217d
30162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_HIGH                           0x217e
30262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_RESVD                          0x217f
30362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_LOW                            0x2180
30462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_MID                            0x2181
30562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_HIGH                           0x2182
30662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_RESVD                          0x2183
30762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_LOW                            0x2184
30862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_MID                            0x2185
30962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_HIGH                           0x2186
31062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_RESVD                          0x2187
31162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_LOW                            0x2188
31262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_MID                            0x2189
31362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_HIGH                           0x218A
31462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_RESVD                          0x218B
31562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_LOW                            0x218C
31662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_MID                            0x218D
31762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_HIGH                           0x218E
31862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_RESVD                          0x218F
31962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_LOW                            0x2190
32062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_MID                            0x2191
32162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_HIGH                           0x2192
32262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_RESVD                          0x2193
32362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW                            0x2194
32462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_MID                            0x2195
32562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_HIGH                           0x2196
32662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_RESVD                          0x2197
32762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_LOW                            0x2198
32862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_MID                            0x2199
32962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_HIGH                           0x219A
33062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_RESVD                          0x219B
33162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_LOW                            0x219C
33262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_MID                            0x219D
33362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_HIGH                           0x219E
33462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_RESVD                          0x219F
33562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_LOW                            0x21A0
33662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_MID                            0x21A1
33762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_HIGH                           0x21A2
33862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_RESVD                          0x21A3
33962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_LOW                            0x21A4
34062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_MID                            0x21A5
34162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_HIGH                           0x21A6
34262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_RESVD                          0x21A7
34362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_LOW                            0x21A8
34462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_MID                            0x21A9
34562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_HIGH                           0x21AA
34662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_RESVD                          0x21AB
34762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_LOW                            0x21AC
34862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_MID                            0x21AD
34962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_HIGH                           0x21AE
35062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_RESVD                          0x21AF
35162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_LOW                            0x21B0
35262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_MID                            0x21B1
35362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_HIGH                           0x21B2
35462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_RESVD                          0x21B3
35562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_LOW                            0x21B4
35662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_MID                            0x21B5
35762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_HIGH                           0x21B6
35862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_RESVD                          0x21B7
35962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_LOW                            0x21B8
36062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_MID                            0x21B9
36162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_HIGH                           0x21BA
36262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_RESVD                          0x21BB
36362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_LOW                            0x21BC
36462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_MID                            0x21BD
36562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_HIGH                           0x21BE
36662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_RESVD                          0x21BF
36762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_LOW                            0x21C0
36862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_MID                            0x21C1
36962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_HIGH                           0x21C2
37062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_RESVD                          0x21C3
37162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_LOW                            0x21C4
37262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_MID                            0x21C5
37362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_HIGH                           0x21C6
37462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_RESVD                          0x21C7
37562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_LOW                            0x21C8
37662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_MID                            0x21C9
37762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_HIGH                           0x21CA
37862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_RESVD                          0x21CB
37962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_LOW                            0x21CC
38062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_MID                            0x21CD
38162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_HIGH                           0x21CE
38262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_RESVD                          0x21CF
38362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_LOW                            0x21D0
38462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_MID                            0x21D1
38562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_HIGH                           0x21D2
38662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_RESVD                          0x21D3
38762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_LOW                            0x21D4
38862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_MID                            0x21D5
38962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_HIGH                           0x21D6
39062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_RESVD                          0x21D7
39162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_LOW                            0x21D8
39262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_MID                            0x21D9
39362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_HIGH                           0x21DA
39462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_RESVD                          0x21DB
39562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_LOW                            0x21DC
39662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_MID                            0x21DD
39762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_HIGH                           0x21DE
39862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_RESVD                          0x21DF
39962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_LOW                            0x21E0
40062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_MID                            0x21E1
40162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_HIGH                           0x21E2
40262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_RESVD                          0x21E3
40362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_LOW                            0x21E4
40462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_MID                            0x21E5
40562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_HIGH                           0x21E6
40662306a36Sopenharmony_ci#define SUNI1x10GEXP_CNTR_MAC_ETHERNET_NUM                               51
40762306a36Sopenharmony_ci
40862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_GLOBAL_CONFIG                              0x2200
40962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_CHANNEL_PROVISION                          0x2201
41062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_FIFO_OVERFLOW_ENABLE                       0x2209
41162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_FIFO_OVERFLOW_INTERRUPT                    0x220A
41262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_INDIR_CHANNEL_ADDRESS                      0x220D
41362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_INDIR_LOGICAL_FIFO_LOW_LIMIT_PROVISION     0x220E
41462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_INDIR_LOGICAL_FIFO_HIGH_LIMIT              0x220F
41562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_INDIR_FULL_ALMOST_FULL_STATUS_LIMIT        0x2210
41662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_IFLX_INDIR_EMPTY_ALMOST_EMPTY_STATUS_LIMIT      0x2211
41762306a36Sopenharmony_ci
41862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_CONFIG                                   0x2240
41962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_MASK                                     0x2241
42062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_FAIRNESS_MASKING                         0x2242
42162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_MAXBURST1                                0x2243
42262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_MAXBURST2                                0x2244
42362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4MOS_TRANSFER_SIZE                            0x2245
42462306a36Sopenharmony_ci
42562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4ODP_CONFIG                                   0x2280
42662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4ODP_INTERRUPT_MASK                           0x2282
42762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4ODP_INTERRUPT                                0x2283
42862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4ODP_CONFIG_MAX_T                             0x2284
42962306a36Sopenharmony_ci
43062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_STATUS                        0x2300
43162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_CHANGE                        0x2301
43262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_MASK                          0x2302
43362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_LIMITS                        0x2303
43462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_CALENDAR_REPETITIONS                      0x2304
43562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IO_CONFIG                                    0x2305
43662306a36Sopenharmony_ci
43762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_CONFIG_1                                   0x3040
43862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_CONFIG_2                                   0x3041
43962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_CONFIG_3                                   0x3042
44062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_INTERRUPT                                  0x3043
44162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_STATUS                                     0x3044
44262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_MAX_FRAME_SIZE                             0x3045
44362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_MIN_FRAME_SIZE                             0x3046
44462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_SA_15_0                                    0x3047
44562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_SA_31_16                                   0x3048
44662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_SA_47_32                                   0x3049
44762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_PAUSE_TIMER                                0x304D
44862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_PAUSE_TIMER_INTERVAL                       0x304E
44962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_FILTER_ERROR_COUNTER                       0x3051
45062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXXG_PAUSE_QUANTUM_CONFIG                       0x3052
45162306a36Sopenharmony_ci
45262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XTEF_CTRL                                       0x3080
45362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XTEF_INTERRUPT_STATUS                           0x3084
45462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XTEF_INTERRUPT_ENABLE                           0x3085
45562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_XTEF_VISIBILITY                                 0x3086
45662306a36Sopenharmony_ci
45762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_OAM_CONFIG                                0x30C0
45862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_MINI_RATE_CONFIG                          0x30C1
45962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_MINI_GAP_FIFO_CONFIG                      0x30C2
46062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P1P2_STATIC_VALUES                        0x30C3
46162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P3P4_STATIC_VALUES                        0x30C4
46262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P5P6_STATIC_VALUES                        0x30C5
46362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_INTERRUPT_ENABLE                          0x30C6
46462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_INTERRUPT_STATUS                          0x30C7
46562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_INSERT_COUNT_LSB                          0x30C8
46662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_INSERT_COUNT_MSB                          0x30C9
46762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_OAM_MINI_COUNT_LSB                        0x30CA
46862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_OAM_MINI_COUNT_MSB                        0x30CB
46962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P1P2_MINI_MASK                            0x30CC
47062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P3P4_MINI_MASK                            0x30CD
47162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_P5P6_MINI_MASK                            0x30CE
47262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_COSET                                     0x30CF
47362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_EMPTY_FIFO_INS_OP_CNT_LSB                 0x30D0
47462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_EMPTY_FIFO_INS_OP_CNT_MSB                 0x30D1
47562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_STATIC_VALUE_MINI_COUNT_LSB               0x30D2
47662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_TXOAM_STATIC_VALUE_MINI_COUNT_MSB               0x30D3
47762306a36Sopenharmony_ci
47862306a36Sopenharmony_ci
47962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_GLOBAL_CONFIG                              0x3200
48062306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_ERCU_GLOBAL_STATUS                         0x3201
48162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_CHANNEL_ADDRESS                      0x3202
48262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_LOW_LIMIT                       0x3203
48362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_HIGH_LIMIT                      0x3204
48462306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_FULL_ALMOST_FULL_STATUS_AND_LIMIT    0x3205
48562306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_EMPTY_ALMOST_EMPTY_STATUS_AND_LIMIT  0x3206
48662306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_CUT_THROUGH_THRESHOLD           0x3207
48762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_FIFO_OVERFLOW_ERROR_ENABLE                 0x320C
48862306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_FIFO_OVERFLOW_ERROR_INDICATION             0x320D
48962306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_EFLX_CHANNEL_PROVISION                          0x3210
49062306a36Sopenharmony_ci
49162306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IDU_CONFIG                                   0x3280
49262306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IDU_INTERRUPT_MASK                           0x3282
49362306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_PL4IDU_INTERRUPT                                0x3283
49462306a36Sopenharmony_ci
49562306a36Sopenharmony_ci
49662306a36Sopenharmony_ci/*----------------------------------------*/
49762306a36Sopenharmony_ci#define SUNI1x10GEXP_REG_MAX_OFFSET                                      0x3480
49862306a36Sopenharmony_ci
49962306a36Sopenharmony_ci/******************************************************************************/
50062306a36Sopenharmony_ci/*                 -- End register offset definitions --                      */
50162306a36Sopenharmony_ci/******************************************************************************/
50262306a36Sopenharmony_ci
50362306a36Sopenharmony_ci/******************************************************************************/
50462306a36Sopenharmony_ci/** SUNI-1x10GE-XP REGISTER BIT MASKS                                        **/
50562306a36Sopenharmony_ci/******************************************************************************/
50662306a36Sopenharmony_ci
50762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_1   0x00001
50862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_2   0x00003
50962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_3   0x00007
51062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_4   0x0000f
51162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_5   0x0001f
51262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_6   0x0003f
51362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_7   0x0007f
51462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_8   0x000ff
51562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_9   0x001ff
51662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_10  0x003ff
51762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_11  0x007ff
51862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_12  0x00fff
51962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_13  0x01fff
52062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_14  0x03fff
52162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_15  0x07fff
52262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_BITS_16  0x0ffff
52362306a36Sopenharmony_ci
52462306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_1(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_15)
52562306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_2(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_14)
52662306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_3(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_13)
52762306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_4(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_12)
52862306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_5(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_11)
52962306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_6(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_10)
53062306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_7(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_9)
53162306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_8(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_8)
53262306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_9(v)  ((v) & SUNI1x10GEXP_BITMSK_BITS_7)
53362306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_10(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_6)
53462306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_11(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_5)
53562306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_12(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_4)
53662306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_13(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_3)
53762306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_14(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_2)
53862306a36Sopenharmony_ci#define mSUNI1x10GEXP_CLR_MSBITS_15(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_1)
53962306a36Sopenharmony_ci
54062306a36Sopenharmony_ci#define mSUNI1x10GEXP_GET_BIT(val, bitMsk) (((val)&(bitMsk)) ? 1:0)
54162306a36Sopenharmony_ci
54262306a36Sopenharmony_ci
54362306a36Sopenharmony_ci
54462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
54562306a36Sopenharmony_ci * Register 0x0001: S/UNI-1x10GE-XP Product Revision
54662306a36Sopenharmony_ci *    Bit 3-0  REVISION
54762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
54862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_REVISION  0x000F
54962306a36Sopenharmony_ci
55062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
55162306a36Sopenharmony_ci * Register 0x0002: S/UNI-1x10GE-XP Configuration and Reset Control
55262306a36Sopenharmony_ci *    Bit 2  XAUI_ARESETB
55362306a36Sopenharmony_ci *    Bit 1  PL4_ARESETB
55462306a36Sopenharmony_ci *    Bit 0  DRESETB
55562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
55662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XAUI_ARESET  0x0004
55762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4_ARESET   0x0002
55862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_DRESETB      0x0001
55962306a36Sopenharmony_ci
56062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
56162306a36Sopenharmony_ci * Register 0x0003: S/UNI-1x10GE-XP Loop Back and Miscellaneous Control
56262306a36Sopenharmony_ci *    Bit 11  PL4IO_OUTCLKSEL
56362306a36Sopenharmony_ci *    Bit 9   SYSPCSLB
56462306a36Sopenharmony_ci *    Bit 8   LINEPCSLB
56562306a36Sopenharmony_ci *    Bit 7   MSTAT_BYPASS
56662306a36Sopenharmony_ci *    Bit 6   RXXG_BYPASS
56762306a36Sopenharmony_ci *    Bit 5   TXXG_BYPASS
56862306a36Sopenharmony_ci *    Bit 4   SOP_PAD_EN
56962306a36Sopenharmony_ci *    Bit 1   LOS_INV
57062306a36Sopenharmony_ci *    Bit 0   OVERRIDE_LOS
57162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
57262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUTCLKSEL  0x0800
57362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_SYSPCSLB         0x0200
57462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LINEPCSLB        0x0100
57562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MSTAT_BYPASS     0x0080
57662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_BYPASS      0x0040
57762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_BYPASS      0x0020
57862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_SOP_PAD_EN       0x0010
57962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LOS_INV          0x0002
58062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_OVERRIDE_LOS     0x0001
58162306a36Sopenharmony_ci
58262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
58362306a36Sopenharmony_ci * Register 0x0004: S/UNI-1x10GE-XP Device Status
58462306a36Sopenharmony_ci *    Bit 9 TOP_SXRA_EXPIRED
58562306a36Sopenharmony_ci *    Bit 8 TOP_MDIO_BUSY
58662306a36Sopenharmony_ci *    Bit 7 TOP_DTRB
58762306a36Sopenharmony_ci *    Bit 6 TOP_EXPIRED
58862306a36Sopenharmony_ci *    Bit 5 TOP_PAUSED
58962306a36Sopenharmony_ci *    Bit 4 TOP_PL4_ID_DOOL
59062306a36Sopenharmony_ci *    Bit 3 TOP_PL4_IS_DOOL
59162306a36Sopenharmony_ci *    Bit 2 TOP_PL4_ID_ROOL
59262306a36Sopenharmony_ci *    Bit 1 TOP_PL4_IS_ROOL
59362306a36Sopenharmony_ci *    Bit 0 TOP_PL4_OUT_ROOL
59462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
59562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_SXRA_EXPIRED  0x0200
59662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_MDIO_BUSY     0x0100
59762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_DTRB          0x0080
59862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_EXPIRED       0x0040
59962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PAUSED        0x0020
60062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4_ID_DOOL   0x0010
60162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4_IS_DOOL   0x0008
60262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4_ID_ROOL   0x0004
60362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4_IS_ROOL   0x0002
60462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4_OUT_ROOL  0x0001
60562306a36Sopenharmony_ci
60662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
60762306a36Sopenharmony_ci * Register 0x0005: Global Performance Update and Clock Monitors
60862306a36Sopenharmony_ci *    Bit 15 TIP
60962306a36Sopenharmony_ci *    Bit 8  XAUI_REF_CLKA
61062306a36Sopenharmony_ci *    Bit 7  RXLANE3CLKA
61162306a36Sopenharmony_ci *    Bit 6  RXLANE2CLKA
61262306a36Sopenharmony_ci *    Bit 5  RXLANE1CLKA
61362306a36Sopenharmony_ci *    Bit 4  RXLANE0CLKA
61462306a36Sopenharmony_ci *    Bit 3  CSUCLKA
61562306a36Sopenharmony_ci *    Bit 2  TDCLKA
61662306a36Sopenharmony_ci *    Bit 1  RSCLKA
61762306a36Sopenharmony_ci *    Bit 0  RDCLKA
61862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
61962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TIP            0x8000
62062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XAUI_REF_CLKA  0x0100
62162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXLANE3CLKA    0x0080
62262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXLANE2CLKA    0x0040
62362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXLANE1CLKA    0x0020
62462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXLANE0CLKA    0x0010
62562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_CSUCLKA        0x0008
62662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TDCLKA         0x0004
62762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RSCLKA         0x0002
62862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RDCLKA         0x0001
62962306a36Sopenharmony_ci
63062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
63162306a36Sopenharmony_ci * Register 0x0006: MDIO Command
63262306a36Sopenharmony_ci *    Bit 4 MDIO_RDINC
63362306a36Sopenharmony_ci *    Bit 3 MDIO_RSTAT
63462306a36Sopenharmony_ci *    Bit 2 MDIO_LCTLD
63562306a36Sopenharmony_ci *    Bit 1 MDIO_LCTLA
63662306a36Sopenharmony_ci *    Bit 0 MDIO_SPRE
63762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
63862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_RDINC  0x0010
63962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_RSTAT  0x0008
64062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_LCTLD  0x0004
64162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_LCTLA  0x0002
64262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_SPRE   0x0001
64362306a36Sopenharmony_ci
64462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
64562306a36Sopenharmony_ci * Register 0x0007: MDIO Interrupt Enable
64662306a36Sopenharmony_ci *    Bit 0 MDIO_BUSY_EN
64762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
64862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_BUSY_EN  0x0001
64962306a36Sopenharmony_ci
65062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
65162306a36Sopenharmony_ci * Register 0x0008: MDIO Interrupt Status
65262306a36Sopenharmony_ci *    Bit 0 MDIO_BUSYI
65362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
65462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_BUSYI  0x0001
65562306a36Sopenharmony_ci
65662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
65762306a36Sopenharmony_ci * Register 0x0009: MMD PHY Address
65862306a36Sopenharmony_ci *    Bit 12-8 MDIO_DEVADR
65962306a36Sopenharmony_ci *    Bit 4-0 MDIO_PRTADR
66062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
66162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_DEVADR  0x1F00
66262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_MDIO_DEVADR  8
66362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDIO_PRTADR  0x001F
66462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_MDIO_PRTADR  0
66562306a36Sopenharmony_ci
66662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
66762306a36Sopenharmony_ci * Register 0x000C: OAM Interface Control
66862306a36Sopenharmony_ci *    Bit 6 MDO_OD_ENB
66962306a36Sopenharmony_ci *    Bit 5 MDI_INV
67062306a36Sopenharmony_ci *    Bit 4 MDI_SEL
67162306a36Sopenharmony_ci *    Bit 3 RXOAMEN
67262306a36Sopenharmony_ci *    Bit 2 RXOAMCLKEN
67362306a36Sopenharmony_ci *    Bit 1 TXOAMEN
67462306a36Sopenharmony_ci *    Bit 0 TXOAMCLKEN
67562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
67662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDO_OD_ENB  0x0040
67762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDI_INV     0x0020
67862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MDI_SEL     0x0010
67962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAMEN     0x0008
68062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAMCLKEN  0x0004
68162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAMEN     0x0002
68262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAMCLKEN  0x0001
68362306a36Sopenharmony_ci
68462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
68562306a36Sopenharmony_ci * Register 0x000D: S/UNI-1x10GE-XP Master Interrupt Status
68662306a36Sopenharmony_ci *    Bit 15 TOP_PL4IO_INT
68762306a36Sopenharmony_ci *    Bit 14 TOP_IRAM_INT
68862306a36Sopenharmony_ci *    Bit 13 TOP_ERAM_INT
68962306a36Sopenharmony_ci *    Bit 12 TOP_XAUI_INT
69062306a36Sopenharmony_ci *    Bit 11 TOP_MSTAT_INT
69162306a36Sopenharmony_ci *    Bit 10 TOP_RXXG_INT
69262306a36Sopenharmony_ci *    Bit 9 TOP_TXXG_INT
69362306a36Sopenharmony_ci *    Bit 8 TOP_XRF_INT
69462306a36Sopenharmony_ci *    Bit 7 TOP_XTEF_INT
69562306a36Sopenharmony_ci *    Bit 6 TOP_MDIO_BUSY_INT
69662306a36Sopenharmony_ci *    Bit 5 TOP_RXOAM_INT
69762306a36Sopenharmony_ci *    Bit 4 TOP_TXOAM_INT
69862306a36Sopenharmony_ci *    Bit 3 TOP_IFLX_INT
69962306a36Sopenharmony_ci *    Bit 2 TOP_EFLX_INT
70062306a36Sopenharmony_ci *    Bit 1 TOP_PL4ODP_INT
70162306a36Sopenharmony_ci *    Bit 0 TOP_PL4IDU_INT
70262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
70362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4IO_INT      0x8000
70462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_IRAM_INT       0x4000
70562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_ERAM_INT       0x2000
70662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_XAUI_INT       0x1000
70762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_MSTAT_INT      0x0800
70862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_RXXG_INT       0x0400
70962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_TXXG_INT       0x0200
71062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_XRF_INT        0x0100
71162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_XTEF_INT       0x0080
71262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_MDIO_BUSY_INT  0x0040
71362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_RXOAM_INT      0x0020
71462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_TXOAM_INT      0x0010
71562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_IFLX_INT       0x0008
71662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_EFLX_INT       0x0004
71762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4ODP_INT     0x0002
71862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_PL4IDU_INT     0x0001
71962306a36Sopenharmony_ci
72062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
72162306a36Sopenharmony_ci * Register 0x000E:PM3393 Global interrupt enable
72262306a36Sopenharmony_ci *    Bit 15 TOP_INTE
72362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
72462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TOP_INTE  0x8000
72562306a36Sopenharmony_ci
72662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
72762306a36Sopenharmony_ci * Register 0x0010: XTEF Miscellaneous Control
72862306a36Sopenharmony_ci *    Bit 7 RF_VAL
72962306a36Sopenharmony_ci *    Bit 6 RF_OVERRIDE
73062306a36Sopenharmony_ci *    Bit 5 LF_VAL
73162306a36Sopenharmony_ci *    Bit 4 LF_OVERRIDE
73262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
73362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RF_VAL             0x0080
73462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RF_OVERRIDE        0x0040
73562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LF_VAL             0x0020
73662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LF_OVERRIDE        0x0010
73762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LFRF_OVERRIDE_VAL  0x00F0
73862306a36Sopenharmony_ci
73962306a36Sopenharmony_ci/*----------------------------------------------------------------------------
74062306a36Sopenharmony_ci * Register 0x0011: XRF Miscellaneous Control
74162306a36Sopenharmony_ci *    Bit 6-4 EN_IDLE_REP
74262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
74362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EN_IDLE_REP  0x0070
74462306a36Sopenharmony_ci
74562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
74662306a36Sopenharmony_ci * Register 0x0100: SERDES 3125 Configuration Register 1
74762306a36Sopenharmony_ci *    Bit 10 RXEQB_3
74862306a36Sopenharmony_ci *    Bit 8  RXEQB_2
74962306a36Sopenharmony_ci *    Bit 6  RXEQB_1
75062306a36Sopenharmony_ci *    Bit 4  RXEQB_0
75162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
75262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXEQB    0x0FF0
75362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXEQB_3  10
75462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXEQB_2  8
75562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXEQB_1  6
75662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXEQB_0  4
75762306a36Sopenharmony_ci
75862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
75962306a36Sopenharmony_ci * Register 0x0101: SERDES 3125 Configuration Register 2
76062306a36Sopenharmony_ci *    Bit 12 YSEL
76162306a36Sopenharmony_ci *    Bit  7 PRE_EMPH_3
76262306a36Sopenharmony_ci *    Bit  6 PRE_EMPH_2
76362306a36Sopenharmony_ci *    Bit  5 PRE_EMPH_1
76462306a36Sopenharmony_ci *    Bit  4 PRE_EMPH_0
76562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
76662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_YSEL        0x1000
76762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PRE_EMPH    0x00F0
76862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PRE_EMPH_3  0x0080
76962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PRE_EMPH_2  0x0040
77062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PRE_EMPH_1  0x0020
77162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PRE_EMPH_0  0x0010
77262306a36Sopenharmony_ci
77362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
77462306a36Sopenharmony_ci * Register 0x0102: SERDES 3125 Interrupt Enable Register
77562306a36Sopenharmony_ci *    Bit 3 LASIE
77662306a36Sopenharmony_ci *    Bit 2 SPLL_RAE
77762306a36Sopenharmony_ci *    Bit 1 MPLL_RAE
77862306a36Sopenharmony_ci *    Bit 0 PLL_LOCKE
77962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
78062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LASIE      0x0008
78162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_SPLL_RAE   0x0004
78262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MPLL_RAE   0x0002
78362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PLL_LOCKE  0x0001
78462306a36Sopenharmony_ci
78562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
78662306a36Sopenharmony_ci * Register 0x0103: SERDES 3125 Interrupt Visibility Register
78762306a36Sopenharmony_ci *    Bit 3 LASIV
78862306a36Sopenharmony_ci *    Bit 2 SPLL_RAV
78962306a36Sopenharmony_ci *    Bit 1 MPLL_RAV
79062306a36Sopenharmony_ci *    Bit 0 PLL_LOCKV
79162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
79262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LASIV      0x0008
79362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_SPLL_RAV   0x0004
79462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MPLL_RAV   0x0002
79562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PLL_LOCKV  0x0001
79662306a36Sopenharmony_ci
79762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
79862306a36Sopenharmony_ci * Register 0x0104: SERDES 3125 Interrupt Status Register
79962306a36Sopenharmony_ci *    Bit 3 LASII
80062306a36Sopenharmony_ci *    Bit 2 SPLL_RAI
80162306a36Sopenharmony_ci *    Bit 1 MPLL_RAI
80262306a36Sopenharmony_ci *    Bit 0 PLL_LOCKI
80362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
80462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LASII      0x0008
80562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_SPLL_RAI   0x0004
80662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MPLL_RAI   0x0002
80762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PLL_LOCKI  0x0001
80862306a36Sopenharmony_ci
80962306a36Sopenharmony_ci/*----------------------------------------------------------------------------
81062306a36Sopenharmony_ci * Register 0x0107: SERDES 3125 Test Configuration
81162306a36Sopenharmony_ci *    Bit 12 DUALTX
81262306a36Sopenharmony_ci *    Bit 10 HC_1
81362306a36Sopenharmony_ci *    Bit  9 HC_0
81462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
81562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_DUALTX  0x1000
81662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HC      0x0600
81762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_HC_0    9
81862306a36Sopenharmony_ci
81962306a36Sopenharmony_ci/*----------------------------------------------------------------------------
82062306a36Sopenharmony_ci * Register 0x2040: RXXG Configuration 1
82162306a36Sopenharmony_ci *    Bit 15  RXXG_RXEN
82262306a36Sopenharmony_ci *    Bit 14  RXXG_ROCF
82362306a36Sopenharmony_ci *    Bit 13  RXXG_PAD_STRIP
82462306a36Sopenharmony_ci *    Bit 10  RXXG_PUREP
82562306a36Sopenharmony_ci *    Bit 9   RXXG_LONGP
82662306a36Sopenharmony_ci *    Bit 8   RXXG_PARF
82762306a36Sopenharmony_ci *    Bit 7   RXXG_FLCHK
82862306a36Sopenharmony_ci *    Bit 5   RXXG_PASS_CTRL
82962306a36Sopenharmony_ci *    Bit 3   RXXG_CRC_STRIP
83062306a36Sopenharmony_ci *    Bit 2-0 RXXG_MIFG
83162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
83262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_RXEN       0x8000
83362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_ROCF       0x4000
83462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PAD_STRIP  0x2000
83562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PUREP      0x0400
83662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_LONGP      0x0200
83762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PARF       0x0100
83862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_FLCHK      0x0080
83962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PASS_CTRL  0x0020
84062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_CRC_STRIP  0x0008
84162306a36Sopenharmony_ci
84262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
84362306a36Sopenharmony_ci * Register 0x02041: RXXG Configuration 2
84462306a36Sopenharmony_ci *    Bit 7-0 RXXG_HDRSIZE
84562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
84662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_HDRSIZE  0x00FF
84762306a36Sopenharmony_ci
84862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
84962306a36Sopenharmony_ci * Register 0x2042: RXXG Configuration 3
85062306a36Sopenharmony_ci *    Bit 15 RXXG_MIN_LERRE
85162306a36Sopenharmony_ci *    Bit 14 RXXG_MAX_LERRE
85262306a36Sopenharmony_ci *    Bit 12 RXXG_LINE_ERRE
85362306a36Sopenharmony_ci *    Bit 10 RXXG_RX_OVRE
85462306a36Sopenharmony_ci *    Bit 9  RXXG_ADR_FILTERE
85562306a36Sopenharmony_ci *    Bit 8  RXXG_ERR_FILTERE
85662306a36Sopenharmony_ci *    Bit 5  RXXG_PRMB_ERRE
85762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
85862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MIN_LERRE     0x8000
85962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MAX_LERRE     0x4000
86062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_LINE_ERRE     0x1000
86162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_RX_OVRE       0x0400
86262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_ADR_FILTERE   0x0200
86362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_ERR_FILTERRE  0x0100
86462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PRMB_ERRE     0x0020
86562306a36Sopenharmony_ci
86662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
86762306a36Sopenharmony_ci * Register 0x2043: RXXG Interrupt
86862306a36Sopenharmony_ci *    Bit 15 RXXG_MIN_LERRI
86962306a36Sopenharmony_ci *    Bit 14 RXXG_MAX_LERRI
87062306a36Sopenharmony_ci *    Bit 12 RXXG_LINE_ERRI
87162306a36Sopenharmony_ci *    Bit 10 RXXG_RX_OVRI
87262306a36Sopenharmony_ci *    Bit 9  RXXG_ADR_FILTERI
87362306a36Sopenharmony_ci *    Bit 8  RXXG_ERR_FILTERI
87462306a36Sopenharmony_ci *    Bit 5  RXXG_PRMB_ERRE
87562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
87662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MIN_LERRI    0x8000
87762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MAX_LERRI    0x4000
87862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_LINE_ERRI    0x1000
87962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_RX_OVRI      0x0400
88062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_ADR_FILTERI  0x0200
88162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_ERR_FILTERI  0x0100
88262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PRMB_ERRE    0x0020
88362306a36Sopenharmony_ci
88462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
88562306a36Sopenharmony_ci * Register 0x2049: RXXG Receive FIFO Threshold
88662306a36Sopenharmony_ci *    Bit 2-0 RXXG_CUT_THRU
88762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
88862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_CUT_THRU  0x0007
88962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXXG_CUT_THRU  0
89062306a36Sopenharmony_ci
89162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
89262306a36Sopenharmony_ci * Register 0x2062H - 0x2069: RXXG Exact Match VID
89362306a36Sopenharmony_ci *    Bit 11-0 RXXG_VID_MATCH
89462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
89562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_VID_MATCH  0x0FFF
89662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXXG_VID_MATCH  0
89762306a36Sopenharmony_ci
89862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
89962306a36Sopenharmony_ci * Register 0x206EH - 0x206F: RXXG Address Filter Control
90062306a36Sopenharmony_ci *    Bit 3 RXXG_FORWARD_ENABLE
90162306a36Sopenharmony_ci *    Bit 2 RXXG_VLAN_ENABLE
90262306a36Sopenharmony_ci *    Bit 1 RXXG_SRC_ADDR
90362306a36Sopenharmony_ci *    Bit 0 RXXG_MATCH_ENABLE
90462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
90562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_FORWARD_ENABLE  0x0008
90662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_VLAN_ENABLE     0x0004
90762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_SRC_ADDR        0x0002
90862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MATCH_ENABLE    0x0001
90962306a36Sopenharmony_ci
91062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
91162306a36Sopenharmony_ci * Register 0x2070: RXXG Address Filter Control 2
91262306a36Sopenharmony_ci *    Bit 1 RXXG_PMODE
91362306a36Sopenharmony_ci *    Bit 0 RXXG_MHASH_EN
91462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
91562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_PMODE     0x0002
91662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN  0x0001
91762306a36Sopenharmony_ci
91862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
91962306a36Sopenharmony_ci * Register 0x2081: XRF Control Register 2
92062306a36Sopenharmony_ci *    Bit 6   EN_PKT_GEN
92162306a36Sopenharmony_ci *    Bit 4-2 PATT
92262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
92362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EN_PKT_GEN  0x0040
92462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PATT        0x001C
92562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PATT        2
92662306a36Sopenharmony_ci
92762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
92862306a36Sopenharmony_ci * Register 0x2088: XRF Interrupt Enable
92962306a36Sopenharmony_ci *    Bit 12-9 LANE_HICERE
93062306a36Sopenharmony_ci *    Bit 8-5  HS_SD_LANEE
93162306a36Sopenharmony_ci *    Bit 4    ALIGN_STATUS_ERRE
93262306a36Sopenharmony_ci *    Bit 3-0  LANE_SYNC_STAT_ERRE
93362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
93462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_HICERE          0x1E00
93562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_HICERE          9
93662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANEE          0x01E0
93762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_HS_SD_LANEE          5
93862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERRE    0x0010
93962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_SYNC_STAT_ERRE  0x000F
94062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_SYNC_STAT_ERRE  0
94162306a36Sopenharmony_ci
94262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
94362306a36Sopenharmony_ci * Register 0x2089: XRF Interrupt Status
94462306a36Sopenharmony_ci *    Bit 12-9 LANE_HICERI
94562306a36Sopenharmony_ci *    Bit 8-5  HS_SD_LANEI
94662306a36Sopenharmony_ci *    Bit 4    ALIGN_STATUS_ERRI
94762306a36Sopenharmony_ci *    Bit 3-0  LANE_SYNC_STAT_ERRI
94862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
94962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_HICERI          0x1E00
95062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_HICERI          9
95162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANEI          0x01E0
95262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_HS_SD_LANEI          5
95362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERRI    0x0010
95462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_SYNC_STAT_ERRI  0x000F
95562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_SYNC_STAT_ERRI  0
95662306a36Sopenharmony_ci
95762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
95862306a36Sopenharmony_ci * Register 0x208A: XRF Error Status
95962306a36Sopenharmony_ci *    Bit 8-5  HS_SD_LANE
96062306a36Sopenharmony_ci *    Bit 4    ALIGN_STATUS_ERR
96162306a36Sopenharmony_ci *    Bit 3-0  LANE_SYNC_STAT_ERR
96262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
96362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANE3          0x0100
96462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANE2          0x0080
96562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANE1          0x0040
96662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_HS_SD_LANE0          0x0020
96762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERR     0x0010
96862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE3_SYNC_STAT_ERR  0x0008
96962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE2_SYNC_STAT_ERR  0x0004
97062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE1_SYNC_STAT_ERR  0x0002
97162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE0_SYNC_STAT_ERR  0x0001
97262306a36Sopenharmony_ci
97362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
97462306a36Sopenharmony_ci * Register 0x208B: XRF Diagnostic Interrupt Enable
97562306a36Sopenharmony_ci *    Bit 7-4 LANE_OVERRUNE
97662306a36Sopenharmony_ci *    Bit 3-0 LANE_UNDERRUNE
97762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
97862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_OVERRUNE   0x00F0
97962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_OVERRUNE   4
98062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_UNDERRUNE  0x000F
98162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_UNDERRUNE  0
98262306a36Sopenharmony_ci
98362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
98462306a36Sopenharmony_ci * Register 0x208C: XRF Diagnostic Interrupt Status
98562306a36Sopenharmony_ci *    Bit 7-4 LANE_OVERRUNI
98662306a36Sopenharmony_ci *    Bit 3-0 LANE_UNDERRUNI
98762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
98862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_OVERRUNI   0x00F0
98962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_OVERRUNI   4
99062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_LANE_UNDERRUNI  0x000F
99162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_LANE_UNDERRUNI  0
99262306a36Sopenharmony_ci
99362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
99462306a36Sopenharmony_ci * Register 0x20C0: RXOAM Configuration
99562306a36Sopenharmony_ci *    Bit 15    RXOAM_BUSY
99662306a36Sopenharmony_ci *    Bit 14-12 RXOAM_F2_SEL
99762306a36Sopenharmony_ci *    Bit 10-8  RXOAM_F1_SEL
99862306a36Sopenharmony_ci *    Bit 7-6   RXOAM_FILTER_CTRL
99962306a36Sopenharmony_ci *    Bit 5-0   RXOAM_PX_EN
100062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
100162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_BUSY         0x8000
100262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_F2_SEL       0x7000
100362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_F2_SEL       12
100462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_F1_SEL       0x0700
100562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_F1_SEL       8
100662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_CTRL  0x00C0
100762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_FILTER_CTRL  6
100862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_PX_EN        0x003F
100962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_PX_EN        0
101062306a36Sopenharmony_ci
101162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
101262306a36Sopenharmony_ci * Register 0x20C1,0x20C2: RXOAM Filter Configuration
101362306a36Sopenharmony_ci *    Bit 15-8 RXOAM_FX_MASK
101462306a36Sopenharmony_ci *    Bit 7-0  RXOAM_FX_VAL
101562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
101662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FX_MASK  0xFF00
101762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_FX_MASK  8
101862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FX_VAL   0x00FF
101962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_FX_VAl   0
102062306a36Sopenharmony_ci
102162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
102262306a36Sopenharmony_ci * Register 0x20C3: RXOAM Configuration Register 2
102362306a36Sopenharmony_ci *    Bit 13    RXOAM_REC_BYTE_VAL
102462306a36Sopenharmony_ci *    Bit 11-10 RXOAM_BYPASS_MODE
102562306a36Sopenharmony_ci *    Bit 5-0   RXOAM_PX_CLEAR
102662306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
102762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_REC_BYTE_VAL  0x2000
102862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_BYPASS_MODE   0x0C00
102962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_BYPASS_MODE   10
103062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_PX_CLEAR      0x003F
103162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_PX_CLEAR      0
103262306a36Sopenharmony_ci
103362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
103462306a36Sopenharmony_ci * Register 0x20C4: RXOAM HEC Configuration
103562306a36Sopenharmony_ci *    Bit 15-8 RXOAM_COSET
103662306a36Sopenharmony_ci *    Bit 2    RXOAM_HEC_ERR_PKT
103762306a36Sopenharmony_ci *    Bit 0    RXOAM_HEC_EN
103862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
103962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_COSET        0xFF00
104062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_RXOAM_COSET        8
104162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HEC_ERR_PKT  0x0004
104262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HEC_EN       0x0001
104362306a36Sopenharmony_ci
104462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
104562306a36Sopenharmony_ci * Register 0x20C7: RXOAM Interrupt Enable
104662306a36Sopenharmony_ci *    Bit 10 RXOAM_FILTER_THRSHE
104762306a36Sopenharmony_ci *    Bit 9  RXOAM_OAM_ERRE
104862306a36Sopenharmony_ci *    Bit 8  RXOAM_HECE_THRSHE
104962306a36Sopenharmony_ci *    Bit 7  RXOAM_SOPE
105062306a36Sopenharmony_ci *    Bit 6  RXOAM_RFE
105162306a36Sopenharmony_ci *    Bit 5  RXOAM_LFE
105262306a36Sopenharmony_ci *    Bit 4  RXOAM_DV_ERRE
105362306a36Sopenharmony_ci *    Bit 3  RXOAM_DATA_INVALIDE
105462306a36Sopenharmony_ci *    Bit 2  RXOAM_FILTER_DROPE
105562306a36Sopenharmony_ci *    Bit 1  RXOAM_HECE
105662306a36Sopenharmony_ci *    Bit 0  RXOAM_OFLE
105762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
105862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHE  0x0400
105962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_OAM_ERRE       0x0200
106062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHE    0x0100
106162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_SOPE           0x0080
106262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_RFE            0x0040
106362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_LFE            0x0020
106462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_DV_ERRE        0x0010
106562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_DATA_INVALIDE  0x0008
106662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_DROPE   0x0004
106762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HECE           0x0002
106862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_OFLE           0x0001
106962306a36Sopenharmony_ci
107062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
107162306a36Sopenharmony_ci * Register 0x20C8: RXOAM Interrupt Status
107262306a36Sopenharmony_ci *    Bit 10 RXOAM_FILTER_THRSHI
107362306a36Sopenharmony_ci *    Bit 9  RXOAM_OAM_ERRI
107462306a36Sopenharmony_ci *    Bit 8  RXOAM_HECE_THRSHI
107562306a36Sopenharmony_ci *    Bit 7  RXOAM_SOPI
107662306a36Sopenharmony_ci *    Bit 6  RXOAM_RFI
107762306a36Sopenharmony_ci *    Bit 5  RXOAM_LFI
107862306a36Sopenharmony_ci *    Bit 4  RXOAM_DV_ERRI
107962306a36Sopenharmony_ci *    Bit 3  RXOAM_DATA_INVALIDI
108062306a36Sopenharmony_ci *    Bit 2  RXOAM_FILTER_DROPI
108162306a36Sopenharmony_ci *    Bit 1  RXOAM_HECI
108262306a36Sopenharmony_ci *    Bit 0  RXOAM_OFLI
108362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
108462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHI  0x0400
108562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_OAM_ERRI       0x0200
108662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHI    0x0100
108762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_SOPI           0x0080
108862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_RFI            0x0040
108962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_LFI            0x0020
109062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_DV_ERRI        0x0010
109162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_DATA_INVALIDI  0x0008
109262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_DROPI   0x0004
109362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HECI           0x0002
109462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_OFLI           0x0001
109562306a36Sopenharmony_ci
109662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
109762306a36Sopenharmony_ci * Register 0x20C9: RXOAM Status
109862306a36Sopenharmony_ci *    Bit 10 RXOAM_FILTER_THRSHV
109962306a36Sopenharmony_ci *    Bit 8  RXOAM_HECE_THRSHV
110062306a36Sopenharmony_ci *    Bit 6  RXOAM_RFV
110162306a36Sopenharmony_ci *    Bit 5  RXOAM_LFV
110262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
110362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHV  0x0400
110462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHV    0x0100
110562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_RFV            0x0040
110662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_RXOAM_LFV            0x0020
110762306a36Sopenharmony_ci
110862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
110962306a36Sopenharmony_ci * Register 0x2100: MSTAT Control
111062306a36Sopenharmony_ci *    Bit 2 MSTAT_WRITE
111162306a36Sopenharmony_ci *    Bit 1 MSTAT_CLEAR
111262306a36Sopenharmony_ci *    Bit 0 MSTAT_SNAP
111362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
111462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MSTAT_WRITE  0x0004
111562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MSTAT_CLEAR  0x0002
111662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MSTAT_SNAP   0x0001
111762306a36Sopenharmony_ci
111862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
111962306a36Sopenharmony_ci * Register 0x2109: MSTAT Counter Write Address
112062306a36Sopenharmony_ci *    Bit 5-0 MSTAT_WRITE_ADDRESS
112162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
112262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_MSTAT_WRITE_ADDRESS 0x003F
112362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_MSTAT_WRITE_ADDRESS 0
112462306a36Sopenharmony_ci
112562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
112662306a36Sopenharmony_ci * Register 0x2200: IFLX Global Configuration Register
112762306a36Sopenharmony_ci *    Bit 15   IFLX_IRCU_ENABLE
112862306a36Sopenharmony_ci *    Bit 14   IFLX_IDSWT_ENABLE
112962306a36Sopenharmony_ci *    Bit 13-0 IFLX_IFD_CNT
113062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
113162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_IRCU_ENABLE   0x8000
113262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_IDSWT_ENABLE  0x4000
113362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_IFD_CNT       0x3FFF
113462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_IFLX_IFD_CNT       0
113562306a36Sopenharmony_ci
113662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
113762306a36Sopenharmony_ci * Register 0x2209: IFLX FIFO Overflow Enable
113862306a36Sopenharmony_ci *    Bit 0 IFLX_OVFE
113962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
114062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_OVFE 0x0001
114162306a36Sopenharmony_ci
114262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
114362306a36Sopenharmony_ci * Register 0x220A: IFLX FIFO Overflow Interrupt
114462306a36Sopenharmony_ci *    Bit 0 IFLX_OVFI
114562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
114662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_OVFI 0x0001
114762306a36Sopenharmony_ci
114862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
114962306a36Sopenharmony_ci * Register 0x220D: IFLX Indirect Channel Address
115062306a36Sopenharmony_ci *    Bit 15 IFLX_BUSY
115162306a36Sopenharmony_ci *    Bit 14 IFLX_RWB
115262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
115362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_BUSY  0x8000
115462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_RWB   0x4000
115562306a36Sopenharmony_ci
115662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
115762306a36Sopenharmony_ci * Register 0x220E: IFLX Indirect Logical FIFO Low Limit & Provision
115862306a36Sopenharmony_ci *    Bit 9-0 IFLX_LOLIM
115962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
116062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_LOLIM  0x03FF
116162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_IFLX_LOLIM  0
116262306a36Sopenharmony_ci
116362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
116462306a36Sopenharmony_ci * Register 0x220F: IFLX Indirect Logical FIFO High Limit
116562306a36Sopenharmony_ci *    Bit 9-0 IFLX_HILIM
116662306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
116762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_HILIM  0x03FF
116862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_IFLX_HILIM  0
116962306a36Sopenharmony_ci
117062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
117162306a36Sopenharmony_ci * Register 0x2210: IFLX Indirect Full/Almost Full Status & Limit
117262306a36Sopenharmony_ci *    Bit 15   IFLX_FULL
117362306a36Sopenharmony_ci *    Bit 14   IFLX_AFULL
117462306a36Sopenharmony_ci *    Bit 13-0 IFLX_AFTH
117562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
117662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_FULL   0x8000
117762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_AFULL  0x4000
117862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_AFTH   0x3FFF
117962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_IFLX_AFTH   0
118062306a36Sopenharmony_ci
118162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
118262306a36Sopenharmony_ci * Register 0x2211: IFLX Indirect Empty/Almost Empty Status & Limit
118362306a36Sopenharmony_ci *    Bit 15   IFLX_EMPTY
118462306a36Sopenharmony_ci *    Bit 14   IFLX_AEMPTY
118562306a36Sopenharmony_ci *    Bit 13-0 IFLX_AETH
118662306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
118762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_EMPTY   0x8000
118862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_AEMPTY  0x4000
118962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_IFLX_AETH    0x3FFF
119062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_IFLX_AETH    0
119162306a36Sopenharmony_ci
119262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
119362306a36Sopenharmony_ci * Register 0x2240: PL4MOS Configuration Register
119462306a36Sopenharmony_ci *    Bit 3 PL4MOS_RE_INIT
119562306a36Sopenharmony_ci *    Bit 2 PL4MOS_EN
119662306a36Sopenharmony_ci *    Bit 1 PL4MOS_NO_STATUS
119762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
119862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_RE_INIT          0x0008
119962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_EN               0x0004
120062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_NO_STATUS        0x0002
120162306a36Sopenharmony_ci
120262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
120362306a36Sopenharmony_ci * Register 0x2243: PL4MOS MaxBurst1 Register
120462306a36Sopenharmony_ci *    Bit 11-0 PL4MOS_MAX_BURST1
120562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
120662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_BURST1  0x0FFF
120762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_BURST1  0
120862306a36Sopenharmony_ci
120962306a36Sopenharmony_ci/*----------------------------------------------------------------------------
121062306a36Sopenharmony_ci * Register 0x2244: PL4MOS MaxBurst2 Register
121162306a36Sopenharmony_ci *    Bit 11-0 PL4MOS_MAX_BURST2
121262306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
121362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_BURST2  0x0FFF
121462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_BURST2  0
121562306a36Sopenharmony_ci
121662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
121762306a36Sopenharmony_ci * Register 0x2245: PL4MOS Transfer Size Register
121862306a36Sopenharmony_ci *    Bit 7-0 PL4MOS_MAX_TRANSFER
121962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
122062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_TRANSFER  0x00FF
122162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_TRANSFER  0
122262306a36Sopenharmony_ci
122362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
122462306a36Sopenharmony_ci * Register 0x2280: PL4ODP Configuration
122562306a36Sopenharmony_ci *    Bit 15-12 PL4ODP_REPEAT_T
122662306a36Sopenharmony_ci *    Bit 8     PL4ODP_SOP_RULE
122762306a36Sopenharmony_ci *    Bit 1     PL4ODP_EN_PORTS
122862306a36Sopenharmony_ci *    Bit 0     PL4ODP_EN_DFWD
122962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
123062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_REPEAT_T   0xF000
123162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4ODP_REPEAT_T   12
123262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_SOP_RULE   0x0100
123362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_EN_PORTS   0x0002
123462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_EN_DFWD    0x0001
123562306a36Sopenharmony_ci
123662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
123762306a36Sopenharmony_ci * Register 0x2282: PL4ODP Interrupt Mask
123862306a36Sopenharmony_ci *    Bit 0 PL4ODP_OUT_DISE
123962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
124062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_OUT_DISE     0x0001
124162306a36Sopenharmony_ci
124262306a36Sopenharmony_ci
124362306a36Sopenharmony_ci
124462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_EOPEOBE  0x0080
124562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_ERREOPE  0x0040
124662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MEOPE    0x0008
124762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MSOPE    0x0004
124862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_ES_OVRE      0x0002
124962306a36Sopenharmony_ci
125062306a36Sopenharmony_ci
125162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
125262306a36Sopenharmony_ci * Register 0x2283: PL4ODP Interrupt
125362306a36Sopenharmony_ci *    Bit 0 PL4ODP_OUT_DISI
125462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
125562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_OUT_DISI     0x0001
125662306a36Sopenharmony_ci
125762306a36Sopenharmony_ci
125862306a36Sopenharmony_ci
125962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_EOPEOBI  0x0080
126062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_ERREOPI  0x0040
126162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MEOPI    0x0008
126262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MSOPI    0x0004
126362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4ODP_ES_OVRI      0x0002
126462306a36Sopenharmony_ci
126562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
126662306a36Sopenharmony_ci * Register 0x2300:  PL4IO Lock Detect Status
126762306a36Sopenharmony_ci *    Bit 15 PL4IO_OUT_ROOLV
126862306a36Sopenharmony_ci *    Bit 12 PL4IO_IS_ROOLV
126962306a36Sopenharmony_ci *    Bit 11 PL4IO_DIP2_ERRV
127062306a36Sopenharmony_ci *    Bit 8  PL4IO_ID_ROOLV
127162306a36Sopenharmony_ci *    Bit 4  PL4IO_IS_DOOLV
127262306a36Sopenharmony_ci *    Bit 0  PL4IO_ID_DOOLV
127362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
127462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLV  0x8000
127562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLV   0x1000
127662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRV  0x0800
127762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLV   0x0100
127862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLV   0x0010
127962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLV   0x0001
128062306a36Sopenharmony_ci
128162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
128262306a36Sopenharmony_ci * Register 0x2301:  PL4IO Lock Detect Change
128362306a36Sopenharmony_ci *    Bit 15 PL4IO_OUT_ROOLI
128462306a36Sopenharmony_ci *    Bit 12 PL4IO_IS_ROOLI
128562306a36Sopenharmony_ci *    Bit 11 PL4IO_DIP2_ERRI
128662306a36Sopenharmony_ci *    Bit 8  PL4IO_ID_ROOLI
128762306a36Sopenharmony_ci *    Bit 4  PL4IO_IS_DOOLI
128862306a36Sopenharmony_ci *    Bit 0  PL4IO_ID_DOOLI
128962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
129062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLI  0x8000
129162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLI   0x1000
129262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRI  0x0800
129362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLI   0x0100
129462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLI   0x0010
129562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLI   0x0001
129662306a36Sopenharmony_ci
129762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
129862306a36Sopenharmony_ci * Register 0x2302:  PL4IO Lock Detect Mask
129962306a36Sopenharmony_ci *    Bit 15 PL4IO_OUT_ROOLE
130062306a36Sopenharmony_ci *    Bit 12 PL4IO_IS_ROOLE
130162306a36Sopenharmony_ci *    Bit 11 PL4IO_DIP2_ERRE
130262306a36Sopenharmony_ci *    Bit 8  PL4IO_ID_ROOLE
130362306a36Sopenharmony_ci *    Bit 4  PL4IO_IS_DOOLE
130462306a36Sopenharmony_ci *    Bit 0  PL4IO_ID_DOOLE
130562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
130662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLE  0x8000
130762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLE   0x1000
130862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRE  0x0800
130962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLE   0x0100
131062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLE   0x0010
131162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLE   0x0001
131262306a36Sopenharmony_ci
131362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
131462306a36Sopenharmony_ci * Register 0x2303:  PL4IO Lock Detect Limits
131562306a36Sopenharmony_ci *    Bit 15-8 PL4IO_REF_LIMIT
131662306a36Sopenharmony_ci *    Bit 7-0  PL4IO_TRAN_LIMIT
131762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
131862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_REF_LIMIT   0xFF00
131962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4IO_REF_LIMIT   8
132062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_TRAN_LIMIT  0x00FF
132162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4IO_TRAN_LIMIT  0
132262306a36Sopenharmony_ci
132362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
132462306a36Sopenharmony_ci * Register 0x2304:  PL4IO Calendar Repetitions
132562306a36Sopenharmony_ci *    Bit 15-8 PL4IO_IN_MUL
132662306a36Sopenharmony_ci *    Bit 7-0  PL4IO_OUT_MUL
132762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
132862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_IN_MUL   0xFF00
132962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4IO_IN_MUL   8
133062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUT_MUL  0x00FF
133162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4IO_OUT_MUL  0
133262306a36Sopenharmony_ci
133362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
133462306a36Sopenharmony_ci * Register 0x2305:  PL4IO Configuration
133562306a36Sopenharmony_ci *    Bit 15  PL4IO_DIP2_ERR_CHK
133662306a36Sopenharmony_ci *    Bit 11  PL4IO_ODAT_DIS
133762306a36Sopenharmony_ci *    Bit 10  PL4IO_TRAIN_DIS
133862306a36Sopenharmony_ci *    Bit 9   PL4IO_OSTAT_DIS
133962306a36Sopenharmony_ci *    Bit 8   PL4IO_ISTAT_DIS
134062306a36Sopenharmony_ci *    Bit 7   PL4IO_NO_ISTAT
134162306a36Sopenharmony_ci *    Bit 6   PL4IO_STAT_OUTSEL
134262306a36Sopenharmony_ci *    Bit 5   PL4IO_INSEL
134362306a36Sopenharmony_ci *    Bit 4   PL4IO_DLSEL
134462306a36Sopenharmony_ci *    Bit 1-0 PL4IO_OUTSEL
134562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
134662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERR_CHK  0x8000
134762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ODAT_DIS      0x0800
134862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_TRAIN_DIS     0x0400
134962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OSTAT_DIS     0x0200
135062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_ISTAT_DIS     0x0100
135162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_NO_ISTAT      0x0080
135262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_STAT_OUTSEL   0x0040
135362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_INSEL         0x0020
135462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_DLSEL         0x0010
135562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IO_OUTSEL        0x0003
135662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_PL4IO_OUTSEL        0
135762306a36Sopenharmony_ci
135862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
135962306a36Sopenharmony_ci * Register 0x3040: TXXG Configuration Register 1
136062306a36Sopenharmony_ci *    Bit 15   TXXG_TXEN0
136162306a36Sopenharmony_ci *    Bit 13   TXXG_HOSTPAUSE
136262306a36Sopenharmony_ci *    Bit 12-7 TXXG_IPGT
136362306a36Sopenharmony_ci *    Bit 5    TXXG_32BIT_ALIGN
136462306a36Sopenharmony_ci *    Bit 4    TXXG_CRCEN
136562306a36Sopenharmony_ci *    Bit 3    TXXG_FCTX
136662306a36Sopenharmony_ci *    Bit 2    TXXG_FCRX
136762306a36Sopenharmony_ci *    Bit 1    TXXG_PADEN
136862306a36Sopenharmony_ci *    Bit 0    TXXG_SPRE
136962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
137062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_TXEN0        0x8000
137162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_HOSTPAUSE    0x2000
137262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_IPGT         0x1F80
137362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXXG_IPGT         7
137462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_32BIT_ALIGN  0x0020
137562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_CRCEN        0x0010
137662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FCTX         0x0008
137762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FCRX         0x0004
137862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_PADEN        0x0002
137962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_SPRE         0x0001
138062306a36Sopenharmony_ci
138162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
138262306a36Sopenharmony_ci * Register 0x3041: TXXG Configuration Register 2
138362306a36Sopenharmony_ci *    Bit 7-0   TXXG_HDRSIZE
138462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
138562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_HDRSIZE  0x00FF
138662306a36Sopenharmony_ci
138762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
138862306a36Sopenharmony_ci * Register 0x3042: TXXG Configuration Register 3
138962306a36Sopenharmony_ci *    Bit 15 TXXG_FIFO_ERRE
139062306a36Sopenharmony_ci *    Bit 14 TXXG_FIFO_UDRE
139162306a36Sopenharmony_ci *    Bit 13 TXXG_MAX_LERRE
139262306a36Sopenharmony_ci *    Bit 12 TXXG_MIN_LERRE
139362306a36Sopenharmony_ci *    Bit 11 TXXG_XFERE
139462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
139562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FIFO_ERRE  0x8000
139662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FIFO_UDRE  0x4000
139762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_MAX_LERRE  0x2000
139862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_MIN_LERRE  0x1000
139962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_XFERE      0x0800
140062306a36Sopenharmony_ci
140162306a36Sopenharmony_ci/*----------------------------------------------------------------------------
140262306a36Sopenharmony_ci * Register 0x3043: TXXG Interrupt
140362306a36Sopenharmony_ci *    Bit 15 TXXG_FIFO_ERRI
140462306a36Sopenharmony_ci *    Bit 14 TXXG_FIFO_UDRI
140562306a36Sopenharmony_ci *    Bit 13 TXXG_MAX_LERRI
140662306a36Sopenharmony_ci *    Bit 12 TXXG_MIN_LERRI
140762306a36Sopenharmony_ci *    Bit 11 TXXG_XFERI
140862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
140962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FIFO_ERRI  0x8000
141062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FIFO_UDRI  0x4000
141162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_MAX_LERRI  0x2000
141262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_MIN_LERRI  0x1000
141362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_XFERI      0x0800
141462306a36Sopenharmony_ci
141562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
141662306a36Sopenharmony_ci * Register 0x3044: TXXG Status Register
141762306a36Sopenharmony_ci *    Bit 1 TXXG_TXACTIVE
141862306a36Sopenharmony_ci *    Bit 0 TXXG_PAUSED
141962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
142062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_TXACTIVE  0x0002
142162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_PAUSED    0x0001
142262306a36Sopenharmony_ci
142362306a36Sopenharmony_ci/*----------------------------------------------------------------------------
142462306a36Sopenharmony_ci * Register 0x3046: TXXG TX_MINFR -  Transmit Min Frame Size Register
142562306a36Sopenharmony_ci *    Bit 7-0 TXXG_TX_MINFR
142662306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
142762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_TX_MINFR  0x00FF
142862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXXG_TX_MINFR  0
142962306a36Sopenharmony_ci
143062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
143162306a36Sopenharmony_ci * Register 0x3052: TXXG Pause Quantum Value Configuration Register
143262306a36Sopenharmony_ci *    Bit 7-0 TXXG_FC_PAUSE_QNTM
143362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
143462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXXG_FC_PAUSE_QNTM  0x00FF
143562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXXG_FC_PAUSE_QNTM  0
143662306a36Sopenharmony_ci
143762306a36Sopenharmony_ci/*----------------------------------------------------------------------------
143862306a36Sopenharmony_ci * Register 0x3080: XTEF Control
143962306a36Sopenharmony_ci *    Bit 3-0 XTEF_FORCE_PARITY_ERR
144062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
144162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XTEF_FORCE_PARITY_ERR  0x000F
144262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_XTEF_FORCE_PARITY_ERR  0
144362306a36Sopenharmony_ci
144462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
144562306a36Sopenharmony_ci * Register 0x3084: XTEF Interrupt Event Register
144662306a36Sopenharmony_ci *    Bit 0 XTEF_LOST_SYNCI
144762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
144862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCI  0x0001
144962306a36Sopenharmony_ci
145062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
145162306a36Sopenharmony_ci * Register 0x3085: XTEF Interrupt Enable Register
145262306a36Sopenharmony_ci *    Bit 0 XTEF_LOST_SYNCE
145362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
145462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCE  0x0001
145562306a36Sopenharmony_ci
145662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
145762306a36Sopenharmony_ci * Register 0x3086: XTEF Visibility Register
145862306a36Sopenharmony_ci *    Bit 0 XTEF_LOST_SYNCV
145962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
146062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCV  0x0001
146162306a36Sopenharmony_ci
146262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
146362306a36Sopenharmony_ci * Register 0x30C0: TXOAM OAM Configuration
146462306a36Sopenharmony_ci *    Bit 15   TXOAM_HEC_EN
146562306a36Sopenharmony_ci *    Bit 14   TXOAM_EMPTYCODE_EN
146662306a36Sopenharmony_ci *    Bit 13   TXOAM_FORCE_IDLE
146762306a36Sopenharmony_ci *    Bit 12   TXOAM_IGNORE_IDLE
146862306a36Sopenharmony_ci *    Bit 11-6 TXOAM_PX_OVERWRITE
146962306a36Sopenharmony_ci *    Bit 5-0  TXOAM_PX_SEL
147062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
147162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_HEC_EN        0x8000
147262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_EMPTYCODE_EN  0x4000
147362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_FORCE_IDLE    0x2000
147462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_IGNORE_IDLE   0x1000
147562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_PX_OVERWRITE  0x0FC0
147662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXOAM_PX_OVERWRITE  6
147762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_PX_SEL        0x003F
147862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXOAM_PX_SEL        0
147962306a36Sopenharmony_ci
148062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
148162306a36Sopenharmony_ci * Register 0x30C1: TXOAM Mini-Packet Rate Configuration
148262306a36Sopenharmony_ci *    Bit 15   TXOAM_MINIDIS
148362306a36Sopenharmony_ci *    Bit 14   TXOAM_BUSY
148462306a36Sopenharmony_ci *    Bit 13   TXOAM_TRANS_EN
148562306a36Sopenharmony_ci *    Bit 10-0 TXOAM_MINIRATE
148662306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
148762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_MINIDIS   0x8000
148862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_BUSY      0x4000
148962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_TRANS_EN  0x2000
149062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_MINIRATE  0x07FF
149162306a36Sopenharmony_ci
149262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
149362306a36Sopenharmony_ci * Register 0x30C2: TXOAM Mini-Packet Gap and FIFO Configuration
149462306a36Sopenharmony_ci *    Bit 13-10 TXOAM_FTHRESH
149562306a36Sopenharmony_ci *    Bit 9-6   TXOAM_MINIPOST
149662306a36Sopenharmony_ci *    Bit 5-0   TXOAM_MINIPRE
149762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
149862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_FTHRESH   0x3C00
149962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXOAM_FTHRESH   10
150062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_MINIPOST  0x03C0
150162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_TXOAM_MINIPOST  6
150262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_MINIPRE   0x003F
150362306a36Sopenharmony_ci
150462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
150562306a36Sopenharmony_ci * Register 0x30C6: TXOAM Interrupt Enable
150662306a36Sopenharmony_ci *    Bit 2 TXOAM_SOP_ERRE
150762306a36Sopenharmony_ci *    Bit 1 TXOAM_OFLE
150862306a36Sopenharmony_ci *    Bit 0 TXOAM_ERRE
150962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
151062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_SOP_ERRE    0x0004
151162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_OFLE        0x0002
151262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_ERRE        0x0001
151362306a36Sopenharmony_ci
151462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
151562306a36Sopenharmony_ci * Register 0x30C7: TXOAM Interrupt Status
151662306a36Sopenharmony_ci *    Bit 2 TXOAM_SOP_ERRI
151762306a36Sopenharmony_ci *    Bit 1 TXOAM_OFLI
151862306a36Sopenharmony_ci *    Bit 0 TXOAM_ERRI
151962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
152062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_SOP_ERRI    0x0004
152162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_OFLI        0x0002
152262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_ERRI        0x0001
152362306a36Sopenharmony_ci
152462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
152562306a36Sopenharmony_ci * Register 0x30CF: TXOAM Coset
152662306a36Sopenharmony_ci *    Bit 7-0 TXOAM_COSET
152762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
152862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_TXOAM_COSET  0x00FF
152962306a36Sopenharmony_ci
153062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
153162306a36Sopenharmony_ci * Register 0x3200: EFLX Global Configuration
153262306a36Sopenharmony_ci *    Bit 15 EFLX_ERCU_EN
153362306a36Sopenharmony_ci *    Bit 7  EFLX_EN_EDSWT
153462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
153562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_ERCU_EN   0x8000
153662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_EN_EDSWT  0x0080
153762306a36Sopenharmony_ci
153862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
153962306a36Sopenharmony_ci * Register 0x3201: EFLX ERCU Global Status
154062306a36Sopenharmony_ci *    Bit 13 EFLX_OVF_ERR
154162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
154262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_OVF_ERR  0x2000
154362306a36Sopenharmony_ci
154462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
154562306a36Sopenharmony_ci * Register 0x3202: EFLX Indirect Channel Address
154662306a36Sopenharmony_ci *    Bit 15 EFLX_BUSY
154762306a36Sopenharmony_ci *    Bit 14 EFLX_RDWRB
154862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
154962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_BUSY   0x8000
155062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_RDWRB  0x4000
155162306a36Sopenharmony_ci
155262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
155362306a36Sopenharmony_ci * Register 0x3203: EFLX Indirect Logical FIFO Low Limit
155462306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
155562306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_LOLIM                    0x03FF
155662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_EFLX_LOLIM                    0
155762306a36Sopenharmony_ci
155862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
155962306a36Sopenharmony_ci * Register 0x3204: EFLX Indirect Logical FIFO High Limit
156062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
156162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_HILIM                    0x03FF
156262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_EFLX_HILIM                    0
156362306a36Sopenharmony_ci
156462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
156562306a36Sopenharmony_ci * Register 0x3205: EFLX Indirect Full/Almost-Full Status and Limit
156662306a36Sopenharmony_ci *    Bit 15   EFLX_FULL
156762306a36Sopenharmony_ci *    Bit 14   EFLX_AFULL
156862306a36Sopenharmony_ci *    Bit 13-0 EFLX_AFTH
156962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
157062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_FULL   0x8000
157162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_AFULL  0x4000
157262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_AFTH   0x3FFF
157362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_EFLX_AFTH   0
157462306a36Sopenharmony_ci
157562306a36Sopenharmony_ci/*----------------------------------------------------------------------------
157662306a36Sopenharmony_ci * Register 0x3206: EFLX Indirect Empty/Almost-Empty Status and Limit
157762306a36Sopenharmony_ci *    Bit 15   EFLX_EMPTY
157862306a36Sopenharmony_ci *    Bit 14   EFLX_AEMPTY
157962306a36Sopenharmony_ci *    Bit 13-0 EFLX_AETH
158062306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
158162306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_EMPTY   0x8000
158262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_AEMPTY  0x4000
158362306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_AETH    0x3FFF
158462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_EFLX_AETH    0
158562306a36Sopenharmony_ci
158662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
158762306a36Sopenharmony_ci * Register 0x3207: EFLX Indirect FIFO Cut-Through Threshold
158862306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
158962306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_CUT_THRU                 0x3FFF
159062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITOFF_EFLX_CUT_THRU                 0
159162306a36Sopenharmony_ci
159262306a36Sopenharmony_ci/*----------------------------------------------------------------------------
159362306a36Sopenharmony_ci * Register 0x320C: EFLX FIFO Overflow Error Enable
159462306a36Sopenharmony_ci *    Bit 0 EFLX_OVFE
159562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
159662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_OVFE  0x0001
159762306a36Sopenharmony_ci
159862306a36Sopenharmony_ci/*----------------------------------------------------------------------------
159962306a36Sopenharmony_ci * Register 0x320D: EFLX FIFO Overflow Error Indication
160062306a36Sopenharmony_ci *    Bit 0 EFLX_OVFI
160162306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
160262306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_OVFI  0x0001
160362306a36Sopenharmony_ci
160462306a36Sopenharmony_ci/*----------------------------------------------------------------------------
160562306a36Sopenharmony_ci * Register 0x3210: EFLX Channel Provision
160662306a36Sopenharmony_ci *    Bit 0 EFLX_PROV
160762306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
160862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_EFLX_PROV  0x0001
160962306a36Sopenharmony_ci
161062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
161162306a36Sopenharmony_ci * Register 0x3280: PL4IDU Configuration
161262306a36Sopenharmony_ci *    Bit 2 PL4IDU_SYNCH_ON_TRAIN
161362306a36Sopenharmony_ci *    Bit 1 PL4IDU_EN_PORTS
161462306a36Sopenharmony_ci *    Bit 0 PL4IDU_EN_DFWD
161562306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
161662306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IDU_SYNCH_ON_TRAIN  0x0004
161762306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IDU_EN_PORTS        0x0002
161862306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IDU_EN_DFWD         0x0001
161962306a36Sopenharmony_ci
162062306a36Sopenharmony_ci/*----------------------------------------------------------------------------
162162306a36Sopenharmony_ci * Register 0x3282: PL4IDU Interrupt Mask
162262306a36Sopenharmony_ci *    Bit 1 PL4IDU_DIP4E
162362306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
162462306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IDU_DIP4E       0x0002
162562306a36Sopenharmony_ci
162662306a36Sopenharmony_ci/*----------------------------------------------------------------------------
162762306a36Sopenharmony_ci * Register 0x3283: PL4IDU Interrupt
162862306a36Sopenharmony_ci *    Bit 1 PL4IDU_DIP4I
162962306a36Sopenharmony_ci *----------------------------------------------------------------------------*/
163062306a36Sopenharmony_ci#define SUNI1x10GEXP_BITMSK_PL4IDU_DIP4I       0x0002
163162306a36Sopenharmony_ci
163262306a36Sopenharmony_ci#endif /* _CXGB_SUNI1x10GEXP_REGS_H_ */
1633