Lines Matching +full:4 +full:- +full:16
1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
14 #define DEV_CLOCK_CFG_PCS_RX_RST BIT(4)
20 #define DEV_PORT_MISC_FWD_ERROR_ENA BIT(4)
38 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG(x) (((x) << 4) & GENMASK(11, 4))
39 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG_M GENMASK(11, 4)
40 #define DEV_PTP_PREDICT_CFG_PTP_PHY_PREDICT_CFG_X(x) (((x) & GENMASK(11, 4)) >> 4)
44 #define DEV_MAC_ENA_CFG_RX_ENA BIT(4)
48 #define DEV_MAC_MODE_CFG_GIGA_MODE_ENA BIT(4)
51 #define DEV_MAC_TAGS_CFG_TAG_ID(x) (((x) << 16) & GENMASK(31, 16))
52 #define DEV_MAC_TAGS_CFG_TAG_ID_M GENMASK(31, 16)
53 #define DEV_MAC_TAGS_CFG_TAG_ID_X(x) (((x) & GENMASK(31, 16)) >> 16)
61 #define DEV_MAC_IFG_CFG_REDUCED_TX_IFG BIT(16)
65 #define DEV_MAC_IFG_CFG_RX_IFG2(x) (((x) << 4) & GENMASK(7, 4))
66 #define DEV_MAC_IFG_CFG_RX_IFG2_M GENMASK(7, 4)
67 #define DEV_MAC_IFG_CFG_RX_IFG2_X(x) (((x) & GENMASK(7, 4)) >> 4)
74 #define DEV_MAC_HDX_CFG_SEED(x) (((x) << 16) & GENMASK(23, 16))
75 #define DEV_MAC_HDX_CFG_SEED_M GENMASK(23, 16)
76 #define DEV_MAC_HDX_CFG_SEED_X(x) (((x) & GENMASK(23, 16)) >> 16)
82 #define DEV_MAC_DBG_CFG_TBI_MODE BIT(4)
90 #define DEV_MAC_STICKY_TX_RETRANSMIT_STICKY BIT(4)
97 #define DEV_MM_CONFIG_ENABLE_CONFIG_MM_TX_ENA BIT(4)
101 #define DEV_MM_CONFIG_VERIF_CONFIG_PRM_VERIFY_TIME(x) (((x) << 4) & GENMASK(11, 4))
102 #define DEV_MM_CONFIG_VERIF_CONFIG_PRM_VERIFY_TIME_M GENMASK(11, 4)
103 #define DEV_MM_CONFIG_VERIF_CONFIG_PRM_VERIFY_TIME_X(x) (((x) & GENMASK(11, 4)) >> 4)
109 #define DEV_MM_STAT_MM_STATUS_PRMPT_ACTIVE_STICKY BIT(4)
114 #define DEV_MM_STAT_MM_STATUS_UNEXP_TX_PFRM_STICKY BIT(16)
119 #define PCS1G_CFG_LINK_STATUS_TYPE BIT(4)
123 #define PCS1G_MODE_CFG_UNIDIR_MODE_ENA BIT(4)
127 #define PCS1G_SD_CFG_SD_POL BIT(4)
130 #define PCS1G_ANEG_CFG_ADV_ABILITY(x) (((x) << 16) & GENMASK(31, 16))
131 #define PCS1G_ANEG_CFG_ADV_ABILITY_M GENMASK(31, 16)
132 #define PCS1G_ANEG_CFG_ADV_ABILITY_X(x) (((x) & GENMASK(31, 16)) >> 16)
137 #define PCS1G_ANEG_NP_CFG_NP_TX(x) (((x) << 16) & GENMASK(31, 16))
138 #define PCS1G_ANEG_NP_CFG_NP_TX_M GENMASK(31, 16)
139 #define PCS1G_ANEG_NP_CFG_NP_TX_X(x) (((x) & GENMASK(31, 16)) >> 16)
142 #define PCS1G_LB_CFG_RA_ENA BIT(4)
150 #define PCS1G_ANEG_STATUS_LP_ADV_ABILITY(x) (((x) << 16) & GENMASK(31, 16))
151 #define PCS1G_ANEG_STATUS_LP_ADV_ABILITY_M GENMASK(31, 16)
152 #define PCS1G_ANEG_STATUS_LP_ADV_ABILITY_X(x) (((x) & GENMASK(31, 16)) >> 16)
153 #define PCS1G_ANEG_STATUS_PR BIT(4)
161 #define PCS1G_LINK_STATUS_LINK_STATUS BIT(4)
164 #define PCS1G_STICKY_LINK_DOWN_STICKY BIT(4)
169 #define PCS1G_LPI_CFG_LPI_TESTMODE BIT(16)
170 #define PCS1G_LPI_CFG_LPI_RX_WTIM(x) (((x) << 4) & GENMASK(5, 4))
171 #define PCS1G_LPI_CFG_LPI_RX_WTIM_M GENMASK(5, 4)
172 #define PCS1G_LPI_CFG_LPI_RX_WTIM_X(x) (((x) & GENMASK(5, 4)) >> 4)
175 #define PCS1G_LPI_STATUS_RX_LPI_FAIL BIT(16)
179 #define PCS1G_LPI_STATUS_TX_LPI_EVENT_STICKY BIT(4)
186 #define PCS1G_TSTPAT_STATUS_JTP_ERR BIT(4)
193 #define DEV_PCS_FX100_CFG_SWAP_MII_ENA BIT(16)
201 #define DEV_PCS_FX100_CFG_LINKHYSTTIMER(x) (((x) << 4) & GENMASK(7, 4))
202 #define DEV_PCS_FX100_CFG_LINKHYSTTIMER_M GENMASK(7, 4)
203 #define DEV_PCS_FX100_CFG_LINKHYSTTIMER_X(x) (((x) & GENMASK(7, 4)) >> 4)
215 #define DEV_PCS_FX100_STATUS_SYNC_LOST_STICKY BIT(4)