Lines Matching +full:24 +full:- +full:bit
1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
17 #define CONTROL_IV0 BIT(5)
18 #define CONTROL_IV1 BIT(6)
19 #define CONTROL_IV2 BIT(7)
20 #define CONTROL_UPDATE_SEQ BIT(13)
21 #define CONTROL_IV_IN_SEQ BIT(14)
22 #define CONTROL_ENCRYPT_AUTH BIT(15)
23 #define CONTROL_KEY_IN_CTX BIT(16)
33 #define CONTROL_SEQ_MASK BIT(30)
34 #define CONTROL_CONTEXT_ID BIT(31)
114 #define MSCC_PHY_MACSEC_19_READ BIT(14)
115 #define MSCC_PHY_MACSEC_19_CMD BIT(15)
148 #define MSCC_MS_ENA_CFG_CLK_ENA BIT(0)
149 #define MSCC_MS_ENA_CFG_SW_RST BIT(1)
150 #define MSCC_MS_ENA_CFG_MACSEC_BYPASS_ENA BIT(8)
151 #define MSCC_MS_ENA_CFG_MACSEC_ENA BIT(9)
156 #define MSCC_MS_FC_CFG_FCBUF_ENA BIT(0)
157 #define MSCC_MS_FC_CFG_USE_PKT_EXPANSION_INDICATION BIT(1)
172 #define MSCC_MS_SAM_MISC_MATCH_VLAN_VALID BIT(0)
173 #define MSCC_MS_SAM_MISC_MATCH_QINQ_FOUND BIT(1)
174 #define MSCC_MS_SAM_MISC_MATCH_STAG_VALID BIT(2)
175 #define MSCC_MS_SAM_MISC_MATCH_QTAG_VALID BIT(3)
178 #define MSCC_MS_SAM_MISC_MATCH_CONTROL_PACKET BIT(7)
179 #define MSCC_MS_SAM_MISC_MATCH_UNTAGGED BIT(8)
180 #define MSCC_MS_SAM_MISC_MATCH_TAGGED BIT(9)
181 #define MSCC_MS_SAM_MISC_MATCH_BAD_TAG BIT(10)
182 #define MSCC_MS_SAM_MISC_MATCH_KAY_TAG BIT(11)
187 #define MSCC_MS_SAM_MISC_MATCH_AN(x) ((x) << 24)
195 #define MSCC_MS_SAM_MASK_MAC_ETYPE_MASK BIT(12)
196 #define MSCC_MS_SAM_MASK_VLAN_VLD_MASK BIT(13)
197 #define MSCC_MS_SAM_MASK_QINQ_FOUND_MASK BIT(14)
198 #define MSCC_MS_SAM_MASK_STAG_VLD_MASK BIT(15)
199 #define MSCC_MS_SAM_MASK_QTAG_VLD_MASK BIT(16)
200 #define MSCC_MS_SAM_MASK_VLAN_UP_MASK BIT(17)
201 #define MSCC_MS_SAM_MASK_VLAN_ID_MASK BIT(18)
202 #define MSCC_MS_SAM_MASK_SOURCE_PORT_MASK BIT(19)
203 #define MSCC_MS_SAM_MASK_CTL_PACKET_MASK BIT(20)
204 #define MSCC_MS_SAM_MASK_VLAN_UP_INNER_MASK BIT(21)
205 #define MSCC_MS_SAM_MASK_VLAN_ID_INNER_MASK BIT(22)
206 #define MSCC_MS_SAM_MASK_SCI_MASK BIT(23)
207 #define MSCC_MS_SAM_MASK_AN_MASK(x) ((x) << 24)
215 #define MSCC_MS_SAM_FLOW_CTRL_RESV_4 BIT(4)
216 #define MSCC_MS_SAM_FLOW_CTRL_FLOW_CRYPT_AUTH BIT(5)
221 #define MSCC_MS_SAM_FLOW_CTRL_PROTECT_FRAME BIT(16)
222 #define MSCC_MS_SAM_FLOW_CTRL_REPLAY_PROTECT BIT(16)
223 #define MSCC_MS_SAM_FLOW_CTRL_SA_IN_USE BIT(17)
224 #define MSCC_MS_SAM_FLOW_CTRL_INCLUDE_SCI BIT(18)
225 #define MSCC_MS_SAM_FLOW_CTRL_USE_ES BIT(19)
226 #define MSCC_MS_SAM_FLOW_CTRL_USE_SCB BIT(20)
230 #define MSCC_MS_SAM_FLOW_CTRL_RESV_23 BIT(23)
231 #define MSCC_MS_SAM_FLOW_CTRL_CONFIDENTIALITY_OFFSET(x) ((x) << 24)
232 #define MSCC_MS_SAM_FLOW_CTRL_CONFIDENTIALITY_OFFSET_M GENMASK(30, 24)
233 #define MSCC_MS_SAM_FLOW_CTRL_CONF_PROTECT BIT(31)
238 #define MSCC_MS_SAM_CP_TAG_DEF_UP(x) ((x) << 24)
239 #define MSCC_MS_SAM_CP_TAG_DEF_UP_M GENMASK(26, 24)
240 #define MSCC_MS_SAM_CP_TAG_STAG_UP_EN BIT(27)
241 #define MSCC_MS_SAM_CP_TAG_QTAG_UP_EN BIT(28)
242 #define MSCC_MS_SAM_CP_TAG_PARSE_QINQ BIT(29)
243 #define MSCC_MS_SAM_CP_TAG_PARSE_STAG BIT(30)
244 #define MSCC_MS_SAM_CP_TAG_PARSE_QTAG BIT(31)
256 #define MSCC_MS_SAM_NM_FLOW_NCP_KAY_FLOW_TYPE(x) ((x) << 24)
270 #define MSCC_MS_SAM_NM_FLOW_CP_KAY_FLOW_TYPE(x) ((x) << 24)
277 #define MSCC_MS_MISC_CONTROL_STATIC_BYPASS BIT(8)
278 #define MSCC_MS_MISC_CONTROL_NM_MACSEC_EN BIT(9)
281 #define MSCC_MS_MISC_CONTROL_XFORM_REC_SIZE(x) ((x) << 24)
282 #define MSCC_MS_MISC_CONTROL_XFORM_REC_SIZE_M GENMASK(25, 24)
285 #define MSCC_MS_COUNT_CONTROL_RESET_ALL BIT(0)
286 #define MSCC_MS_COUNT_CONTROL_DEBUG_ACCESS BIT(1)
287 #define MSCC_MS_COUNT_CONTROL_SATURATE_CNTRS BIT(2)
288 #define MSCC_MS_COUNT_CONTROL_AUTO_CNTR_RESET BIT(3)
291 #define MSCC_MS_PARAMS2_IG_CC_CONTROL_NON_MATCH_CTRL_ACT BIT(14)
292 #define MSCC_MS_PARAMS2_IG_CC_CONTROL_NON_MATCH_ACT BIT(15)
297 #define MSCC_MS_PARAMS2_IG_CP_TAG_DEF_UP(x) ((x) << 24)
298 #define MSCC_MS_PARAMS2_IG_CP_TAG_DEF_UP_M GENMASK(26, 24)
299 #define MSCC_MS_PARAMS2_IG_CP_TAG_STAG_UP_EN BIT(27)
300 #define MSCC_MS_PARAMS2_IG_CP_TAG_QTAG_UP_EN BIT(28)
301 #define MSCC_MS_PARAMS2_IG_CP_TAG_PARSE_QINQ BIT(29)
302 #define MSCC_MS_PARAMS2_IG_CP_TAG_PARSE_STAG BIT(30)
303 #define MSCC_MS_PARAMS2_IG_CP_TAG_PARSE_QTAG BIT(31)
308 #define MSCC_MS_VLAN_MTU_CHECK_MTU_COMP_DROP BIT(15)
313 #define MSCC_MS_NON_VLAN_MTU_CHECK_NV_MTU_COMP_DROP BIT(15)
316 #define MSCC_MS_PP_CTRL_MACSEC_OCTET_INCR_MODE BIT(0)
323 #define MACSEC_INTR_CTRL_STATUS_ROLLOVER BIT(5)