Lines Matching +full:mac +full:- +full:mode

1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
45 #define ENET_NUM_OCTETS_PER_ADDRESS 6 /**< Number of octets (8-bit bytes) in an ethernet addres…
65 @Description Ethernet MAC-PHY Interface
83 auto-negotiation between MAC and phy
85 Note: 1000BaseX auto-negotiation relates
86 only to interface between MAC and phy/backplane,
87 SGMII phy can still synchronize with far-end phy
91 @Description Ethernet Duplex Mode
95 e_ENET_HALF_DUPLEX, /**< Half-Duplex mode */
96 e_ENET_FULL_DUPLEX /**< Full-Duplex mode */
112 @Description Ethernet mode (combination of MAC-PHY interface and speed)
116 …ET_MODE_INVALID = 0, /**< Invalid Ethernet mode */
130 /**< 10 Mbps SGMII with auto-negotiation between MAC and
133 /**< 100 Mbps SGMII with auto-negotiation between MAC and
136 /**< 1000 Mbps SGMII with auto-negotiation between MAC and
140 /**< 10 Mbps SGMII with 1000BaseX auto-negotiation between
141 MAC and SGMII phy or backplane */
143 /**< 100 Mbps SGMII with 1000BaseX auto-negotiation between
144 MAC and SGMII phy or backplane */
146 /**< 1000 Mbps SGMII with 1000BaseX auto-negotiation between
147 MAC and SGMII phy or backplane */
149 /**< 1000 Mbps QSGMII with auto-negotiation between MAC and
152 … /**< 1000 Mbps QSGMII with 1000BaseX auto-negotiation between
153 MAC and QSGMII phy or backplane */
159 #define IS_ENET_MODE_VALID(mode) \ argument
160 (((mode) == e_ENET_MODE_MII_10 ) || \
161 ((mode) == e_ENET_MODE_MII_100 ) || \
162 ((mode) == e_ENET_MODE_RMII_10 ) || \
163 ((mode) == e_ENET_MODE_RMII_100 ) || \
164 ((mode) == e_ENET_MODE_SMII_10 ) || \
165 ((mode) == e_ENET_MODE_SMII_100 ) || \
166 ((mode) == e_ENET_MODE_GMII_1000 ) || \
167 ((mode) == e_ENET_MODE_RGMII_10 ) || \
168 ((mode) == e_ENET_MODE_RGMII_100 ) || \
169 ((mode) == e_ENET_MODE_RGMII_1000 ) || \
170 ((mode) == e_ENET_MODE_TBI_1000 ) || \
171 ((mode) == e_ENET_MODE_RTBI_1000 ) || \
172 ((mode) == e_ENET_MODE_SGMII_10 ) || \
173 ((mode) == e_ENET_MODE_SGMII_100 ) || \
174 ((mode) == e_ENET_MODE_SGMII_1000 ) || \
175 ((mode) == e_ENET_MODE_SGMII_BASEX_10 ) || \
176 ((mode) == e_ENET_MODE_SGMII_BASEX_100 ) || \
177 ((mode) == e_ENET_MODE_SGMII_BASEX_1000 ) || \
178 ((mode) == e_ENET_MODE_XGMII_10000) || \
179 ((mode) == e_ENET_MODE_QSGMII_1000) || \
180 ((mode) == e_ENET_MODE_QSGMII_BASEX_1000) || \
181 ((mode) == e_ENET_MODE_XFI_10000))
186 #define ENET_INTERFACE_FROM_MODE(mode) (e_EnetInterface)((mode) & 0x0FFF0000) argument
187 #define ENET_SPEED_FROM_MODE(mode) (e_EnetSpeed)((mode) & 0x0000FFFF) argument
201 (_enetAddr)[i] = (uint8_t)((_addr64) >> ((5-i)*8)); \