Lines Matching +full:0 +full:x8c8
18 #define A5PSW_REVISION 0x0
19 #define A5PSW_PORT_OFFSET(port) (0x400 * (port))
21 #define A5PSW_PORT_ENA 0x8
25 #define A5PSW_UCAST_DEF_MASK 0xC
27 #define A5PSW_VLAN_VERIFY 0x10
28 #define A5PSW_VLAN_VERI_SHIFT 0
31 #define A5PSW_BCAST_DEF_MASK 0x14
32 #define A5PSW_MCAST_DEF_MASK 0x18
34 #define A5PSW_INPUT_LEARN 0x1C
38 #define A5PSW_MGMT_CFG 0x20
41 #define A5PSW_MODE_CFG 0x24
44 #define A5PSW_VLAN_IN_MODE 0x28
46 #define A5PSW_VLAN_IN_MODE_PORT(port) (GENMASK(1, 0) << \
48 #define A5PSW_VLAN_IN_MODE_SINGLE_PASSTHROUGH 0x0
49 #define A5PSW_VLAN_IN_MODE_SINGLE_REPLACE 0x1
50 #define A5PSW_VLAN_IN_MODE_TAG_ALWAYS 0x2
52 #define A5PSW_VLAN_OUT_MODE 0x2C
53 #define A5PSW_VLAN_OUT_MODE_PORT(port) (GENMASK(1, 0) << ((port) * 2))
54 #define A5PSW_VLAN_OUT_MODE_DIS 0x0
55 #define A5PSW_VLAN_OUT_MODE_STRIP 0x1
56 #define A5PSW_VLAN_OUT_MODE_TAG_THROUGH 0x2
57 #define A5PSW_VLAN_OUT_MODE_TRANSPARENT 0x3
59 #define A5PSW_VLAN_IN_MODE_ENA 0x30
60 #define A5PSW_VLAN_TAG_ID 0x34
62 #define A5PSW_SYSTEM_TAGINFO(port) (0x200 + A5PSW_PORT_OFFSET(port))
64 #define A5PSW_AUTH_PORT(port) (0x240 + 4 * (port))
65 #define A5PSW_AUTH_PORT_AUTHORIZED BIT(0)
67 #define A5PSW_VLAN_RES(entry) (0x280 + 4 * (entry))
72 #define A5PSW_VLAN_RES_PORTMASK GENMASK(4, 0)
74 #define A5PSW_RXMATCH_CONFIG(port) (0x3e80 + 4 * (port))
77 #define A5PSW_PATTERN_CTRL(p) (0x3eb0 + 4 * (p))
80 #define A5PSW_LK_CTRL 0x400
81 #define A5PSW_LK_ADDR_CTRL_BLOCKING BIT(0)
87 #define A5PSW_LK_ADDR_CTRL 0x408
95 #define A5PSW_LK_ADDR_CTRL_ADDRESS GENMASK(12, 0)
97 #define A5PSW_LK_DATA_LO 0x40C
98 #define A5PSW_LK_DATA_HI 0x410
102 #define A5PSW_LK_LEARNCOUNT 0x418
103 #define A5PSW_LK_LEARNCOUNT_COUNT GENMASK(13, 0)
105 #define A5PSW_LK_LEARNCOUNT_MODE_SET 0x0
106 #define A5PSW_LK_LEARNCOUNT_MODE_INC 0x1
107 #define A5PSW_LK_LEARNCOUNT_MODE_DEC 0x2
109 #define A5PSW_MGMT_TAG_CFG 0x480
112 #define A5PSW_MGMT_TAG_CFG_ENABLE BIT(0)
114 #define A5PSW_LK_AGETIME 0x41C
115 #define A5PSW_LK_AGETIME_MASK GENMASK(23, 0)
117 #define A5PSW_MDIO_CFG_STATUS 0x700
120 #define A5PSW_MDIO_CFG_STATUS_BUSY BIT(0)
122 #define A5PSW_MDIO_COMMAND 0x704
126 #define A5PSW_MDIO_COMMAND_REG_ADDR GENMASK(4, 0)
128 #define A5PSW_MDIO_DATA 0x708
129 #define A5PSW_MDIO_DATA_MASK GENMASK(15, 0)
131 #define A5PSW_CMD_CFG(port) (0x808 + A5PSW_PORT_OFFSET(port))
140 #define A5PSW_CMD_CFG_TX_ENA BIT(0)
142 #define A5PSW_FRM_LENGTH(port) (0x814 + A5PSW_PORT_OFFSET(port))
143 #define A5PSW_FRM_LENGTH_MASK GENMASK(13, 0)
145 #define A5PSW_STATUS(port) (0x840 + A5PSW_PORT_OFFSET(port))
147 #define A5PSW_STATS_HIWORD 0x900
150 #define A5PSW_aFramesTransmittedOK 0x868
151 #define A5PSW_aFramesReceivedOK 0x86C
152 #define A5PSW_aFrameCheckSequenceErrors 0x870
153 #define A5PSW_aAlignmentErrors 0x874
154 #define A5PSW_aOctetsTransmittedOK 0x878
155 #define A5PSW_aOctetsReceivedOK 0x87C
156 #define A5PSW_aTxPAUSEMACCtrlFrames 0x880
157 #define A5PSW_aRxPAUSEMACCtrlFrames 0x884
159 #define A5PSW_ifInErrors 0x888
160 #define A5PSW_ifOutErrors 0x88C
161 #define A5PSW_ifInUcastPkts 0x890
162 #define A5PSW_ifInMulticastPkts 0x894
163 #define A5PSW_ifInBroadcastPkts 0x898
164 #define A5PSW_ifOutDiscards 0x89C
165 #define A5PSW_ifOutUcastPkts 0x8A0
166 #define A5PSW_ifOutMulticastPkts 0x8A4
167 #define A5PSW_ifOutBroadcastPkts 0x8A8
169 #define A5PSW_etherStatsDropEvents 0x8AC
170 #define A5PSW_etherStatsOctets 0x8B0
171 #define A5PSW_etherStatsPkts 0x8B4
172 #define A5PSW_etherStatsUndersizePkts 0x8B8
173 #define A5PSW_etherStatsOversizePkts 0x8BC
174 #define A5PSW_etherStatsPkts64Octets 0x8C0
175 #define A5PSW_etherStatsPkts65to127Octets 0x8C4
176 #define A5PSW_etherStatsPkts128to255Octets 0x8C8
177 #define A5PSW_etherStatsPkts256to511Octets 0x8CC
178 #define A5PSW_etherStatsPkts512to1023Octets 0x8D0
179 #define A5PSW_etherStatsPkts1024to1518Octets 0x8D4
180 #define A5PSW_etherStatsPkts1519toXOctets 0x8D8
181 #define A5PSW_etherStatsJabbers 0x8DC
182 #define A5PSW_etherStatsFragments 0x8E0
184 #define A5PSW_VLANReceived 0x8E8
185 #define A5PSW_VLANTransmitted 0x8EC
187 #define A5PSW_aDeferred 0x910
188 #define A5PSW_aMultipleCollisions 0x914
189 #define A5PSW_aSingleCollisions 0x918
190 #define A5PSW_aLateCollisions 0x91C
191 #define A5PSW_aExcessiveCollisions 0x920
192 #define A5PSW_aCarrierSenseErrors 0x924
208 #define A5PSW_PATTERN_MGMTFWD 0