Lines Matching +full:12 +full:- +full:bit
1 /* SPDX-License-Identifier: (GPL-2.0 or MIT) */
6 * Copyright (C) 2019-2021 Linutronix GmbH
20 #include <linux/platform_data/hirschmann-hellcreek.h>
27 * - 0: CPU
28 * - 1: Tunnel
29 * - 2: TSN front port 1
30 * - 3: TSN front port 2
31 * - ...
48 #define HR_CTRL_C_READY BIT(14)
49 #define HR_CTRL_C_TRANSITION BIT(13)
50 #define HR_CTRL_C_ENABLE BIT(0)
59 #define HR_PTCFG_MLIMIT_EN BIT(13)
60 #define HR_PTCFG_UMC_FLT BIT(10)
61 #define HR_PTCFG_UUC_FLT BIT(9)
62 #define HR_PTCFG_UNTRUST BIT(8)
63 #define HR_PTCFG_TAG_REQUIRED BIT(7)
66 #define HR_PTCFG_INGRESSFLT BIT(3)
67 #define HR_PTCFG_BLOCKED BIT(2)
68 #define HR_PTCFG_LEARNING_EN BIT(1)
69 #define HR_PTCFG_ADMIN_EN BIT(0)
98 #define HR_FDBMDRD_OBT BIT(8)
99 #define HR_FDBMDRD_PASS_BLOCKED BIT(9)
100 #define HR_FDBMDRD_STATIC BIT(11)
101 #define HR_FDBMDRD_REPRIO_TC_SHIFT 12
102 #define HR_FDBMDRD_REPRIO_TC_MASK GENMASK(14, 12)
103 #define HR_FDBMDRD_REPRIO_EN BIT(15)
111 #define HR_FDBWRM0_OBT BIT(8)
112 #define HR_FDBWRM0_PASS_BLOCKED BIT(9)
113 #define HR_FDBWRM0_REPRIO_TC_SHIFT 12
114 #define HR_FDBWRM0_REPRIO_TC_MASK GENMASK(14, 12)
115 #define HR_FDBWRM0_REPRIO_EN BIT(15)
119 #define HR_FDBWRCMD_FDBDEL BIT(9)
122 #define HR_SWCFG_GM_STATEMD BIT(15)
123 #define HR_SWCFG_LAS_MODE_SHIFT 12
124 #define HR_SWCFG_LAS_MODE_MASK GENMASK(13, 12)
128 #define HR_SWCFG_CT_EN BIT(11)
129 #define HR_SWCFG_VLAN_UNAWARE BIT(10)
130 #define HR_SWCFG_ALWAYS_OBT BIT(9)
131 #define HR_SWCFG_FDBAGE_EN BIT(5)
132 #define HR_SWCFG_FDBLRN_EN BIT(4)
135 #define HR_SWSTAT_FAIL BIT(4)
136 #define HR_SWSTAT_BUSY BIT(0)
139 #define HW_SWCMD_FLUSH BIT(0)
144 #define HR_VIDCFG_PVID BIT(12)
161 #define HR_FEABITS0_MCNT_SHIFT 12
162 #define HR_FEABITS0_MCNT_MASK GENMASK(15, 12)
174 #define TR_TGDCTRL_GATE_EN BIT(0)
175 #define TR_TGDCTRL_CYC_SNAP BIT(4)
176 #define TR_TGDCTRL_SNAP_EST BIT(5)
186 #define TR_ESTCMD_ESTARM BIT(4)
187 #define TR_ESTCMD_ESTSWCFG BIT(5)
193 #define TR_EETCMD_EETARM BIT(4)
202 #define TR_GCLDAT_GCLWRLAST BIT(8)
203 #define TR_GCLDAT_GCLOVRI BIT(9)
248 /* Per-port timestamping resources */
251 /* Per-port Qbv schedule information */
296 * cannot be armed directly to $base_time - 8 + X, because for large deltas the