Lines Matching refs:BIT
21 #define SMI_CMD_BUSY BIT(15)
22 #define SMI_CMD_CLAUSE_22 BIT(12)
33 #define PORT_STATUS_PAUSE_EN BIT(15)
34 #define PORT_STATUS_MY_PAUSE BIT(14)
35 #define PORT_STATUS_HD_FLOW BIT(13)
36 #define PORT_STATUS_PHY_DETECT BIT(12)
37 #define PORT_STATUS_LINK BIT(11)
38 #define PORT_STATUS_DUPLEX BIT(10)
43 #define PORT_STATUS_EEE BIT(6) /* 6352 */
44 #define PORT_STATUS_AM_DIS BIT(6) /* 6165 */
45 #define PORT_STATUS_MGMII BIT(6) /* 6185 */
46 #define PORT_STATUS_TX_PAUSED BIT(5)
47 #define PORT_STATUS_FLOW_CTRL BIT(4)
49 #define PORT_PCS_CTRL_RGMII_DELAY_RXCLK BIT(15)
50 #define PORT_PCS_CTRL_RGMII_DELAY_TXCLK BIT(14)
51 #define PORT_PCS_CTRL_FC BIT(7)
52 #define PORT_PCS_CTRL_FORCE_FC BIT(6)
53 #define PORT_PCS_CTRL_LINK_UP BIT(5)
54 #define PORT_PCS_CTRL_FORCE_LINK BIT(4)
55 #define PORT_PCS_CTRL_DUPLEX_FULL BIT(3)
56 #define PORT_PCS_CTRL_FORCE_DUPLEX BIT(2)
110 #define PORT_CONTROL_USE_CORE_TAG BIT(15)
111 #define PORT_CONTROL_DROP_ON_LOCK BIT(14)
116 #define PORT_CONTROL_HEADER BIT(11)
117 #define PORT_CONTROL_IGMP_MLD_SNOOP BIT(10)
118 #define PORT_CONTROL_DOUBLE_TAG BIT(9)
123 #define PORT_CONTROL_DSA_TAG BIT(8)
124 #define PORT_CONTROL_VLAN_TUNNEL BIT(7)
125 #define PORT_CONTROL_TAG_IF_BOTH BIT(6)
126 #define PORT_CONTROL_USE_IP BIT(5)
127 #define PORT_CONTROL_USE_TAG BIT(4)
128 #define PORT_CONTROL_FORWARD_UNKNOWN_MC BIT(3)
129 #define PORT_CONTROL_FORWARD_UNKNOWN BIT(2)
140 #define PORT_CONTROL_2_IGNORE_FCS BIT(15)
141 #define PORT_CONTROL_2_VTU_PRI_OVERRIDE BIT(14)
142 #define PORT_CONTROL_2_SA_PRIO_OVERRIDE BIT(13)
143 #define PORT_CONTROL_2_DA_PRIO_OVERRIDE BIT(12)
152 #define PORT_CONTROL_2_DISCARD_TAGGED BIT(9)
153 #define PORT_CONTROL_2_DISCARD_UNTAGGED BIT(8)
154 #define PORT_CONTROL_2_MAP_DA BIT(7)
155 #define PORT_CONTROL_2_DEFAULT_FORWARD BIT(6)
156 #define PORT_CONTROL_2_FORWARD_UNKNOWN BIT(6)
157 #define PORT_CONTROL_2_EGRESS_MONITOR BIT(5)
158 #define PORT_CONTROL_2_INGRESS_MONITOR BIT(4)
162 #define PORT_ASSOC_VECTOR_HOLD_AT_1 BIT(15)
163 #define PORT_ASSOC_VECTOR_INT_AGE_OUT BIT(14)
164 #define PORT_ASSOC_VECTOR_LOCKED_PORT BIT(13)
165 #define PORT_ASSOC_VECTOR_IGNORE_WRONG BIT(12)
166 #define PORT_ASSOC_VECTOR_REFRESH_LOCKED BIT(11)
179 #define GLOBAL_STATUS_PPU_STATE BIT(15) /* 6351 and 6171 */
195 #define GLOBAL_CONTROL_SW_RESET BIT(15)
196 #define GLOBAL_CONTROL_PPU_ENABLE BIT(14)
197 #define GLOBAL_CONTROL_DISCARD_EXCESS BIT(13) /* 6352 */
198 #define GLOBAL_CONTROL_SCHED_PRIO BIT(11) /* 6152 */
199 #define GLOBAL_CONTROL_MAX_FRAME_1632 BIT(10) /* 6152 */
200 #define GLOBAL_CONTROL_RELOAD_EEPROM BIT(9) /* 6152 */
201 #define GLOBAL_CONTROL_DEVICE_EN BIT(7)
202 #define GLOBAL_CONTROL_STATS_DONE_EN BIT(6)
203 #define GLOBAL_CONTROL_VTU_PROBLEM_EN BIT(5)
204 #define GLOBAL_CONTROL_VTU_DONE_EN BIT(4)
205 #define GLOBAL_CONTROL_ATU_PROBLEM_EN BIT(3)
206 #define GLOBAL_CONTROL_ATU_DONE_EN BIT(2)
207 #define GLOBAL_CONTROL_TCAM_EN BIT(1)
208 #define GLOBAL_CONTROL_EEPROM_DONE_EN BIT(0)
210 #define GLOBAL_VTU_OP_BUSY BIT(15)
218 #define GLOBAL_VTU_VID_VALID BIT(12)
232 #define GLOBAL_ATU_CONTROL_LEARN2ALL BIT(3)
234 #define GLOBAL_ATU_OP_BUSY BIT(15)
244 #define GLOBAL_ATU_DATA_TRUNK BIT(15)
282 #define GLOBAL_STATS_OP_BUSY BIT(15)
301 #define GLOBAL2_SWITCH_MGMT_USE_DOUBLE_TAG_DATA BIT(15)
302 #define GLOBAL2_SWITCH_MGMT_PREVENT_LOOPS BIT(14)
303 #define GLOBAL2_SWITCH_MGMT_FLOW_CONTROL_MSG BIT(13)
304 #define GLOBAL2_SWITCH_MGMT_FORCE_FLOW_CTRL_PRI BIT(7)
305 #define GLOBAL2_SWITCH_MGMT_RSVD2CPU BIT(3)
307 #define GLOBAL2_DEVICE_MAPPING_UPDATE BIT(15)
311 #define GLOBAL2_TRUNK_MASK_UPDATE BIT(15)
314 #define GLOBAL2_TRUNK_MAPPING_UPDATE BIT(15)
321 #define GLOBAL2_SWITCH_MAC_BUSY BIT(15)
324 #define GLOBAL2_PRIO_OVERRIDE_FORCE_SNOOP BIT(7)
326 #define GLOBAL2_PRIO_OVERRIDE_FORCE_ARP BIT(3)
329 #define GLOBAL2_EEPROM_OP_BUSY BIT(15)
332 #define GLOBAL2_EEPROM_OP_LOAD BIT(11)
333 #define GLOBAL2_EEPROM_OP_WRITE_EN BIT(10)
339 #define GLOBAL2_SMI_OP_BUSY BIT(15)
340 #define GLOBAL2_SMI_OP_CLAUSE_22 BIT(12)
350 #define GLOBAL2_SCRATCH_BUSY BIT(15)