Lines Matching +full:5 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
22 #define KSZ8863_GLOBAL_SOFTWARE_RESET BIT(4)
23 #define KSZ8863_PCS_RESET BIT(0)
27 #define SW_NEW_BACKOFF BIT(7)
28 #define SW_GLOBAL_RESET BIT(6)
29 #define SW_FLUSH_DYN_MAC_TABLE BIT(5)
30 #define SW_FLUSH_STA_MAC_TABLE BIT(4)
31 #define SW_LINK_AUTO_AGING BIT(0)
35 #define SW_HUGE_PACKET BIT(6)
36 #define SW_TX_FLOW_CTRL_DISABLE BIT(5)
37 #define SW_RX_FLOW_CTRL_DISABLE BIT(4)
38 #define SW_CHECK_LENGTH BIT(3)
39 #define SW_AGING_ENABLE BIT(2)
40 #define SW_FAST_AGING BIT(1)
41 #define SW_AGGR_BACKOFF BIT(0)
45 #define UNICAST_VLAN_BOUNDARY BIT(7)
46 #define SW_BACK_PRESSURE BIT(5)
47 #define FAIR_FLOW_CTRL BIT(4)
48 #define NO_EXC_COLLISION_DROP BIT(3)
49 #define SW_LEGAL_PACKET_DISABLE BIT(1)
52 #define WEIGHTED_FAIR_QUEUE_ENABLE BIT(3)
54 #define SW_VLAN_ENABLE BIT(7)
55 #define SW_IGMP_SNOOP BIT(6)
56 #define SW_MIRROR_RX_TX BIT(0)
60 #define SW_HALF_DUPLEX_FLOW_CTRL BIT(7)
61 #define SW_HALF_DUPLEX BIT(6)
62 #define SW_FLOW_CTRL BIT(5)
63 #define SW_10_MBIT BIT(4)
64 #define SW_REPLACE_VID BIT(3)
70 #define SW_MIB_COUNTER_FLUSH BIT(7)
71 #define SW_MIB_COUNTER_FREEZE BIT(6)
89 #define SW_PASS_PAUSE BIT(0)
95 #define SW_PLL_POWER_DOWN BIT(5)
110 #define PORT_BROADCAST_STORM BIT(7)
111 #define PORT_DIFFSERV_ENABLE BIT(6)
112 #define PORT_802_1P_ENABLE BIT(5)
119 #define PORT_INSERT_TAG BIT(2)
120 #define PORT_REMOVE_TAG BIT(1)
121 #define PORT_QUEUE_SPLIT_L BIT(0)
129 #define PORT_MIRROR_SNIFFER BIT(7)
130 #define PORT_MIRROR_RX BIT(6)
131 #define PORT_MIRROR_TX BIT(5)
140 #define PORT_INGRESS_FILTER BIT(6)
141 #define PORT_DISCARD_NON_VID BIT(5)
142 #define PORT_FORCE_FLOW_CTRL BIT(4)
143 #define PORT_BACK_PRESSURE BIT(3)
164 #define PORT_ACL_ENABLE BIT(2)
172 #define PORT_MII_INTERNAL_CLOCK BIT(7)
173 #define PORT_GMII_MAC_MODE BIT(2)
180 #define PORT_AUTO_NEG_ASYM_PAUSE BIT(5)
181 #define PORT_AUTO_NEG_SYM_PAUSE BIT(4)
182 #define PORT_AUTO_NEG_100BTX_FD BIT(3)
183 #define PORT_AUTO_NEG_100BTX BIT(2)
184 #define PORT_AUTO_NEG_10BT_FD BIT(1)
185 #define PORT_AUTO_NEG_10BT BIT(0)
193 #define PORT_REMOTE_ASYM_PAUSE BIT(5)
194 #define PORT_REMOTE_SYM_PAUSE BIT(4)
195 #define PORT_REMOTE_100BTX_FD BIT(3)
196 #define PORT_REMOTE_100BTX BIT(2)
197 #define PORT_REMOTE_10BT_FD BIT(1)
198 #define PORT_REMOTE_10BT BIT(0)
205 #define PORT_HP_MDIX BIT(7)
206 #define PORT_REVERSED_POLARITY BIT(5)
207 #define PORT_TX_FLOW_CTRL BIT(4)
208 #define PORT_RX_FLOW_CTRL BIT(3)
209 #define PORT_STAT_SPEED_100MBIT BIT(2)
210 #define PORT_STAT_FULL_DUPLEX BIT(1)
212 #define PORT_REMOTE_FAULT BIT(0)
219 #define PORT_CABLE_10M_SHORT BIT(7)
220 #define PORT_CABLE_DIAG_RESULT_M GENMASK(6, 5)
221 #define PORT_CABLE_DIAG_RESULT_S 5
226 #define PORT_START_CABLE_DIAG BIT(4)
227 #define PORT_FORCE_LINK BIT(3)
228 #define PORT_POWER_SAVING BIT(2)
229 #define PORT_PHY_REMOTE_LOOPBACK BIT(1)
245 #define PORT_AUTO_NEG_ENABLE BIT(7)
246 #define PORT_AUTO_NEG_DISABLE BIT(7)
247 #define PORT_FORCE_100_MBIT BIT(6)
248 #define PORT_FORCE_FULL_DUPLEX BIT(5)
255 #define PORT_LED_OFF BIT(7)
256 #define PORT_TX_DISABLE BIT(6)
257 #define PORT_AUTO_NEG_RESTART BIT(5)
258 #define PORT_POWER_DOWN BIT(3)
259 #define PORT_AUTO_MDIX_DISABLE BIT(2)
260 #define PORT_FORCE_MDIX BIT(1)
261 #define PORT_MAC_LOOPBACK BIT(0)
268 #define PORT_MDIX_STATUS BIT(7)
269 #define PORT_AUTO_NEG_COMPLETE BIT(6)
270 #define PORT_STAT_LINK_GOOD BIT(5)
277 #define PORT_PHY_LOOPBACK BIT(7)
278 #define PORT_PHY_ISOLATE BIT(5)
279 #define PORT_PHY_SOFT_RESET BIT(4)
280 #define PORT_PHY_FORCE_LINK BIT(3)
285 #define PHY_MODE_10BT_FULL 5
321 (REG_PORT_2_CTRL_0 - REG_PORT_1_CTRL_0))
330 #define TABLE_EXT_SELECT_S 5
334 #define TABLE_LINK_MD_V 5
339 #define TABLE_READ BIT(4)
365 #define INT_PME BIT(4)
370 #define INT_PORT_5 BIT(4)
371 #define INT_PORT_4 BIT(3)
372 #define INT_PORT_3 BIT(2)
373 #define INT_PORT_2 BIT(1)
374 #define INT_PORT_1 BIT(0)
402 #define SW_SELF_ADDR_FILTER_ENABLE BIT(6)
409 #define SW_UNK_FWD_ENABLE BIT(5)
419 #define SW_OUT_RATE_LIMIT_QUEUE_BASED BIT(3)
420 #define SW_INS_TAG_ENABLE BIT(2)
451 #define SW_DRIVE_STRENGTH_20MA 5
458 #define SW_IPV6_MLD_OPTION BIT(3)
459 #define SW_IPV6_MLD_SNOOP BIT(2)
467 #define PORT_PASS_ALL BIT(6)
469 #define PORT_INS_TAG_FOR_PORT_5 BIT(3)
470 #define PORT_INS_TAG_FOR_PORT_4 BIT(2)
471 #define PORT_INS_TAG_FOR_PORT_3 BIT(1)
472 #define PORT_INS_TAG_FOR_PORT_2 BIT(0)
480 #define PORT_QUEUE_SPLIT_H BIT(1)
484 #define PORT_DROP_TAG BIT(0)
528 #define RATE_CTRL_ENABLE BIT(7)
529 #define RATE_RATIO_M (BIT(7) - 1)
531 #define PORT_OUT_RATE_ENABLE BIT(7)
540 #define PORT_RATE_PACKET_BASED_S 5
546 #define PORT_IN_PORT_BASED BIT(PORT_IN_PORT_BASED_S)
547 #define PORT_RATE_PACKET_BASED BIT(PORT_RATE_PACKET_BASED_S)
548 #define PORT_IN_FLOW_CTRL BIT(PORT_IN_FLOW_CTRL_S)
553 #define PORT_COUNT_IFG BIT(PORT_COUNT_IFG_S)
554 #define PORT_COUNT_PREAMBLE BIT(PORT_COUNT_PREAMBLE_S)
577 #define PORT_IN_RATE_ENABLE BIT(7)
578 #define PORT_RATE_LIMIT_M (BIT(7) - 1)
607 #define SW_PME_OUTPUT_ENABLE BIT(1)
608 #define SW_PME_ACTIVE_HIGH BIT(0)
610 #define PORT_MAGIC_PACKET_DETECT BIT(2)
611 #define PORT_LINK_UP_DETECT BIT(1)
612 #define PORT_ENERGY_DETECT BIT(0)
636 #define ACL_SRC BIT(1)
637 #define ACL_EQUAL BIT(0)
653 #define ACL_TCP_FLAG_ENABLE BIT(0)
669 #define ACL_VLAN_PRIO_REPLACE BIT(2)
676 #define ACL_MAP_MODE_S 5
683 #define ACL_CNT_M (BIT(11) - 1)
684 #define ACL_CNT_S 5
685 #define ACL_MSEC_UNIT BIT(4)
686 #define ACL_INTR_MODE BIT(3)
709 #define PORT_ACL_WRITE_DONE BIT(6)
710 #define PORT_ACL_READ_DONE BIT(5)
711 #define PORT_ACL_WRITE BIT(4)
716 #define PORT_ACL_FORCE_DLR_MISS BIT(0)
726 #define PHY_START_CABLE_DIAG BIT(15)
733 #define PHY_CABLE_10M_SHORT BIT(12)
740 #define PHY_STAT_REVERSED_POLARITY BIT(5)
741 #define PHY_STAT_MDIX BIT(4)
742 #define PHY_FORCE_LINK BIT(3)
743 #define PHY_POWER_SAVING_ENABLE BIT(2)
744 #define PHY_REMOTE_LOOPBACK BIT(1)
786 * MIB_COUNTER_VALUE 00-00000000-3FFFFFFF
787 * MIB_TOTAL_BYTES 00-0000000F-FFFFFFFF
788 * MIB_PACKET_DROPPED 00-00000000-0000FFFF
789 * MIB_COUNTER_VALID 00-00000020-00000000
790 * MIB_COUNTER_OVERFLOW 00-00000040-00000000
807 #define TAIL_TAG_OVERRIDE BIT(6)
808 #define TAIL_TAG_LOOKUP BIT(7)