Home
last modified time | relevance | path

Searched refs:phylink_test (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/net/phy/
Dsfp-bus.c395 if (phylink_test(link_modes, 25000baseCR_Full) || in sfp_select_interface()
396 phylink_test(link_modes, 25000baseKR_Full) || in sfp_select_interface()
397 phylink_test(link_modes, 25000baseSR_Full)) in sfp_select_interface()
400 if (phylink_test(link_modes, 10000baseCR_Full) || in sfp_select_interface()
401 phylink_test(link_modes, 10000baseSR_Full) || in sfp_select_interface()
402 phylink_test(link_modes, 10000baseLR_Full) || in sfp_select_interface()
403 phylink_test(link_modes, 10000baseLRM_Full) || in sfp_select_interface()
404 phylink_test(link_modes, 10000baseER_Full) || in sfp_select_interface()
405 phylink_test(link_modes, 10000baseT_Full)) in sfp_select_interface()
408 if (phylink_test(link_modes, 5000baseT_Full)) in sfp_select_interface()
[all …]
Dphylink.c389 pl->link_config.an_enabled = phylink_test(pl->supported, Autoneg); in phylink_parse_mode()
1722 if (!phylink_test(pl->supported, Pause) && in phylink_ethtool_set_pauseparam()
1723 !phylink_test(pl->supported, Asym_Pause)) in phylink_ethtool_set_pauseparam()
1726 if (!phylink_test(pl->supported, Asym_Pause) && in phylink_ethtool_set_pauseparam()
2392 phylink_test(state->advertising, 2500baseX_Full) : in phylink_helper_basex_speed()
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c173 conf.autoneg = phylink_test(advertising, Autoneg); in sparx5_pcs_config()
175 if (phylink_test(advertising, Pause)) in sparx5_pcs_config()
177 if (phylink_test(advertising, Asym_Pause)) in sparx5_pcs_config()
180 if (phylink_test(advertising, FIBRE)) in sparx5_pcs_config()
/Linux-v5.15/drivers/net/pcs/
Dpcs-xpcs.c340 if (phylink_test(supported, 1000baseKX_Full)) in xpcs_get_max_usxgmii_speed()
342 if (phylink_test(supported, 2500baseX_Full)) in xpcs_get_max_usxgmii_speed()
344 if (phylink_test(supported, 10000baseKX4_Full)) in xpcs_get_max_usxgmii_speed()
346 if (phylink_test(supported, 10000baseKR_Full)) in xpcs_get_max_usxgmii_speed()
/Linux-v5.15/include/linux/
Dphylink.h484 #define phylink_test(bm, mode) __phylink_do_bit(test_bit, bm, mode) macro
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c569 if (!phylink_test(current_link.supported_caps, Autoneg)) { in qede_set_link_ksettings()
973 if (!phylink_test(current_link.supported_caps, Autoneg)) { in qede_set_pauseparam()
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c6221 if (phylink_test(advertising, Pause)) in mvpp2_gmac_pcs_config()
6223 if (phylink_test(advertising, Asym_Pause)) in mvpp2_gmac_pcs_config()
6284 if (!phylink_test(state->advertising, Autoneg)) in mvpp2_phylink_validate()
/Linux-v5.15/drivers/net/ethernet/marvell/
Dmvneta.c3837 if (!phylink_test(state->advertising, Autoneg)) { in mvneta_validate()
3959 if (phylink_test(state->advertising, Pause)) in mvneta_mac_config()