Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/phy/
H A Dsfp-bus.c360 if (phylink_test(link_modes, 25000baseCR_Full) || in sfp_select_interface()
361 phylink_test(link_modes, 25000baseKR_Full) || in sfp_select_interface()
362 phylink_test(link_modes, 25000baseSR_Full)) in sfp_select_interface()
365 if (phylink_test(link_modes, 10000baseCR_Full) || in sfp_select_interface()
366 phylink_test(link_modes, 10000baseSR_Full) || in sfp_select_interface()
367 phylink_test(link_modes, 10000baseLR_Full) || in sfp_select_interface()
368 phylink_test(link_modes, 10000baseLRM_Full) || in sfp_select_interface()
369 phylink_test(link_modes, 10000baseER_Full) || in sfp_select_interface()
370 phylink_test(link_modes, 10000baseT_Full)) in sfp_select_interface()
373 if (phylink_test(link_modes, 5000baseT_Full)) in sfp_select_interface()
[all …]
H A Dphylink.c827 pause = phylink_test(pl->supported, Pause); in phylink_parse_fixedlink()
828 asym_pause = phylink_test(pl->supported, Asym_Pause); in phylink_parse_fixedlink()
829 autoneg = phylink_test(pl->supported, Autoneg); in phylink_parse_fixedlink()
2583 if (!phylink_test(pl->supported, Pause) && in phylink_ethtool_set_pauseparam()
2584 !phylink_test(pl->supported, Asym_Pause)) in phylink_ethtool_set_pauseparam()
2587 if (!phylink_test(pl->supported, Asym_Pause) && in phylink_ethtool_set_pauseparam()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c110 if (phylink_test(advertising, Pause)) in sparx5_pcs_config()
112 if (phylink_test(advertising, Asym_Pause)) in sparx5_pcs_config()
115 if (phylink_test(advertising, FIBRE)) in sparx5_pcs_config()
/openbmc/linux/include/linux/
H A Dphylink.h700 #define phylink_test(bm, mode) __phylink_do_bit(test_bit, bm, mode) macro
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c585 if (!phylink_test(current_link.supported_caps, Autoneg)) { in qede_set_link_ksettings()
1007 if (!phylink_test(current_link.supported_caps, Autoneg)) { in qede_set_pauseparam()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6226 !phylink_test(state->advertising, Autoneg)) in mvpp2_gmac_pcs_validate()
6305 if (phylink_test(advertising, Pause)) in mvpp2_gmac_pcs_config()
6307 if (phylink_test(advertising, Asym_Pause)) in mvpp2_gmac_pcs_config()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c3972 !phylink_test(state->advertising, Autoneg)) in mvneta_pcs_validate()
4043 if (phylink_test(advertising, Pause)) in mvneta_pcs_config()