Lines Matching refs:HAS_MODE
251 #define HAS_MODE(mode) \ in fun_advert_modes() macro
254 if (HAS_MODE(1000baseX_Full)) in fun_advert_modes()
256 if (HAS_MODE(10000baseCR_Full) || HAS_MODE(10000baseSR_Full) || in fun_advert_modes()
257 HAS_MODE(10000baseLR_Full) || HAS_MODE(10000baseER_Full)) in fun_advert_modes()
259 if (HAS_MODE(25000baseCR_Full) || HAS_MODE(25000baseSR_Full)) in fun_advert_modes()
261 if (HAS_MODE(40000baseCR4_Full) || HAS_MODE(40000baseSR4_Full) || in fun_advert_modes()
262 HAS_MODE(40000baseLR4_Full)) in fun_advert_modes()
264 if (HAS_MODE(50000baseCR2_Full) || HAS_MODE(50000baseSR2_Full)) in fun_advert_modes()
266 if (HAS_MODE(50000baseCR_Full) || HAS_MODE(50000baseSR_Full) || in fun_advert_modes()
267 HAS_MODE(50000baseLR_ER_FR_Full)) in fun_advert_modes()
269 if (HAS_MODE(100000baseCR4_Full) || HAS_MODE(100000baseSR4_Full) || in fun_advert_modes()
270 HAS_MODE(100000baseLR4_ER4_Full)) in fun_advert_modes()
272 if (HAS_MODE(100000baseCR2_Full) || HAS_MODE(100000baseSR2_Full) || in fun_advert_modes()
273 HAS_MODE(100000baseLR2_ER2_FR2_Full)) in fun_advert_modes()
277 #undef HAS_MODE in fun_advert_modes()