Home
last modified time | relevance | path

Searched refs:link_advertising (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.c284 if (efx->link_advertising & ADVERTISED_Pause) in ef4_mdio_an_reconfigure()
286 if (efx->link_advertising & ADVERTISED_Asym_Pause) in ef4_mdio_an_reconfigure()
291 efx->phy_op->set_npage_adv(efx, efx->link_advertising); in ef4_mdio_an_reconfigure()
Dtenxpress.c182 efx->link_advertising = (ADVERTISED_TP | ADVERTISED_Autoneg | in tenxpress_phy_probe()
Dethtool.c701 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam()
713 old_adv = efx->link_advertising; in ef4_ethtool_set_pauseparam()
716 if (efx->link_advertising != old_adv || in ef4_ethtool_set_pauseparam()
Defx.c940 efx->link_advertising = advertising; in ef4_link_set_advertising()
954 if (efx->link_advertising) { in ef4_link_set_wanted_fc()
956 efx->link_advertising |= (ADVERTISED_Pause | in ef4_link_set_wanted_fc()
959 efx->link_advertising &= ~(ADVERTISED_Pause | in ef4_link_set_wanted_fc()
962 efx->link_advertising ^= ADVERTISED_Asym_Pause; in ef4_link_set_wanted_fc()
Dnet_driver.h868 u32 link_advertising; member
/Linux-v4.19/drivers/net/ethernet/sfc/
Dmcdi_port.c452 efx->link_advertising); in efx_mcdi_phy_probe()
522 u32 caps = (efx->link_advertising[0] ? in efx_mcdi_port_reconfigure()
523 ethtool_linkset_to_mcdi_cap(efx->link_advertising) : in efx_mcdi_port_reconfigure()
603 cmd->base.autoneg = !!(efx->link_advertising[0] & ADVERTISED_Autoneg); in efx_mcdi_phy_get_link_ksettings()
609 memcpy(cmd->link_modes.advertising, efx->link_advertising, in efx_mcdi_phy_get_link_ksettings()
733 if (test_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, efx->link_advertising)) in efx_mcdi_phy_set_fecparam()
734 caps = (ethtool_linkset_to_mcdi_cap(efx->link_advertising) | in efx_mcdi_phy_set_fecparam()
Defx.c989 memcpy(efx->link_advertising, advertising, in efx_link_set_advertising()
992 efx->link_advertising[0] |= ADVERTISED_Autoneg; in efx_link_set_advertising()
1006 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_link_clear_advertising()
1013 if (efx->link_advertising[0]) { in efx_link_set_wanted_fc()
1015 efx->link_advertising[0] |= (ADVERTISED_Pause | in efx_link_set_wanted_fc()
1018 efx->link_advertising[0] &= ~(ADVERTISED_Pause | in efx_link_set_wanted_fc()
1021 efx->link_advertising[0] ^= ADVERTISED_Asym_Pause; in efx_link_set_wanted_fc()
Dethtool.c723 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_ethtool_set_pauseparam()
735 old_adv = efx->link_advertising[0]; in efx_ethtool_set_pauseparam()
738 if (efx->link_advertising[0] != old_adv || in efx_ethtool_set_pauseparam()
Dnet_driver.h1044 __ETHTOOL_DECLARE_LINK_MODE_MASK(link_advertising);