Lines Matching refs:eth_mode
22 enum ethtool_link_mode_bit_indices eth_mode; member
29 .eth_mode = ETHTOOL_LINK_MODE_10baseT_Half_BIT,
36 .eth_mode = ETHTOOL_LINK_MODE_10baseT_Full_BIT,
43 .eth_mode = ETHTOOL_LINK_MODE_100baseT_Half_BIT,
50 .eth_mode = ETHTOOL_LINK_MODE_100baseT_Full_BIT,
57 .eth_mode = ETHTOOL_LINK_MODE_1000baseT_Half_BIT,
64 .eth_mode = ETHTOOL_LINK_MODE_1000baseT_Full_BIT,
71 .eth_mode = ETHTOOL_LINK_MODE_1000baseX_Full_BIT,
78 .eth_mode = ETHTOOL_LINK_MODE_1000baseKX_Full_BIT,
85 .eth_mode = ETHTOOL_LINK_MODE_2500baseX_Full_BIT,
91 .eth_mode = ETHTOOL_LINK_MODE_10000baseKR_Full_BIT,
98 .eth_mode = ETHTOOL_LINK_MODE_10000baseSR_Full_BIT,
105 .eth_mode = ETHTOOL_LINK_MODE_10000baseLR_Full_BIT,
112 .eth_mode = ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT,
119 .eth_mode = ETHTOOL_LINK_MODE_25000baseCR_Full_BIT,
126 .eth_mode = ETHTOOL_LINK_MODE_25000baseKR_Full_BIT,
133 .eth_mode = ETHTOOL_LINK_MODE_25000baseSR_Full_BIT,
140 .eth_mode = ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT,
147 .eth_mode = ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT,
154 .eth_mode = ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT,
161 .eth_mode = ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT,
168 .eth_mode = ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT,
175 .eth_mode = ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT,
182 .eth_mode = ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT,
189 .eth_mode = ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT,
196 .eth_mode = ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT,
206 enum ethtool_link_mode_bit_indices eth_mode; member
211 .eth_mode = ETHTOOL_LINK_MODE_FEC_NONE_BIT,
216 .eth_mode = ETHTOOL_LINK_MODE_FEC_BASER_BIT,
221 .eth_mode = ETHTOOL_LINK_MODE_FEC_RS_BIT,
227 enum ethtool_link_mode_bit_indices eth_mode; member
231 .eth_mode = __ETHTOOL_LINK_MODE_MASK_NBITS,
235 .eth_mode = ETHTOOL_LINK_MODE_TP_BIT,
239 .eth_mode = ETHTOOL_LINK_MODE_AUI_BIT,
243 .eth_mode = ETHTOOL_LINK_MODE_MII_BIT,
247 .eth_mode = ETHTOOL_LINK_MODE_FIBRE_BIT,
251 .eth_mode = ETHTOOL_LINK_MODE_BNC_BIT,
255 .eth_mode = ETHTOOL_LINK_MODE_TP_BIT,
259 .eth_mode = __ETHTOOL_LINK_MODE_MASK_NBITS,
329 test_bit(port_types[type].eth_mode, in prestera_port_type_set()
372 __set_bit(port_link_modes[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
379 __set_bit(port_fec_caps[mode].eth_mode, eth_modes); in prestera_modes_to_eth()
391 if (!test_bit(port_link_modes[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()
401 if (!test_bit(port_fec_caps[mode].eth_mode, eth_modes)) in prestera_modes_from_eth()
423 __set_bit(port_types[ptype].eth_mode, in prestera_port_supp_types_get()